← Back to team overview

desktop-packages team mailing list archive

[Bug 886490] Re: use aufs instead of tmpfs for guest account

 

Hi Gunnar,

thanks for the hint.

Does that "tutorial" still aply? Seems to be almost a year old.

And I noticed that my test machine with an early beta version of 11.10
still came with those guest-session packages (and the guest session
could be disabled by simply removing the guest session package), while
machines upgraded or freshly installed with the final 11.10 don't have
these packages. Seems as if these guest session functionality had been
moved into lightdm itself somewhere in the beta state of 11.10. There is
not even a  /etc/guest-session on my machines.


Now it seems to setup the guest account through /usr/sbin/guest-account, which uses some files from /etc/guest-session, if they exist. It however allows only local settings, but not a different method of mounting the file system. 

The solution might be to write a completely different shell script, and
I guess the configuration variable guest-account-script would allow to
run a different guest script than /usr/sbin/guest-account.

Which is not really advisable since the documentation of lightdm is
rather poor and it is not exactly obvious what lightdm expects from this
script.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/886490

Title:
  use aufs instead of tmpfs for guest account

Status in “lightdm” package in Ubuntu:
  New

Bug description:
  lightdm creates a directory in /tmp and mounts a tmpfs over it as a
  home directory for guest users.

  I'd prefer it (at least as a configurable option) if it instead would
  mount /tmp/guest... over /home/guest via an aufs file system. That way
  the admin could provide some default contents, that are completely
  restored for every login, and it does not waste RAM.

  regards

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: lightdm 1.0.5-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-13.21-generic 3.0.6
  Uname: Linux 3.0.0-13-generic x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Sat Nov  5 11:09:46 2011
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
  ProcEnviron:
   LANGUAGE=en_US:de_DE:en
   PATH=(custom, user)
   LANG=de_DE.UTF-8
   LC_MESSAGES=en_US.UTF-8
   SHELL=/bin/tcsh
  SourcePackage: lightdm
  UpgradeStatus: Upgraded to oneiric on 2011-10-29 (6 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/886490/+subscriptions


References