unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andy Wingo <wingo@igalia.com>
Cc: guix-devel@gnu.org
Subject: Re: elogind status
Date: Sat, 06 Feb 2016 12:07:05 +0100	[thread overview]
Message-ID: <87a8ne3xnq.fsf@gnu.org> (raw)
In-Reply-To: <87h9ntexrp.fsf@igalia.com> (Andy Wingo's message of "Fri, 21 Aug 2015 12:33:46 +0200")

Andy Wingo <wingo@igalia.com> skribis:

> Since elogind wants to manage the content of these directories, it has a
> little internal rm-rf helper to clean them when elogind starts up.  But
> that helper is really conservative and doesn't want to remove files on a
> filesystem that's not tmpfs or ramfs, hence these mounts.
>
> Secondly you need to configure a pam-elogind module.
>
>   (define pam-elogind
>     (pam-entry
>      (control "required")
>      (module #~(string-append #$elogind "/lib/security/pam_elogind.so"))))
>
> We add the pam module to the base pam services:
>
>   (pam-services
>    (base-pam-services #:additional-session-modules (list pam-elogind)))

[…]

(See the whole message at
<https://lists.gnu.org/archive/html/guix-devel/2015-08/msg00439.html>.)

It’s been some time, but commit e7ad0d5 finally adds elogind support to
all the PAM sessions.  It does so by extending PAM with a procedure that
adds a session entry with pam_elogind.so to all the PAM service.

This extension mechanism for cross-cutting PAM concerns is implemented
in 12c00bc.

I’ve confirmed that ‘loginctl’ now knows about logged-in users and
seats.  I haven’t check what effect it has on GNOME and Xfce but
feedback would be welcome!

Ludo’.

      parent reply	other threads:[~2016-02-06 11:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-21 10:33 elogind status Andy Wingo
2015-08-21 11:48 ` Claes Wallin (韋嘉誠)
2015-08-21 12:11   ` Andy Wingo
2015-08-21 14:14     ` 宋文武
2015-08-21 14:21     ` Thompson, David
2015-08-21 15:19 ` 宋文武
2015-08-21 15:32   ` Andy Wingo
2015-08-21 15:34   ` Thompson, David
2015-08-25  7:48 ` Andy Wingo
2015-08-27 13:25   ` Ludovic Courtès
2015-08-27 13:58     ` Andy Wingo
2015-08-27 14:20       ` Andy Wingo
2015-08-27 20:47       ` Ludovic Courtès
2015-08-27 13:21 ` Ludovic Courtès
2015-08-27 14:01   ` Andy Wingo
2015-08-27 20:45     ` Ludovic Courtès
2016-02-06 11:07 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a8ne3xnq.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=wingo@igalia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).