[buildd-tools-devel] Bug#606143: netbase: Installation in build chroot breaks package builds
Julian Andres Klode
jak at debian.org
Mon Dec 6 19:21:05 UTC 2010
reopen 606143
reassign 606143 schroot
thanks
On Mo, 2010-12-06 at 20:07 +0100, Julien Cristau wrote:
> On Mon, Dec 6, 2010 at 19:58:30 +0100, Julian Andres Klode wrote:
>
> > Package: netbase
> > Version: 4.43
> > Severity: critical
> >
> > I don't really know what happens, but installing netbase
> > in a chroot freshly created by cdebootstrap or into an
> > old one in use for multiple months results in:
> >
> > Configuration file `/etc/services'
> > ==> File on system created by you or by a script.
> > ==> File also in package provided by package maintainer.
> > What would you like to do about it ? Your options are:
> > Y or I : install the package maintainer's version
> > N or O : keep your currently-installed version
> > D : show the differences between the versions
> > Z : start a shell to examine the situation
> > The default action is to keep your current version.
> > *** services (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing netbase (--configure):
> > EOF on stdin at conffile prompt
> >
> > I'm attaching the complete log of the failed build.
> >
> tell schroot to not mess with the chroot's /etc/services.
Reassigning the bug:
$ sudo chroot /srv/chroot/sid ls -l /etc/services
ls: cannot access /etc/services: No such file or directory
$ schroot -c sid -- ls -l /etc/services
-rw-r--r-- 1 root root 17430 Dec 6 19:17 /etc/services
$ sudo chroot /srv/chroot/sid ls -l /etc/services
ls: cannot access /etc/services: No such file or directory
Worst thing after using -source:
$ sudo chroot /srv/chroot/sid ls -l /etc/services
ls: cannot access /etc/services: No such file or directory
$ schroot -c sid-source -- ls -l /etc/services
-rw-r--r-- 1 root root 17430 Dec 6 19:19 /etc/services
$ sudo chroot /srv/chroot/sid ls -l /etc/services
-rw-r--r-- 1 root root 17430 Dec 6 19:19 /etc/services
This behaviour is not acceptable. It causes build failures.
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20101206/8b4a41b9/attachment.pgp>
More information about the Buildd-tools-devel
mailing list