[Buildd-tools-devel] Bug#434396: sbuild: LVM snapshot -source chroot not correctly managed

Vincent Danjean vdanjean at debian.org
Wed May 21 14:46:18 UTC 2008


Roger Leigh wrote:
> Vincent Danjean <vdanjean at debian.org> writes:
> 
>> Roger Leigh wrote:
>>> Hi,
>>>
>>> Sorry for the delay in replying to this bug.  testing migrations
>>> and time prevented a new sbuild upload until a few weeks ago.
>>> sbuild 0.57.0-1 or later should fix this bug.
>>>
>>> Please could you confirm if this fixes the bug for you?
>> I will not have the time this week: I need to keep a working sbuild
>> and will not have time to correct the situation if there is still a bug.
>>   I will try next week. Do not hesitate to ping me if I forget.
> 
> Hi, did you have a chance to check this was fixed yet?

  I'm sorry to report that it is not fixed: sbuild-update unstable-source
does not work without the symlink in /

danjean at atsina:/$ ls -l sid
lrwxrwxrwx 1 root root 16 jui 23  2007 sid -> srv/sbuilder/sid
danjean at atsina:/$ sudo rm sid
danjean at atsina:/$ mount
/dev/mapper/atsina-root on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/hdd1 on /boot type ext3 (rw)
/dev/mapper/atsina-home on /home type ext3 (rw)
/dev/mapper/atsina-buildbot on /srv/buildbot type ext3 (rw)
/dev/mapper/atsina-sbuilder on /srv/sbuilder type ext3 (rw)
proc on /srv/sbuilder/sid/proc type proc (rw)
/tmp on /srv/sbuilder/sid/tmp type none (rw,bind)
/var/cache/apt/archives on /srv/sbuilder/sid/var/cache/apt/archives type none (rw,bind)
proc on /srv/sbuilder/etch/proc type proc (rw)
/tmp on /srv/sbuilder/etch/tmp type none (rw,bind)
/var/cache/apt/archives on /srv/sbuilder/etch/var/cache/apt/archives type none (rw,bind)
automount(pid2454) on /users/huron type autofs (rw,fd=4,pgrp=2454,minproto=2,maxproto=4)
nfs-id.imag.fr:/p3/danjean on /users/huron/danjean type nfs (rw,addr=129.88.69.107)
danjean at atsina:/$ sbuild-update unstable-source
unstable-source chroot does not exist
danjean at atsina:/$ mount
/dev/mapper/atsina-root on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/hdd1 on /boot type ext3 (rw)
/dev/mapper/atsina-home on /home type ext3 (rw)
/dev/mapper/atsina-buildbot on /srv/buildbot type ext3 (rw)
/dev/mapper/atsina-sbuilder on /srv/sbuilder type ext3 (rw)
proc on /srv/sbuilder/sid/proc type proc (rw)
/tmp on /srv/sbuilder/sid/tmp type none (rw,bind)
/var/cache/apt/archives on /srv/sbuilder/sid/var/cache/apt/archives type none (rw,bind)
proc on /srv/sbuilder/etch/proc type proc (rw)
/tmp on /srv/sbuilder/etch/tmp type none (rw,bind)
/var/cache/apt/archives on /srv/sbuilder/etch/var/cache/apt/archives type none (rw,bind)
automount(pid2454) on /users/huron type autofs (rw,fd=4,pgrp=2454,minproto=2,maxproto=4)
nfs-id.imag.fr:/p3/danjean on /users/huron/danjean type nfs (rw,addr=129.88.69.107)
/dev/mapper/atsina-sbuilder on /var/lib/schroot/mount/sid-source type ext3 (rw,sync,user_xattr)
proc on /var/lib/schroot/mount/sid-source/sid/proc type proc (rw)
/dev/pts on /var/lib/schroot/mount/sid-source/sid/dev/pts type none (rw,bind)
tmpfs on /var/lib/schroot/mount/sid-source/sid/dev/shm type tmpfs (rw)
/home on /var/lib/schroot/mount/sid-source/sid/home type none (rw,bind)
/tmp on /var/lib/schroot/mount/sid-source/sid/tmp type none (rw,bind)
/var/cache/apt/archives on /var/lib/schroot/mount/sid-source/sid/var/cache/apt/archives type none (rw,bind)
danjean at atsina:/$ sudo umount /var/lib/schroot/mount/sid-source/sid/var/cache/apt/archives /var/lib/schroot/mount/sid-source/sid/tmp /var/lib/schroot/mount/sid-source/sid/home /var/lib/schroot/mount/sid-source/sid/dev/shm /var/lib/schroot/mount/sid-source/sid/dev/pts /var/lib/schroot/mount/sid-source/sid/proc /var/lib/schroot/mount/sid-source
danjean at atsina:/$ sudo ln -s srv/sbuilder/sid sid
danjean at atsina:/$ sbuild-update unstable-source
Updating unstable-source chroot...
/usr/bin/apt-get  update
Get:1 http://www-id.imag.fr sid Release.gpg [189B]
[...]

  Regards,
    Vincent






More information about the Buildd-tools-devel mailing list