← Back to team overview

desktop-packages team mailing list archive

[Bug 1540933] Re: /var/lib/lightdm not created by default


Hello Luca, or anyone else affected,

Accepted lightdm into wily-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/lightdm/1.16.7-0ubuntu2 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in

** Tags added: verification-needed

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.

  /var/lib/lightdm not created by default

Status in lightdm package in Ubuntu:
  Fix Released
Status in lightdm source package in Wily:
  Fix Committed
Status in lightdm source package in Xenial:
  Fix Released

Bug description:
  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.

To manage notifications about this bug go to: