[Buildd-tools-devel] Upgrades in the host system?

Cyril Brulebois cyril.brulebois at kerlabs.com
Mon Mar 16 16:02:24 UTC 2009


Hi,

it's been pointed to me (thanks Stephane, Cc'd) that sbuild-createchroot
happens to trigger upgrades in the *host* system, which I've just
reproduced.

As of now, I had:
$ ls /etc/schroot/chroot.d 
sid-amd64-sbuild  (and newly: sid-amd64-sbuild.RYeRuG)  sid-i386-sbuild

and I was adding:
$ sudo sbuild-createchroot sid /home/cyril/opt/sid-test http://debian.kerlabs.com/debian

Instead of ending up as “before” (some weeks ago), after displaying the
info written to the temporary chroot config file, it went on updating
the APT indices, then upgrading, resulting in an upgrade of the host
system:
| I: Base system installed successfully.
| I: Configured /etc/hosts:
|    ┌────────────────────────────────────────────────────────────────────────
|    │127.0.0.1 talisker.kerlabs.com localhost
|    └────────────────────────────────────────────────────────────────────────
| I: Configured APT /etc/apt/sources.list:
|    ┌────────────────────────────────────────────────────────────────────────
|    │deb http://debian.kerlabs.com/debian sid main
|    │deb-src http://debian.kerlabs.com/debian sid main
|    └────────────────────────────────────────────────────────────────────────
| I: Please add any additional APT sources to /home/cyril/opt/sid-test/etc/apt/sources.list
| I: schroot chroot configuration written to /etc/schroot/chroot.d/sid-amd64-sbuild.RYeRuG.
|    ┌────────────────────────────────────────────────────────────────────────
|    │[sid-amd64-sbuild]
|    │type=directory
|    │description=Debian sid/amd64 autobuilder
|    │location=/home/cyril/opt/sid-test
|    │priority=3
|    │groups=root,sbuild
|    │root-groups=root,sbuild
|    │run-setup-scripts=true
|    │run-exec-scripts=true
|    └────────────────────────────────────────────────────────────────────────
| I: Please rename and modify this file as required.
| mkdir /etc/sbuild/chroot
| E: Can't remove /etc/sbuild/chroot/sid-amd64-sbuild: not a symbolic link
| I: sudo chroot configuration linked as /etc/sbuild/chroot/sid-amd64-sbuild.
| I: Creating build directory: /build
| mkdir /home/cyril/opt/sid-test/build
| I: Creating sbuild directory: /var/lib/sbuild
| mkdir /home/cyril/opt/sid-test/var/lib/sbuild
| mkdir /home/cyril/opt/sid-test/var/lib/sbuild/srcdep
| I: Creating sbuild lock directory: /var/lib/sbuild/srcdep-lock
| mkdir /home/cyril/opt/sid-test/var/lib/sbuild/srcdep-lock
| I: Setting reference package list.
| I: Updating chroot.
| I: /usr/bin/apt-get update
| Réception de : 1 http://debian.kerlabs.com sid Release.gpg [197B]
| Réception de : 2 http://debian.kerlabs.com sid/main Translation-fr [652kB]
| Atteint http://debian.kerlabs.com sid Release
| Réception de : 3 http://debian.kerlabs.com sid/main Packages/DiffIndex [2038B]
| Réception de : 4 http://debian.kerlabs.com sid/main Sources [2759kB]
| 3412ko réceptionnés en 2s (1245ko/s)
| Lecture des listes de paquets...
| I: /usr/bin/apt-get -uy upgrade
| [Upgrade in host system.]

I won't have much time to investigate, but it looks to me like a bug
that ought to be fixed quickly so that people's systems don't get all
messed up.

Cheers,
-- 
Cyril Brulebois
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20090316/900b93e0/attachment.pgp 


More information about the Buildd-tools-devel mailing list