Hello,

On Sun, 03 Mar 2013 20:32:27 +0100
Michael Biebl <[email protected]> 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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-utopia-maintainers

Reply via email to