Comments (5)
Hello @BuonHobo,
We're familiar with the issue you mentioned, as it has been addressed here.
Notably, that issue refers to the older /etc/init.d method to initiate services.
Since Kathará now utilizes systemctl, could you verify if the proposed solution is effective in your situation? Simply prepend su
before running the service, like this: su systemctl start frr
.
from kathara.
Thank you for your help.
Running su systemctl start frr
gave this output:
root@r3:/# su systemctl start frr
su: user systemctl does not exist or the user entry does not contain all the required fields
But this command seems to work as expected:
root@r5:/# su -c "systemctl start frr"
root@r5:/# systemctl status frr
frr.service - FRRouting
Loaded: loaded (/usr/lib/systemd/system/frr.service, enabled)
Active: active (running)
Thank you again for your support!
Is there anything I can do to help you find a solution?
from kathara.
We already tried to find a solution without any luck.
If you find the real cause of this issue we would be happy to fix it.
In the meantime, I'll write your solution even under the original issue so that if someone have the same problem he could learn the workaround.
We'll keep this issue open until the problem will be fixed.
Thanks for the support :)
from kathara.
I tried digging around but I haven't found a reason why this happens.
However, there's a simple way to include the workaround in kathara so that users don't have to know about it and can follow the lectures without issues.
It's pretty simple, it only requires adding a file named /etc/systemd/system/frr.service.d/workaround.conf
in the kathara image. I tested the fix by adding this file inside each machine in the lab folder.
This is the file's content:
[Service]
ExecStart=
ExecStop=
ExecReload=
ExecStart=/usr/bin/su -c "/usr/lib/frr/frrinit.sh start"
ExecStop=/usr/bin/su -c "/usr/lib/frr/frrinit.sh stop"
ExecReload=/usr/bin/su -c "/usr/lib/frr/frrinit.sh reload"
This will override the default frr systemd unit so that it wraps the command with su
. This solution is still a workaround, but it is easy to revert and it makes my machine work as intended.
from kathara.
Hi @BuonHobo,
Many thanks for the help! We really appreciate it, and we will include your workaround in the next release of the kathara/frr
image.
I'm closing this issue, since I opened a new one (KatharaFramework/Docker-Images#10) in the Docker images repository. We can continue the discussion there.
Many thanks for the help and support 🚀
from kathara.
Related Issues (20)
- Fix `get_images` method in `DockerHubApi` to handle new Docker Hub API format
- Add support to Debian 12 HOT 2
- Warning: Pox supports only versions of Python: 3.6, 3.7, 3.8, 3.9 HOT 2
- lconfig command not checking if machine exists
- Add `lab` parameter to all `Manager` methods
- Wait `.shutdown` commands
- Add lab hash to Docker networks names
- Add `copy_directory_from_path` method to FilesystemMixin
- Kubernetes startup watch may never terminate if there is a Pod error
- Allow space in `sysctl` and `env` metas
- Add the possibility to specify a custom name for network scenario configuration file from the Python API
- Add `gnome-terminal` as terminal emulator
- "RTNETLINK answers: Operation not supported" when running traffic-control labs in MacOS HOT 4
- `tc` does not work on Windows hosts (WSL 2) HOT 1
- Use `rich` to render progress bars and add UI progress for Docker image pull
- Enable using `amd64` images on macOS using Rosetta
- UI Improvements using `rich`
- Multipath support not enabled in WSL
- API Improvements
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kathara.