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#36568 - [lxdm] Unit lxdm.service entered failed state.

Attached to Project: Community Packages
Opened by Ian Beckett (iandrum) - Friday, 16 August 2013, 18:57 GMT
Last edited by Balló György (City-busz) - Friday, 13 September 2013, 11:39 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Balló György (City-busz)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

lxdm 0.4.1-23 fails to load when booting the computer, leaving the computer hanging on "reached target graphical interface".
This happens regularly, but not always, I'd estimate it's around 50% of the time.

There doesn't appear to be anything useful in any log files, "journalctl -xb" tells me "Unit lxdm.service entered failed state." and that's all I've found.

If I log in as root on another terminal and them launch the lxdm executable manually it seems to work fine. Suspecting that it's a problem with trying to load it too early (before something it requires has finished loading) I created a file /etc/systemd/system/lxdm.service.d/restart.conf so it tries to restart it if it fails:

[Service]
Restart=on-failure

And this seems to be working (logs still show it failing ~50% of the time, but it then tries again and succeeds). But this is just a workaround and doesn't address whatever the real problem is.

This task depends upon

Closed by  Balló György (City-busz)
Friday, 13 September 2013, 11:39 GMT
Reason for closing:  No response
Additional comments about closing:  Probably fixed by adding 'Restart=always' to the systemd unit file.
Comment by Dave Reisner (falconindy) - Friday, 16 August 2013, 19:04 GMT
Try explicitly loading whatever your graphics driver is via /etc/modules-load.d.
Comment by Ian Beckett (iandrum) - Friday, 16 August 2013, 21:02 GMT
That seems to work, explicitly loading nvidia module and it hasn't failed in a dozen or so reboots.
Comment by Dave Reisner (falconindy) - Friday, 16 August 2013, 21:16 GMT
So then this is an upstream problem with lxdm not waiting properly for graphics to be initialized.

http://cgit.freedesktop.org/systemd/systemd/commit/?id=f1a8e221ecacea23
Comment by Ian Beckett (iandrum) - Tuesday, 20 August 2013, 20:39 GMT
Actually I have now seen the problem reoccur a couple of times now since explicitly loading the nvidia module in /etc/modules-load.d

Comment by Balló György (City-busz) - Friday, 06 September 2013, 06:07 GMT
Please test the version 0.4.1-24, it's in the [community-testing] repository. I made some significant changes in the package, and now the systemd file contains the 'Restart=always' parameter, so lxdm will be restarted immediately when crashes.

Loading...