Petter Reinholdtsen wrote:
> [Michael Biebl]

> 
> To survive sendsigs, it need to add its pid to the list of pids to
> survive sendsigs, and to start just before umountfs, it should
> probably have stop dependency on $local_fs.  But I suspect it should
> have stop dependency on umountnfs, to make sure it stops before /usr/
> is umounted if /usr/ is on NFS.

Hi Petter,

I've changed the rsylog header (added the X-Stop-* entries) to
# Provides:          syslog
# Required-Start:    $remote_fs $time
# Required-Stop:     $remote_fs $time
# Should-Start:      $network
# Should-Stop:       $network
# X-Stop-After:      sendsigs
# X-Stop-Before:     umountnfs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6

As I want rsyslog to be stopped after sendsigs and before umountnfs.

Unfortunately, this doesn't work:

# update-rc.d rsyslog defaults
insserv: There is a loop between service sendsigs and syslog if stopped
insserv:  loop involving service syslog at depth 3
insserv:  loop involving service sendsigs at depth 2
insserv:  loop involving service avahi at depth 1
insserv:  loop involving service umountnfs at depth 5
insserv: exiting without changing boot order


Petter, could you please give me further advice on this.

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