← Back to team overview

touch-packages team mailing list archive

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

 

** Description changed:

- 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 .Xauthorithy file.
+ [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.
  
- 1. apt-get purge lightdm
- 2. apt-get install lightdm
- Lightdm can't start
+ [Test Case]
+ 1. $ sudo apt-get purge lightdm
+ 2. $ sudo apt-get install lightdm
  
- I have to manually create che /lightdm folder in /var/lib and then chown
- lightdm:lightdm it.
+ Expected result:
+ LightDM starts
+ Observed result:
+ Lightdm can't start. Manually creating /var/lib/lightdm and chown lightdm:lightdm makes it work.
  
- Got the latest ubuntu Wily updates
+ [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.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1540933

Title:
  /var/lib/lightdm not created by default

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

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1540933/+subscriptions


References