After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 698947 - configure: suspend-resume checks for systemd version instead of logind
configure: suspend-resume checks for systemd version instead of logind
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
git master
Other Linux
: Normal minor
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-04-26 12:55 UTC by Martin Pitt
Modified: 2013-04-26 14:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
configure: Check libsystemd-login version for suspend-resume (1.54 KB, patch)
2013-04-26 12:56 UTC, Martin Pitt
committed Details | Review

Description Martin Pitt 2013-04-26 12:55:38 UTC
The suspend-resume check in configure.ac tries to determine whether systemd is recent enough to have inhibitors and suspend/resume functionality. In Debian and Ubuntu we will soon use systemd's logind, but without systemd's init bits (at least for now).

It would be nice if configure could check for logind's version instead, so that NM can be used with logind properly.
Comment 1 Martin Pitt 2013-04-26 12:56:24 UTC
Created attachment 242558 [details] [review]
configure: Check libsystemd-login version for suspend-resume
Comment 2 Dan Winship 2013-04-26 14:52:47 UTC
pushed after confirming that it works on full-systems systems too. thanks.

Attachment 242558 [details] pushed as 39a0c81 - configure: Check libsystemd-login version for suspend-resume
Comment 3 Martin Pitt 2013-04-26 14:55:24 UTC
That was fast, thank you!