[buildd-tools-devel] Bug#586333: Bug#586333: mount /var/run/gdm3 by default (?)

Roger Leigh rleigh at codelibre.net
Fri Jun 18 14:50:27 UTC 2010


On Fri, Jun 18, 2010 at 03:23:08PM +0200, Stefano Zacchiroli wrote:
> 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

Ah, that makes sense.  We had one report of schroot no longer
working with gdm, but it wasn't clear why.

> 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.

We try to keep what's mounted from the host as minimal as possible,
and in this case it's specific to a single application.  It's not
required for any use case other than running X applications, so I'd
rather keep it out of the default config.

I am, however, collecting custom setup scripts and configurations
for specific uses in a new contrib directory which I will install
under /usr/share/doc.  I can refer to this in README.Debian and/or
the upstream docs and include the above mount options for gdm if
that sounds OK.  Maybe as a "desktop" profile.  I also recently
moved the setup script config files under /etc/schroot/default, so
we could equally provide a /etc/schroot/desktop directory with
the desktop-specific customisations already available.  You would
just need to set script-config=desktop rather than
script-config=default (the default).


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/20100618/e4ab6a26/attachment.pgp>


More information about the Buildd-tools-devel mailing list