[Michael Biebl]
> As I want rsyslog to be stopped after sendsigs and before umountnfs.
> 
> Unfortunately, this doesn't work:

Yes.  I see several problems with your proposed header.  The header
X-Stop-Before do not exist.  It is called Should-Stop or Required-Stop
instead.  Next, the $remote_fs virtual facility includes sendsigs,
this making the X-Stop-After + Required-Start header generate a loop.
Also, it should not provide the 'syslog' facility, it should provide
'rsyslog' and modify the virtual facility $syslog if the content in
/etc/insserv.conf is not ok.  This is to avoid problems with duplicate
provides.  Also, I suspect the $network dependency is redundant, as
both $remote_fs and umountnfs depend on $network.  Does this work:

> # Provides:          rsyslog
> # Required-Start:    $remote_fs $time
> # Required-Stop:     umountnfs $time
> # X-Stop-After:      sendsigs
> # Default-Start:     2 3 4 5
> # Default-Stop:      0 1 6

I have not had time to test it, though.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to