[Pkg-utopia-maintainers] Bug#702176: Bug#702176: Bug#702176: network-manager: installing into chroot interrupts connectivity

Michael Biebl biebl at debian.org
Sun Mar 3 19:32:27 UTC 2013


On 03.03.2013 20:26, Andrew Shadura wrote:
> Hello,
> 
> On Sun, 03 Mar 2013 16:16:32 +0100
> Michael Biebl <biebl at debian.org> wrote:
> 
>>> While installing into chroot, NetworkManager starts, which results
>>> in the machine being disconnected from the network. Please detect
>>> chroot and don't start NM.
> 
>> I don't plan to do that. Please use policy-rc.d for such a use case.
> 
> Why? If I debootstrap system, I most certainly don't need a chrooted
> Debian to control my network interfaces unless I explicitly say so.
> That'd be logical to *not* start NM or whatever else which can disrupt
> my networking. Or at least if it's finally started, my interface should
> never go down.

It doesn't make sense to add chroot detection logic to every init script
/ maintainer script when you can simply use

echo -e '#!/bin/sh\nreturn 101' > /usr/sbin/policy-rc.d
chmod +x /usr/sbin/policy-rc.d

in you chroot.

-- 
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: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20130303/52c7bcc0/attachment-0001.pgp>


More information about the Pkg-utopia-maintainers mailing list