Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#39857 - [lightdm] missing /var/lib/lightdm-data directory.

Attached to Project: Community Packages
Opened by René Herman (rene) - Monday, 14 April 2014, 23:42 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 15 April 2014, 09:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

lightdm 1:1.10.0-1 complains on startup about not finding its (user-)state directory:

lightdm[292]: ** (lightdm:292): WARNING **: Could not enumerate user data directory /var/lib/lightdm-data: No such file or directory
[...]
lightdm[292]: ** (lightdm:292): WARNING **: Could not create user data directory /var/lib/lightdm-data/rene: Error creating directory: No such file or directory

It's trivially fixed by creating the directory /var/lib/lightdm-data, but I guess it's a maintainer-decission whether or not to do that, to change the lightdm-data directory to the home directory of the lightdm user /var/lib/lightdm (as added by the arch package. it seems) during the build, or to conversely change said home-directory to /var/lib/lightdm-data...

A quick google suggests that current ubuntu has only /var/lib/lightdm-data, whereas current mageia has both /var/lib/lightdm and /var/lib/lighhtdm-data.
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Tuesday, 15 April 2014, 09:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  1:1.10.0-2
Comment by René Herman (rene) - Tuesday, 15 April 2014, 00:07 GMT
Small snag: it seems that for some reason ~lightdm/.pam_environment, as installed by the arch package, doesn't survive a reboot when ~lightdm is shared with the lightdm-data directory. Maintainer may figure out why... :-/
Comment by Maxime Gauduin (Alucryd) - Tuesday, 15 April 2014, 09:53 GMT
Thx for the report! I'd rather have both dirs, and Fedora does that too. I've modified the PKGBUILD, as well as fixed some perms and missing cache dir in the package.

Loading...