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:)
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.
+*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. +