[buildd-tools-devel] Bug#606143: Bug#606143: netbase: Installation in build chroot breaks package builds
Julien Cristau
jcristau at debian.org
Tue Dec 7 12:28:28 UTC 2010
On Tue, Dec 7, 2010 at 12:17:03 +0000, Roger Leigh wrote:
> On Tue, Dec 07, 2010 at 01:01:46PM +0100, Julien Cristau wrote:
> > On Tue, Dec 7, 2010 at 11:52:56 +0000, Roger Leigh wrote:
> >
> > > The examples above show schroot creating the NSS services
> > > database file whenever run. This the intended default
> > > behaviour (networking is broken without it, and you also
> > > generally want all the NSS databases inside the chroot to
> > > match those on the outside).
> > >
> > I think that's a broken default, at least for services and protocols.
> > It's easy enough to install netbase in the chroot if needed, and very
> > unlikely that those files have local modifications. (Which incidentally
> > is also why they're conffiles, unlike passwd, shadow, group, hosts and
> > networks.)
>
> This is part of the problem. They shouldn't be conffiles, and
> they should be installed in exactly the same way as all of the
> other NSS database files (in base-files). They are required for
base-files doesn't seem to have anything to do with those. I guess you
meant base-passwd. Which only seems to care about passwd and group.
shadow is (I think) created by passwd, and hosts and networks by
netbase.
> the correct functioning of the glibc getproto* and getserv*
> functions, and they shouldn't require netbase to be present to
> function correctly.
>
I don't think that follows.
Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20101207/30c779b5/attachment.pgp>
More information about the Buildd-tools-devel
mailing list