-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't start frr.service #248
Comments
Hello @BuonHobo, We're familiar with the issue you mentioned, as it has been addressed here. |
Thank you for your help. Running 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! |
We already tried to find a solution without any luck. Thanks for the support :) |
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 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 |
Hi @BuonHobo, Many thanks for the help! We really appreciate it, and we will include your workaround in the next release of the 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 🚀 |
Operating System
Arch Linux
Kathará Version
3.7.0
Bug Description
I tried to use this lab which includes an frr configuration for rip.
I start the machines and when I try to run
systemctl start frr.service
inside any of them it just hangs for a couple of minutes and then it stops without actually starting ripd.I checked
/usr/lib/systemd/system/frr.service
and apparently it's trying to run/usr/lib/frr/frrinit.sh start
.I tried to run it manually and this was the output:
I checked the available memory using
free -m
and it shows that I have 10+ GB of available memory.This is not working on both my Arch Linux computers, I tried on both linux 6.5.8 and linux-lts 6.1.59.
Docker should be configured correctly on my machine, since
kathara check
works and my user is in thedocker
group.This is also not working on my friend's laptop, which is running Fedora.
My previous lab experience with static routing worked flawlessly.
I still need to try this on Windows, but I expect it will work, since it worked for my classmates.
Steps To Reproduce
\
Expected Behavior
\
Check Command Output
The text was updated successfully, but these errors were encountered: