Package: libpam-systemd
Version: 29-1.1
Severity: normal
File: /lib/security/pam_systemd.so

I've noticed that cgroups under /systemd/user/root that sudo creates are
not removed when the process launched by sudo terminates.

:) 10:49 sam@leela /sys/fs/cgroup/systemd/user/root 
$ ls
108c  144c  149c  154c  159c  164c  169c  174c  179c                   tasks
138c  145c  150c  155c  160c  165c  170c  175c  cgroup.clone_children
140c  146c  151c  156c  161c  166c  171c  176c  cgroup.event_control
141c  147c  152c  157c  162c  167c  172c  177c  cgroup.procs
143c  148c  153c  158c  163c  168c  173c  178c  notify_on_release

:) 10:49 sam@leela /sys/fs/cgroup/systemd/user/root 
$ sudo true

:) 10:49 sam@leela /sys/fs/cgroup/systemd/user/root 
$ ls
108c  145c  151c  157c  163c  169c  175c  cgroup.clone_children
138c  146c  152c  158c  164c  170c  176c  cgroup.event_control
140c  147c  153c  159c  165c  171c  177c  cgroup.procs
141c  148c  154c  160c  166c  172c  178c  notify_on_release
143c  149c  155c  161c  167c  173c  179c  tasks
144c  150c  156c  162c  168c  174c  180c

/etc/pam.d/sudo contents:
        #%PAM-1.0

        @include common-auth
        @include common-account
        @include common-session

/etc/pam.d/common-session contents:
# here are the per-package modules (the "Primary" block)
session [default=1]                     pam_permit.so
# here's the fallback if no module succeeds
session requisite                       pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
session required                        pam_permit.so
# and here are more per-package modules (the "Additional" block)
session required        pam_unix.so 
session optional pam_tmpdir.so 
session optional        pam_systemd.so 
session optional                        pam_ck_connector.so nox11
# end of pam-auth-update config

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable
  APT policy: (545, 'stable'), (540, 'stable-updates'), (530, 'testing'), (520, 
'unstable'), (510, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libpam-systemd depends on:
ii  libc6                         2.13-18    Embedded GNU C Library: Shared lib
ii  libcap2                       1:2.19-3   support for getting/setting POSIX.
ii  libpam0g                      1.1.1-6.1  Pluggable Authentication Modules l
ii  libselinux1                   2.0.98-1.1 SELinux runtime shared libraries
ii  systemd                       29-1.1     system and service manager

libpam-systemd recommends no packages.

libpam-systemd suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to