[buildd-tools-devel] Bug#586333: mount /var/run/gdm3 by default (?)
Stefano Zacchiroli
zack at debian.org
Fri Jun 18 13:23:08 UTC 2010
Package: schroot
Version: 1.4.4-1
Severity: wishlist
I've recently switched from gdm to gdm3, and I've just discovered that such a
switch inhibits seamless usage of X11 apps from schroot-managed chroots
(usually using "schroot -p ...").
I'm using the above to run 32bits apps on my 64bits machine, which I believe is
a fairly common use case.
A straightforward "schroot -p COMMAND" no longer works because with gdm3 the
authority file is now located under /var/run/gdm3/, which is not mounted by
schroot setup/exec scripts. I believe that without gdm3 that still works, as
probably the authoritfy file was elsewhere before, in a directory mounted by
those scripts (I don't have easy access to a non-gdm3 machine right now, so I
haven't been able to test that though).
The "fix" is straightforward, it's enough to add the following line to
/etc/schroot/default/fstab:
/var/run/gdm3 /var/run/gdm3 none rw,bind 0 0
I've no idea whether you might want to do that or not in the default schroot
configuration, but I presume that using gdm3 will become quite common in the
future. So, if you don't want to do that, you might want to document it in
README.Debian or in some other FAQ-ish place as a common gotcha.
Many thanks for maintaining and developing schroot!
Cheers.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages schroot depends on:
ii libboost-filesystem1.42.0 1.42.0-3 filesystem operations (portable pa
ii libboost-program-options1.42. 1.42.0-3 program options library for C++
ii libboost-regex1.42.0 1.42.0-3 regular expression library for C++
ii libboost-system1.42.0 1.42.0-3 Operating system (e.g. diagnostics
ii libc6 2.11.2-1 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.4-5 GCC support library
ii liblockdev1 1.0.3-1.4 Run-time shared library for lockin
ii libpam0g 1.1.1-3 Pluggable Authentication Modules l
ii libstdc++6 4.4.4-5 The GNU Standard C++ Library v3
ii libuuid1 2.17.2-3 Universally Unique ID library
ii schroot-common 1.4.4-1 common files for schroot
schroot recommends no packages.
Versions of packages schroot suggests:
pn aufs-modules | unionfs-module <none> (no description available)
ii debootstrap 1.0.23 Bootstrap a basic Debian system
ii lvm2 2.02.66-1 The Linux Logical Volume Manager
ii unzip 6.0-4 De-archiver for .zip files
-- Configuration Files:
/etc/schroot/default/fstab changed:
proc /proc proc defaults 0 0
/dev/pts /dev/pts none rw,bind 0 0
/dev/shm /dev/shm none rw,bind 0 0
/home /home none rw,bind 0 0
/tmp /tmp none rw,bind 0 0
/var/run/gdm3 /var/run/gdm3 none rw,bind 0 0
/etc/schroot/schroot.conf changed:
[sid32]
type=directory
description=Debian Sid i386 (sid32)
directory=/srv/chroot/sid-ia32/
priority=3
groups=sbuild
root-groups=sbuild
personality=linux32
[cowbuilder]
type=directory
description=Debian Sid by cowbuilder
directory=/srv/debian/pbuilder/base.cow/
priority=3
groups=sbuild
root-groups=sbuild
[cowlenny]
type=directory
description=Debian Sid by cowbuilder
directory=/srv/debian/pbuilder/lenny.cow/
priority=3
groups=sbuild
root-groups=sbuild
[cowetch]
type=directory
description=Debian Etch by cowbuilder
directory=/srv/debian/pbuilder/etch.cow/
priority=3
groups=sbuild
root-groups=sbuild
[python26]
type=directory
description=Debian Sid + experimental for Python 2.6 transition builds
directory=/srv/debian/pbuilder/python26.cow/
priority=3
groups=sbuild
root-groups=sbuild
-- no debconf information
More information about the Buildd-tools-devel
mailing list