← Back to team overview

desktop-packages team mailing list archive

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


Hi. Yes, now the apt-get purge lightdm command does not remove the
lightdm folder. But since I had this bug days ago, I had to recreate it
manually and the people already affected need to recreate it manually,
even if this will be last time.  So the new update does not create it if
the user exists but the folder no. Sorry for my bad english hope you
understand,  just to let you know, thank you anyway.

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: