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

Andrew Shadura bugzilla at tut.by
Sun Mar 3 19:35:25 UTC 2013


Hello,

On Sun, 03 Mar 2013 20:32:27 +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.

I can't as it's generated by debootstrap. Maybe it makes sense to add
this as an option to debootstrap, or to do this automatically?

-- 
WBR, Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20130303/22d4dd33/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list