[Bug 894391] Re: [FFe] support $XDG_RUNTIME_DIR

Steve Langasek steve.langasek at canonical.com
Thu Sep 27 07:41:33 UTC 2012


I've just uploaded a new package, pam-xdg-support, to quantal and am
seeking a FFe for it.  This is a small module which handles the setup
and teardown of the XDG_RUNTIME_DIR, addressing a long-standing bug
report from the desktop team.  It should be suitable for inclusion in
the default PAM stack on the desktop.

The other options where this could have been implemented were
pam_ck_connector and pam_systemd, but neither was suitable, hence the
new package.

 - pam_ck_connector and pam_systemd are both designed to be used for login sessions only.  That's insufficient for XDG_RUNTIME_DIR, which needs to be updated each time there's a user context change (e.g., sudo/su) because the pointed-to directory is, by definition, only writable by the owning user.
 - pam_systemd depends on systemd logind for the directory management, and logind is deeply intertwined with the systemd-specific cgroups layout which we do not want to adopt at this time.

The pam module is short (320 loc) and I hope sufficiently auditable that
it can be included in quantal.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mountall in Ubuntu.
https://bugs.launchpad.net/bugs/894391

Title:
  [FFe] support $XDG_RUNTIME_DIR

Status in Ubuntu:
  In Progress
Status in “mountall” package in Ubuntu:
  Fix Released
Status in The Quantal Quetzal:
  In Progress
Status in “mountall” source package in Quantal:
  Fix Released

Bug description:
  As per http://standards.freedesktop.org/basedir-spec/basedir-spec-
  latest.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/894391/+subscriptions




More information about the foundations-bugs mailing list