← Back to team overview

desktop-packages team mailing list archive

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


This bug was fixed in the package lightdm - 1.17.5-0ubuntu2

lightdm (1.17.5-0ubuntu2) xenial; urgency=medium

  * debian/control:
    - Fix liblightdm-qt5-3-dev to depend on qtbase5-dev, not libqt4-dev

 -- Michael Terry <mterry@xxxxxxxxxx>  Wed, 03 Feb 2016 13:45:53 -0500

** Changed in: lightdm (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

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: