[gdm] data: Make pam_systemd optional in exherbo/fs



commit af1b4a8d83ca930008ba880b773acc9910f53652
Author: Pacho Ramos <pachoramos gmail com>
Date:   Tue Oct 8 20:43:15 2013 +0200

    data: Make pam_systemd optional in exherbo/fs
    
    This prevents it from breakings setups building using --without-systemd

 data/pam-exherbo/gdm-launch-environment.pam |    2 +-
 data/pam-lfs/gdm-launch-environment.pam     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/pam-exherbo/gdm-launch-environment.pam b/data/pam-exherbo/gdm-launch-environment.pam
index 66160fc..8c13b3b 100644
--- a/data/pam-exherbo/gdm-launch-environment.pam
+++ b/data/pam-exherbo/gdm-launch-environment.pam
@@ -8,7 +8,7 @@ auth        required    pam_permit.so
 
 password    required    pam_deny.so
 
-session     required    pam_systemd.so kill-session-processes=1
+-session    optional    pam_systemd.so kill-session-processes=1
 session     optional    pam_keyinit.so force revoke
 session     required    pam_succeed_if.so audit quiet_success user = gdm
 session     required    pam_permit.so
diff --git a/data/pam-lfs/gdm-launch-environment.pam b/data/pam-lfs/gdm-launch-environment.pam
index 980013d..174c347 100644
--- a/data/pam-lfs/gdm-launch-environment.pam
+++ b/data/pam-lfs/gdm-launch-environment.pam
@@ -10,7 +10,7 @@ account  include        system-account
 password required       pam_deny.so
 
 session  required       pam_succeed_if.so audit quiet_success user = gdm
-session  required       pam_systemd.so
+-session optional       pam_systemd.so
 session  optional       pam_keyinit.so force revoke
 session  optional       pam_permit.so
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]