Bug#379671: [Buildd-tools-devel] Bug#379671: schroot from backports.org doesn't handle lvm-snapshot chroots

Tilman Koschnick til at subnetz.org
Thu Jul 27 20:22:49 UTC 2006


On Thu, 2006-07-27 at 16:11 +0100, Roger Leigh wrote:
> I think you need to install liblockdev1 and libpam0g from backports as
> well.

Great, liblockdev1 from backports did the trick. libpam0g didn't seem to
make a difference.

Logging in and out of the changeroot works fine now, apart from getting
a new warning(?):

----------------------------------8<----------------------------------
til at test:~$ schroot -c sarge
File descriptor 4 left open
I: [sarge-a1d7e418-c337-4a12-a3c9-b9be157ab0cb chroot] Running login
shell: "/bin/bash"
(sarge-a1d7e418-c337-4a12-a3c9-b9be157ab0cb)til at sarge:~$ logout
File descriptor 4 left open
----------------------------------8<----------------------------------

> What is the output of
> 
>   $ dpkg -s schroot
> 
> ?  The backported versions should be specified in the dependencies.

Hm, the dependency on liblockdev1 ist not versioned:

Package: schroot
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 3656
Maintainer: Debian buildd-tools Developers
<buildd-tools-devel at lists.alioth.debian.org>
Architecture: i386
Version: 0.2.9-0bpo2
Replaces: dchroot
Provides: dchroot
Depends: libboost-program-options1.32.0, libc6 (>= 2.3.2.ds1-21),
libgcc1 (>= 1:3.4.1-3), liblockdev1, libpam0g (>= 0.76), libstdc++5 (>=
1:3.3.4-1), libuuid1
[...]

Culprit seems to be dpkg-shlibdeps:

----------------------------------8<----------------------------------
til at test:/tmp$ mkdir debian
til at test:/tmp$ dpkg-shlibdeps /usr/bin/schroot
til at test:/tmp$ cat debian/substvars
shlibs:Depends=libboost-program-options1.32.0, libc6 (>= 2.3.2.ds1-21),
libgcc1 (>= 1:3.4.1-3), liblockdev1, libpam0g (>= 0.76), libstdc++5 (>=
1:3.3.4-1), libuuid1
----------------------------------8<----------------------------------

Thanks for you help!

Cheers, Til
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060727/352380b5/attachment.pgp


More information about the Buildd-tools-devel mailing list