On Mo, 2010-12-06 at 20:21 +0100, Julian Andres Klode wrote: > 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. >
Reason ====== $ md5sum /etc/services /srv/chroot/sid/etc/services 40cb541e1c5419af213cd4fd78487487 /etc/services cdd36c264083b124f2bb48415f3acab1 /srv/chroot/sid/etc/services => file from netbase&host not equal to the one in chroot Explanation ----------- <jcristau> ah right <jcristau> because schroot iterates around getservent, it doesn't just copy the file Solution ======== Copy the files instead? -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

