[buildd-tools-devel] Bug#644991: schroot: exit from a full namespace lvremove snapshot fail

Enrico Rossi e.rossi at tecnobrain.com
Tue Oct 11 14:03:38 UTC 2011


Package: schroot
Version: 1.4.23-1
Severity: minor

Dear Maintainer,

running an lvsnapshot schroot as:

enrico at angel:~$ schroot -c squeeze 
(squeeze)enrico at angel:~$ pwd
/home/enrico
(squeeze)enrico at angel:~$ exit
logout
enrico at angel:~$

everything is fine, but running the same schroot with full namespace as:

enrico at angel:~$ schroot -c chroot:squeeze 
(squeeze)enrico at angel:~$ pwd 
/home/enrico
(squeeze)enrico at angel:~$ exit
logout
E: 05lvm:   Unable to deactivate open vg01-schroot--squeeze64-real (253:16)
E: 05lvm:   Failed to resume schroot-squeeze64.

and the allocated lvm-snapshot must be removed by hand.
According to the man page, CHROOT NAMESPACES->Actions and default
namespaces:

[...] it is always possible  to  use  the  full  name  including the
 namespace, even when not strictly required.

Thanks.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (850, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages schroot depends on:
ii  libboost-filesystem1.46.1       1.46.1-7    
ii  libboost-program-options1.46.1  1.46.1-7    
ii  libboost-regex1.46.1            1.46.1-7    
ii  libboost-system1.46.1           1.46.1-7    
ii  libc6                           2.13-21     
ii  libgcc1                         1:4.6.1-4   
ii  liblockdev1                     1.0.3-1.4+b1
ii  libpam0g                        1.1.3-4     
ii  libstdc++6                      4.6.1-4     
ii  libuuid1                        2.19.1-5    
ii  schroot-common                  1.4.23-1    

schroot recommends no packages.

Versions of packages schroot suggests:
ii  aufs-modules | unionfs-modules  <none>   
ii  btrfs-tools                     <none>   
ii  debootstrap                     1.0.36   
ii  lvm2                            2.02.86-1
ii  unzip                           6.0-5    

-- no debconf information

-- 
GPG Key: 4096R/F2133176 2010-10-19 Enrico Rossi <e.rossi at tecnobrain.com>





More information about the Buildd-tools-devel mailing list