Merge lp:~lbssousa/lightdm/guest-account-union-mount-skel into lp:lightdm
Status: | Merged |
---|---|
Merged at revision: | 2201 |
Proposed branch: | lp:~lbssousa/lightdm/guest-account-union-mount-skel |
Merge into: | lp:lightdm |
Diff against target: |
12 lines (+1/-1) 1 file modified
debian/guest-account.sh (+1/-1) |
To merge this branch: | bzr merge lp:~lbssousa/lightdm/guest-account-union-mount-skel |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Ancell | Pending | ||
Review via email: mp+274231@code.launchpad.net |
This proposal supersedes a proposal from 2015-10-08.
Description of the change
[UPDATE] Robert, could you please update this merge with a last-minute patch to add a -r (read-only option) for bindfs mounts? Consider also including packages "bindfs" and "linux-image>=3.18 (to ensure overlayfs is available) | aufs-tools" in "Suggests:" field for lightdm package.
This patch proposes an alternative mechanism to customize guest sessions, based on union-mounting /etc/guest-
It *may* turn guest logins a bit faster (I've never measured it, however), and it avoids copying large files from /etc/guest-
For each guest account created, it wraps /etc/guest-
If OverlayFS kernel module is available in the system, use it. However, if only AuFS is available, use it instead. If none of them is available, fall back to current copy over method. If /etc/guest-
Looks good!