rc-status report dhcdbd service as [ started ] when run as root, but report it as [ crashed ] when run as normal user. This may be related to the pid file created by dhcdbd, it looks strange. l /var/run/dhcdbd.pid --wS--S--T 1 root root 5 2008-04-17 05:01 /var/run/dhcdbd.pid Reproducible: Always Steps to Reproduce: 1. run rc-status as normal user. 2. 3. Actual Results: Runlevel: default syslog-ng [ started ] gpm [ started ] hdparm [ started ] dbus [ started ] consolekit [ started ] hald [ started ] xdm [ started ] fuse [ started ] ntpd [ started ] sshd [ started ] fcron [ started ] dhcdbd [ crashed ] NetworkManager [ started ] postfix [ started ] local [ started ] Runlevel: UNASSIGNED Expected Results: Runlevel: default syslog-ng [ started ] gpm [ started ] hdparm [ started ] dbus [ started ] consolekit [ started ] hald [ started ] xdm [ started ] fuse [ started ] ntpd [ started ] sshd [ started ] fcron [ started ] dhcdbd [ started ] NetworkManager [ started ] postfix [ started ] local [ started ] Runlevel: UNASSIGNED
This goes back to what we were talking about last week Roy. We basically need to say "hey permissions weren't available to get this info accurately"
(In reply to comment #1) > This goes back to what we were talking about last week Roy. We basically need > to say "hey permissions weren't available to get this info accurately" > I suppose we could tag a message at the end of rc-status saying "Some services are reported as crashed, but as you're not the root user we may not have full permission to check" or some such. BTW, if you talk to me, add me to the CC list :P
Created attachment 150489 [details, diff] Don't report crashed when we don't have permission to read the pidfile This should fix things
(In reply to comment #3) > Created an attachment (id=150489) [edit] > Don't report crashed when we don't have permission to read the pidfile > > This should fix things > Yes, it works.
*** Bug 215940 has been marked as a duplicate of this bug. ***
This can be closed now. It is fixed in openrc-0.2.3.