[Pkg-sysvinit-devel] Bug#710747: Bug#710747: sysvinit startup dependencies when using network-manager

Steve Langasek vorlon at debian.org
Tue Jul 16 21:17:57 UTC 2013


On Tue, Jul 16, 2013 at 08:29:44PM +0100, Roger Leigh wrote:
> On Tue, Jul 16, 2013 at 11:33:37AM +0200, Daniel Baumann wrote:
> > I don't see what could be done in tftp-hpa to address the issue, it
> > declares the network depends in the lsb header of the sysvinit script;
> > if sysvint then doesn't do the right thing (anymore) when NM is
> > installed, then this is either a bug in NM or in sysvinit, reassigning
> > to sysvinit.

> Does

>   echo '$network network-manager' > /etc/insserv.conf.d/network-manager
>   insserv

> fix things; or alternatively

>   edit /etc/insserv.conf to read
>     $network        +networking +ifupdown +network-manager
>   run insserv

No, because this only determines that the network-manager daemon is started
before those services that require a network; it says nothing about the
network connection being brought up.

> This is the most obvious defect I can see.  It's kind of a major one
> though--I'm very surprised that such a fundamental defect wouldn't
> have been picked up sooner.

It's a well-known issue to anyone trying to run network services on a
machine that uses network-manager.

However, in this *particular* case, the error is:

> in.tftpd[3590]: cannot resolve local IPv4 bind address: 0.0.0.0, Name or
> service not known

So it's not as if we need a public network interface to be online; this
should work as soon as the loopback interface is up, which is already
guaranteed by the dep on $network.  If that's not working, this seems to be
a problem somewhere in the resolver config or in in.tftpd's handling of
numeric addresses (why does it try to resolve this address before binding to
it?)

So I don't think this is a general bug with NetworkManager at all, I think
it's a bug with tftpd mishandling numeric addresses that prevents it from
starting up in the absence of working DNS.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20130716/70b0beb2/attachment.sig>


More information about the Pkg-sysvinit-devel mailing list