View previous topic :: View next topic |
Author |
Message |
fpemud Guru
Joined: 15 Feb 2012 Posts: 349
|
Posted: Mon Jul 15, 2013 11:41 am Post subject: systemd-logind conflicts with pam-free system |
|
|
I'm trying systemd.
Now the problem is there's no systemd-logind session registered.
After some searching, I found it is because my system is pam-free, so the systemd is installed with USE="-pam".
In systemd doc:
Quote: | CreateSession() and ReleaseSession() may be used to open or close login sessions. These calls should never be invoked directly by clients. Creating/closing sessions is exclusively the job of PAM and its pam_systemd module. |
The old consolekit is more friendly. Session registration can be done by either dbus-api OpenSession() or pam_ck_connector.so
Why systemd gets this new limitation? |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Mon Jul 15, 2013 8:34 pm Post subject: Re: systemd-logind conflicts with pam-free system |
|
|
fpemud wrote: | I'm trying systemd.
Why systemd gets this new limitation? |
The upstream systemd developers are not very conservative with the dependencies required and use, for example, the GNU world tools more freely than eg. OpenRC as a BSD-like init system does
Since, remember, systemd is Linux-only like PAM is Linux-only unlike ConsoleKit and OpenRC which worked for BSD too when you stripped the pam_ck_connector.so away from it
You can get some of this behind #ifdef-like code if you provide the systemd upstream with a ready patch against current git in the freedesktop bugzilla, but don't count on it getting accepted
For what's it worth, it should be possible to disable logind in systemd and still use ConsoleKit (yes, ConsoleKit works for systemd too when logind is disabled) for many things in Portage, for example, the support for ConsoleKit in Xfce will stay for long time
I expect your prev. examination to be accurate (by this reply)
You should open a bug at https://bugs.gentoo.org/ if you want logind optional behind USE flag in sys-apps/systemd, also, I can't guarantee that will be accepted
Or if you can have both installed at the same time, then it's matter of running only one of them
In any case GNOME is out and will need logind and ConsoleKit won't work for it |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|