Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
systemd-logind conflicts with pam-free system
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
fpemud
Guru
Guru


Joined: 15 Feb 2012
Posts: 349

PostPosted: Mon Jul 15, 2013 11:41 am    Post subject: systemd-logind conflicts with pam-free system Reply with quote

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
View user's profile Send private message
SamuliSuominen
Retired Dev
Retired Dev


Joined: 30 Sep 2005
Posts: 2133
Location: Finland

PostPosted: Mon Jul 15, 2013 8:34 pm    Post subject: Re: systemd-logind conflicts with pam-free system Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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