lightdm no longer runs guest session through wrapper
Bug #1243339 reported by
Christian Prim
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
High
|
Robert Ancell | ||
1.8 |
Fix Released
|
High
|
Robert Ancell | ||
1.9 |
Fix Released
|
High
|
Robert Ancell | ||
lightdm (Ubuntu) |
Fix Released
|
High
|
Marc Deslauriers | ||
Saucy |
Fix Released
|
High
|
Marc Deslauriers | ||
Trusty |
Fix Released
|
High
|
Marc Deslauriers |
Bug Description
The LightDM guest session is no longer run with AppArmor.
To reproduce:
1. Boot to Unity Greeter
2. Select "Guest"
3. Open terminal
4. Type 'ls /home'
Expected result:
Unable to see home directories
Observed result:
Able to see home directories
Regression potential:
There is a risk of the guest account being less capable if the AppArmor changes are not correct. The remote login feature also uses AppArmor and should be checked that it works with these changes.
Related branches
lp://staging/~robert-ancell/lightdm/guest-wrapper
- Robert Ancell: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 503 lines (+173/-85)18 files modifieddata/apparmor/abstractions/lightdm (+6/-0)
data/lightdm.conf (+2/-2)
debian/50-guest-wrapper.conf (+2/-0)
debian/changelog (+7/-0)
debian/lightdm.install (+1/-0)
src/seat.c (+75/-62)
tests/Makefile.am (+2/-0)
tests/scripts/autologin-guest-in-background.conf (+0/-3)
tests/scripts/autologin-guest-logout.conf (+0/-3)
tests/scripts/autologin-guest-timeout.conf (+0/-3)
tests/scripts/autologin-guest.conf (+0/-3)
tests/scripts/guest-wrapper.conf (+37/-0)
tests/scripts/login-guest-logout.conf (+0/-3)
tests/scripts/login-guest.conf (+0/-3)
tests/scripts/switch-to-guest.conf (+0/-3)
tests/src/Makefile.am (+10/-0)
tests/src/test-guest-wrapper.c (+29/-0)
tests/test-guest-wrapper (+2/-0)
CVE References
Changed in lightdm: | |
status: | New → Confirmed |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in lightdm (Ubuntu Saucy): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in lightdm (Ubuntu Trusty): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in lightdm (Ubuntu Saucy): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
summary: |
- In guest-session guest has read-access to /home + lightdm no longer runs guest session through wrapper |
Changed in lightdm (Ubuntu Saucy): | |
status: | Confirmed → Triaged |
Changed in lightdm (Ubuntu Trusty): | |
status: | Confirmed → Triaged |
Changed in lightdm (Ubuntu Trusty): | |
status: | Triaged → In Progress |
Changed in lightdm (Ubuntu Saucy): | |
status: | Triaged → In Progress |
Changed in lightdm: | |
status: | Fix Committed → Fix Released |
description: | updated |
To post a comment you must log in.
I confirm this, it seems the AppArmor profile isn't being applied by lightdm.