Bug#754218: boot hangs forever on LSB job "raise network interfaces"

Michael Biebl biebl at debian.org
Wed Jul 9 00:39:07 BST 2014


Am 09.07.2014 01:28, schrieb Michael Biebl:

> Running within the context of an if-up.d hook you make an explicit
> assumption that $network is already provided, which is probably reasonable.
> 
> Strictly speaking though, the LSB $network facility is defined in
> /etc/insserv.conf when the networking (or the old ifupdown) SysV init
> script has been fully started, which is not the case during the inital
> start of that script.
> 
> I'm not sure how to address this. Either the hooks are fixed to not make
> this assumption, or the "bring network up" phase proving $network and
> "run if-up.d hooks" are split into two different SysV init scripts.
> 
> The latter is probably not feasable.

And it doesn't address the issue that the service which is (re)started
from the hook has other dependencies.

Say the shorewall service has other dependencies like e.g. mysql,
because it stores its rules there (yeah, I made that up :-) ). If you
now restart shorewall from the if-up.d hook it will be started during
rcS (i.e. early boot) completely disregarding the dependency on mysql.




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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140709/2a509319/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list