[buildd-tools-devel] Bug#557730: Bug#557730: /etc/{protocols, network, services} not schroot's to scribble over

Roger Leigh rleigh at codelibre.net
Tue Nov 24 01:09:27 UTC 2009


On Mon, Nov 23, 2009 at 07:19:46PM -0500, Evan Broder wrote:
> /etc/schroot/setup.d/20nssdatabases unconditionally copies the
> databases listed in /etc/schroot/nssdatabases-defaults into the
> chroot. However, /etc/protocols, /etc/network, and /etc/services are
> all owned by netbase, which isn't installed in build chroots.

OK.  I would suggest removing these from nssdatabases-defaults for
the time being if this is causing problems, as a workaround.

> This means that if a package build-deps on netbase, dpkg will present
> a conffile conflict for those three files, which is highly undesirable
> in a non-interactive builder.

I wonder if (for buildd chroots) we should be running dpkg with
--force-confnew to unconditionally force replacement with new
conffiles?  If this is configurable via APT such as
Dpkg::Options::force=--force-confnew then maybe we should be
setting this by default (this applies more generally than just
this specific case).

We could remove these files from nssdatabases-defaults to avoid
this issue.  However, the idea is that all the NSS databases
are "slaved" to the host and automated updating is wanted in
almost all cases.

We were considering creating a separate set of buildd defaults,
which would still allow the current default behaviour on non-
buildd systems, while allowing the defaults to be restricted
on buildd setups.

Does anyone else have any further comments?


Thanks for reporting this!


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20091124/227cf7d8/attachment.pgp>


More information about the Buildd-tools-devel mailing list