Bug#806386: pbuilder: No more updates /etc/resolv.conf inside the chroot, hence no more DNS inside chroot after network change
Mattia Rizzolo
mattia at mapreri.org
Sun Nov 29 00:29:38 UTC 2015
On Fri, Nov 27, 2015 at 01:41:42AM +0000, Thorsten Glaser wrote:
> That means, resolv.conf may be empty,
> the Solaris/GNU nsswitch must use files, may skip dns, but
> /etc/hosts in the chroot probably needs two lines:
>
> 127.0.0.1 localhost $(hostname -f) $(hostname -s)
> ::1 localhost $(hostname -f) $(hostname -s)
currently /etc/hosts is one of the files copied from the host at every
invocation.
Do you think we should mangle or otherwise forge it instead?
IMHO just emptying /etc/resolv.conf is enough here, isn't it?
> Unfortunately, the intrinsics of several of the Solaris/GNU
> things we don’t use in the BSD world (nsswitch, PAM, etc.)
> are beyond the set of skills I’m good at, so I cannot give
> definite advice. Best to ask others in addition.
I don't think this is making that situation worse, so I'm not
insterested in it ATM; of course I'm happy to hear improvments for
these.
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: http://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20151129/74a24c1d/attachment.sig>
More information about the Pbuilder-maint
mailing list