Bug 690087 - ripd fails to start
Summary: ripd fails to start
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: quagga
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Skala
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-23 10:34 UTC by Richard W.M. Jones
Modified: 2014-11-09 22:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-31 07:45:42 UTC
Type: ---


Attachments (Terms of Use)

Description Richard W.M. Jones 2011-03-23 10:34:22 UTC
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.

Comment 1 Jiri Skala 2011-03-23 12:32:50 UTC
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.

Comment 2 Richard W.M. Jones 2011-03-25 22:06:37 UTC
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.

Comment 3 Richard W.M. Jones 2011-03-25 22:07:05 UTC
(In reply to comment #2)
> It seems like it is created
> by ripd.

I mean created by *systemd*.

Comment 4 Jiri Skala 2011-03-31 06:56:00 UTC
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?

Comment 5 Richard W.M. Jones 2011-03-31 07:45:42 UTC
OK thanks, let's close this.


Note You need to log in before you can comment on or make changes to this bug.