Applied, thanks Javier. It will be in the next release.
-Joe
On Fri, 6 May 2005 at 11:53pm +0200, Javier Fernández-Sanguino Peña wrote:
Package: sysv-rc-conf Version: 0.98-3 Priority: normal Tags: patch
Average joe user:
$ sysv-rc-conf --list Can't open /var/lib/sysv-rc-conf/services for rw access : Permission denied at /usr/sbin/sysv-rc-conf line 457.
Why is rw access to that required just to list the active services? I don't believe it makes sense to update the cache when the user just wants to list services. The attached patch fixes this by conditioning the cache update to the presence of the --list option.
Regards
Javier