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 `-
signature.asc
Description: PGP signature

