Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522228 - x11-misc/lightdm-1.10.1 - complains on startup that /var/lib/lightdm-data doesn't exist
Summary: x11-misc/lightdm-1.10.1 - complains on startup that /var/lib/lightdm-data doe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-05 21:47 UTC by Austin English (RETIRED)
Modified: 2014-11-08 13:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Austin English (RETIRED) gentoo-dev 2014-09-05 21:47:24 UTC
Noticed while diagnosing why X wasn't starting up on my desktop, it seems that lightdm expects /var/lib/lightdm-data to exist and be writable, but the ebuild does not create that directory:
[+0.05s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.05s] WARNING: Could not enumerate user data directory /var/lib/lightdm-data: No such file or directory
[+0.05s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.05s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+2.59s] DEBUG: Got signal 10 from process 2476
[+2.59s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+2.59s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+2.59s] DEBUG: Seat: Display server ready, starting session authentication
[+2.59s] DEBUG: Session pid=2662: Started with service 'lightdm-greeter', username 'root'
[+2.82s] DEBUG: Session pid=2662: Authentication complete with return value 0: Success
[+2.82s] DEBUG: Seat: Session authenticated, running command
[+2.82s] DEBUG: Session pid=2662: Running command /usr/sbin/lightdm-gtk-greeter
[+2.82s] DEBUG: Loading users from org.freedesktop.Accounts
[+2.82s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+2.83s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+2.83s] DEBUG: User /org/freedesktop/Accounts/User1002 added
[+2.83s] DEBUG: User /org/freedesktop/Accounts/User1003 added
[+2.84s] DEBUG: Creating shared data directory /var/lib/lightdm-data/root
[+2.84s] WARNING: Could not create user data directory /var/lib/lightdm-data/root: Error creating directory: No such file or directory
[+2.84s] DEBUG: Session pid=2662: Logging to /var/log/lightdm/x-0-greeter.log


Reproducible: Always

Steps to Reproduce:
Start lightdm
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2014-09-07 11:02:32 UTC
I have no  such directory on my system

~$ ls /var/lib/|grep lightdm
~$

and everything work as expected. Are you sure this is your problem? After all, this is just a warning according to the log...

Does lightdm work if you create that directory yourself?
Comment 2 Austin English (RETIRED) gentoo-dev 2014-09-08 16:05:34 UTC
(In reply to Markos Chandras from comment #1)
> I have no  such directory on my system
> 
> ~$ ls /var/lib/|grep lightdm
> ~$
> 
> and everything work as expected. Are you sure this is your problem? After
> all, this is just a warning according to the log...
> 
> Does lightdm work if you create that directory yourself?

The directory is not required for lightdm to work, but if present, lightdm does store stuff there. The bug is about the warning, lightdm does expect that directory to be available and writable.

My failure was nouveau still loading even though it was blacklisted via /etc/modprobe.d/. Removing nouveau (and then using nvidia binary drivers) allowed X to start.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2014-11-08 13:47:42 UTC
ok i added a simple dodir /var/lib/lightdm-data to the 1.12.1 ebuild. Thanks