Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511854 - >=x11-base/xorg-server-1.15.99.902: systemd-logind should not be enabled by default
Summary: >=x11-base/xorg-server-1.15.99.902: systemd-logind should not be enabled by d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-30 12:10 UTC by Julien Papasian
Modified: 2014-05-30 14:28 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 Julien Papasian 2014-05-30 12:10:15 UTC
Changes from 1.15.99.901 to 1.15.99.902 include systemd-logind to be enabled by default in configure when dbus and udev are installed, as you can see from this commit:
http://cgit.freedesktop.org/xorg/xserver/commit/configure.ac?id=82863656ec449644cd34a86388ba40f36cea11e9

It BREAKS apps when systemd is not used as default init. In my case, optirun (for NVIDIA Optimus) failed because virtualgl was then unabled to launch (but I’m sure a lot of other critical apps could be broken too):
[XORG] (EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files

I fixed this problem by adding --enable-systemd-logind=$(usex systemd yes no) in XORG_CONFIGURE_OPTIONS in ebuild.

Reproducible: Always
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-05-30 12:56:27 UTC
Fixed in 1.15.99.902-r1
Comment 2 Julien Papasian 2014-05-30 13:27:59 UTC
Shouldn’t this be
$(use_enable systemd systemd-logind)
instead of
$(use_with systemd systemd-logind)
?
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-05-30 14:28:57 UTC
You are correct, thanks.

Fixed in 1.15.99.902-r2