[buildd-tools-devel] Bug#586333: Bug#586333: Bug#586333: mount /var/run/gdm3 by default (?)
Roger Leigh
rleigh at codelibre.net
Tue Jun 29 19:39:57 UTC 2010
On Mon, Jun 28, 2010 at 02:00:33PM +0200, Stefano Zacchiroli wrote:
> On Mon, Jun 28, 2010 at 01:48:49PM +0200, Stefano Zacchiroli wrote:
> > Uhm, I come with bad news. I've played a bit with it and it does not
>
> Interestingly enough, using the package default (i.e. not a single
> default from the "desktop" profile), and adding one of {/var/run,
> /var/run/gdm3} to the default fstab works.
>
> So I presume the bug can be narrowed down by looking at the differences
> between the desktop default and the package defaults, something is wrong
> there.
It's working fine for me here. I installed gdm3 and set
script-config=desktop/config
for my chroot, and then this is /etc/schroot/desktop/fstab:
----------
# fstab: static file system information for chroots.
# Note that the mount point will be prefixed by the chroot path
# (CHROOT_PATH)
#
# <file system> <mount point> <type> <options> <dump> <pass>
/proc /proc none rw,rbind 0 0
/sys /sys none rw,rbind 0 0
/dev /dev none rw,rbind 0 0
/home /home none rw,bind 0 0
/tmp /tmp none rw,bind 0 0
# If you use gdm3, uncomment this line to allow Xauth to work
/var/run/gdm3 /var/run/gdm3 none rw,bind 0 0
----------
So long as you run schroot with -p to preserve the environment,
it works for me. The last line is commented out by default, and I
did uncomment it first. The last line is the only difference
between the default and desktop fstab (if you leave that line
commented, they are identical unless you customised them at all).
Did you find anything more about what wasn't working? You can
run with "-v --debug=notice" to get more information if something
is failing.
In the next release you can also set
preserve-environment=true
and then the -p can be omitted as well.
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
-------------- 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/20100629/d99fcca8/attachment.pgp>
More information about the Buildd-tools-devel
mailing list