/var/lib/lightdm not created by default
Bug #1540933 reported by
Luca Osvaldo Mastromatteo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lightdm (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Wily |
Won't Fix
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
After apt-get purge lightdm the /var/lib/lightdm folder is deleted and then never recreated reinstalling the lightdm package. The folder is necessary due to the create of the .Xauthority file.
[Test Case]
1. $ sudo apt-get purge lightdm
2. $ sudo apt-get install lightdm
Expected result:
LightDM starts
Observed result:
Lightdm can't start. Manually creating /var/lib/lightdm and chown lightdm:lightdm makes it work.
[Regression Potential]
Low. The change is to not remove /var/lib/lightdm on package removal. This directory should only be removed when the user is removed.
Changed in lightdm (Ubuntu Xenial): | |
status: | Fix Committed → Fix Released |
status: | Fix Released → Fix Committed |
description: | updated |
To post a comment you must log in.
Good catch! Thanks for finding.