Hide Forgot
Description of problem: ripd daemon cannot start at boot, or later if started manually. The error message is eaten, but I was able to extract it by stracing the process. It is: ripd[5381]: Can't create pid lock file /var/run/quagga/ripd.pid (Permission denied), exiting Version-Release number of selected component (if applicable): quagga-0.99.17-5.fc15.x86_64 How reproducible: Always after boot. Steps to Reproduce: 1. service ripd start 2. 3. Actual results: Fails to start. Expected results: Should start. Additional info: I can allow ripd to start by setting 0777 permissions on /var/log/quagga. Even then an additional and different problem is that systemd is unable to start ripd - I have to start it by typing in the ripd command line.
I've modified owner:group (quagga:quagga) of /var/run/quagga directory. This has fixed the issue for me. This change can be used manually as a workaround.
I reopened this because in Fedora 15, /var/run directory appears to be non-permanent. It seems like it is created by ripd. I did your manual workaround, but after reboot /var/run/quagga had disappeared again completely. I had to recreate the directory and chown it before zebra+ripd would start up.
(In reply to comment #2) > It seems like it is created > by ripd. I mean created by *systemd*.
The quagga package locates /var/run/quagga in a tmpfs filesystem (/var/run) therefore the directory is really non-permanent. I'm sorry I've mystified you with the changing owner+group. The right correction is to make manually /etc/tmpfiles.d/quagga.conf with the content: d /var/run/quagga 0755 quagga guagga But the corrected version should be currently available in rawhide repository (this bug is filed against rawhide). There is still typo error in mentioned conf file in F15 that I'm going to fix now. Well, do you see still another reason to let this bug opened?
OK thanks, let's close this.