Package: sysv-rc
Version: 2.86.ds1-61
Scenario: I want to update Debian within a chroot environment.
To make sure that no runlevel scripts are started I install a
policy-rc.d file in /usr/sbin saying
#!/bin/sh
exit 101
Problem: During the update I get several warnings saying
invoke-rc.d: ----------------------------------------------------
invoke-rc.d: WARNING: invoke-rc.d called during shutdown sequence
invoke-rc.d: enabling safe mode: initscript policy layer disabled
invoke-rc.d: ----------------------------------------------------
(e.g. for cron).
Of course there is no shutdown sequence going on. /var/run/utmp
and others (maybe some forgoten *.pid files, or whatever) in the
chroot are in an undefined state, so the init scripts should not
be run. Thats the reason _why_ I have put policy-rc.d into place.
And surely I do not want another cron daemon running in a foreign
environment keeping the chroot busy.
I think that policy-rc.d should get a higher priority here.
Regards
Harri
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]