Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486822 - gnome-base/gdm-3.8.4-r1 improvements for consolekit/non-systemd systems
Summary: gnome-base/gdm-3.8.4-r1 improvements for consolekit/non-systemd systems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-10-02 19:05 UTC by Mike Auty (RETIRED)
Modified: 2013-10-12 18:53 UTC (History)
0 users

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


Attachments
gdm-3.8.4-r1 ebuild for consolekit/non-systemd systems (gdm-3.8.4-r1.ebuild,6.56 KB, text/plain)
2013-10-02 19:05 UTC, Mike Auty (RETIRED)
Details
gdm-3.8.4-r1.ebuild.diff (gdm-3.8.4-r1.ebuild.diff,1.19 KB, patch)
2013-10-02 19:12 UTC, Mike Auty (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2013-10-02 19:05:33 UTC
Created attachment 359990 [details]
gdm-3.8.4-r1 ebuild for consolekit/non-systemd systems

This is an ebuild with two modifications that help get gdm-3.8.4 running under systems that do not use systemd.

The first issue was the systemd line in the pam files getting installed, which will stop the main gdm-slave from running and leave you at a flashing cursor prompt without a mouse or similar.  I don't know whether the functionality that the systemd module was adding via PAM needs to be put back in for consolekit?  Hopefully someone with more experience of using consolekit and pam could help with that one?

The second issue was that --without-consolekit was forced on, but this always caused the greeter to stop because it couldn't connect to consolekit.  I've therefore made that dependent upon !systemd, and added sys-auth/consolekit as an unconditional dependency if the systemd USE flag isn't set.  I didn't think putting it under USE="consolekit" would be very helpful, since it seems necessary without USE="systemd" and unnecessary with it, so the extra flag would just complicate things.

Having made these changes I can now use gdm-3.8.4-r1 without systemd and it starts up fine, lets me login and lock the screen, so I have yet to find any strong functionality missing.  I'm not sure how to tie it to the openrc-force flag, but it's possible that the systemd USE flag could be inverted to form the openrc-force flag if necessary?

Let me know if there's any problems, questions or issues about it.  Thanks!  5:)
Comment 1 Mike Auty (RETIRED) gentoo-dev 2013-10-02 19:12:55 UTC
Created attachment 359994 [details, diff]
gdm-3.8.4-r1.ebuild.diff

Diff from the current gdm-3.8.4-r1.ebuild in the tree, with the dependency changes, configure flag changes, and the removal of systemd relevant lines from the PAM files.
Comment 2 Pacho Ramos gentoo-dev 2013-10-12 18:53:14 UTC
+*gdm-3.8.4-r2 (12 Oct 2013)
+
+  12 Oct 2013; Pacho Ramos <pacho@gentoo.org>
+  +files/gdm-3.8.4-pam-systemd.patch, +gdm-3.8.4-r2.ebuild,
+  -gdm-3.6.2-r1.ebuild, -gdm-3.8.4.ebuild:
+  Provide a pam configuration that also works in non-systemd setups (#486822 by
+  Mike Auty), drop old.
+