On Wed, 09 Jan 2008 07:22:59 +0900, John Summerfield wrote:
Michael Schwendt wrote:
> And, of course, it would be much more of an assumption to guess that
> "service ... status" does not need superuser privileges to read pid/lock
> files (and to do stuff beyond that).
Easy to test:
[summer@potoroo boot]$ service httpd status
httpd (pid 22610 22609 22608 22607 22606 22605 22604 22603 22601) is
running...
[summer@potoroo boot]$
Weak assumption. Try: /sbin/service --status-all
There are quite some "permission denied" errors in the output. And
when dealing with bugs and unexpected behaviour I simply don't want
to guess what side-effects they may be.