Petter Reinholdtsen wrote:
> [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

Ah, ok, my mistake.

> 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

Hm, that was probably a copy-n-paste error, the syslog-ng header also has a
Provides: syslog (and so does inetutils-syslogd). dsyslog has Provides: syslogd.

I guess this should be fixed in all packages then.

> 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
> 

It seems to do the trick, thanks!


Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to