From 2e750a4ad47b1208d8f89af1728e52e98bb98da5 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sat, 11 Feb 2012 10:48:22 +0100 Subject: [PATCH] Disable pam_systemd for non-interactive sessions to work around an issue with sudo. Conflicts: debian/changelog --- debian/changelog | 2 ++ debian/pam-configs/systemd | 1 + 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index 836f04b7..ce73b9ea 100644 --- a/debian/changelog +++ b/debian/changelog @@ -31,6 +31,8 @@ systemd (43-1) unstable; urgency=low * Stop installing lib-init-rw (auto)mount units and try to cleanup /lib/init/rw in postinst. Bump dependency on initscripts accordingly. Closes: #643699 + * Disable pam_systemd for non-interactive sessions to work around an issue + with sudo. -- Tollef Fog Heen Tue, 07 Feb 2012 21:36:34 +0100 diff --git a/debian/pam-configs/systemd b/debian/pam-configs/systemd index b31ad4be..5b56996a 100644 --- a/debian/pam-configs/systemd +++ b/debian/pam-configs/systemd @@ -1,6 +1,7 @@ Name: Register user sessions in the systemd control group hierarchy Default: yes Priority: 0 +Session-Interactive-Only: yes Session-Type: Additional Session: optional pam_systemd.so -- 2.39.5