From a1933244d60c5f8a1e479301ee9e22abc5d1b2d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Thu, 29 Nov 2018 20:35:10 +0100 Subject: RPM: fix tdebase build on Fedora 29 --- redhat/main/tdebase/pamd.kcheckpass-trinity.fc29 | 5 +++++ redhat/main/tdebase/pamd.kdm-trinity-np.fc29 | 16 ++++++++++++++ redhat/main/tdebase/pamd.kdm-trinity.fc29 | 23 +++++++++++++++++++++ redhat/main/tdebase/pamd.kscreensaver-trinity.fc29 | 5 +++++ redhat/main/tdebase/tdm.fc29.pp | Bin 0 -> 932 bytes redhat/main/tdebase/tdm.service.fc29 | 12 +++++++++++ 6 files changed, 61 insertions(+) create mode 100644 redhat/main/tdebase/pamd.kcheckpass-trinity.fc29 create mode 100644 redhat/main/tdebase/pamd.kdm-trinity-np.fc29 create mode 100644 redhat/main/tdebase/pamd.kdm-trinity.fc29 create mode 100644 redhat/main/tdebase/pamd.kscreensaver-trinity.fc29 create mode 100644 redhat/main/tdebase/tdm.fc29.pp create mode 100644 redhat/main/tdebase/tdm.service.fc29 (limited to 'redhat/main') diff --git a/redhat/main/tdebase/pamd.kcheckpass-trinity.fc29 b/redhat/main/tdebase/pamd.kcheckpass-trinity.fc29 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/main/tdebase/pamd.kcheckpass-trinity.fc29 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/main/tdebase/pamd.kdm-trinity-np.fc29 b/redhat/main/tdebase/pamd.kdm-trinity-np.fc29 new file mode 100644 index 000000000..0616e66f6 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity-np.fc29 @@ -0,0 +1,16 @@ + #%PAM-1.0 +auth required pam_env.so +auth required pam_permit.so +auth include postlogin +account required pam_nologin.so +account include system-auth +password include system-auth +session required pam_selinux.so close +session required pam_loginuid.so +session optional pam_console.so +-session optional pam_ck_connector.so +session required pam_selinux.so open +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth +session include postlogin diff --git a/redhat/main/tdebase/pamd.kdm-trinity.fc29 b/redhat/main/tdebase/pamd.kdm-trinity.fc29 new file mode 100644 index 000000000..4e760760f --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity.fc29 @@ -0,0 +1,23 @@ +#%PAM-1.0 +auth [success=done ignore=ignore default=bad] pam_selinux_permit.so +auth required pam_env.so +auth substack system-auth +-auth optional pam_gnome_keyring.so +-auth optional pam_kwallet.so +-auth optional pam_kwallet5.so +auth include postlogin +account required pam_nologin.so +account include system-auth +password include system-auth +session required pam_selinux.so close +session required pam_loginuid.so +session optional pam_console.so +-session optional pam_ck_connector.so +session required pam_selinux.so open +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth +-session optional pam_gnome_keyring.so auto_start +-session optional pam_kwallet.so +-session optional pam_kwallet5.so +session include postlogin diff --git a/redhat/main/tdebase/pamd.kscreensaver-trinity.fc29 b/redhat/main/tdebase/pamd.kscreensaver-trinity.fc29 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/main/tdebase/pamd.kscreensaver-trinity.fc29 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/main/tdebase/tdm.fc29.pp b/redhat/main/tdebase/tdm.fc29.pp new file mode 100644 index 000000000..d0c0d4be8 Binary files /dev/null and b/redhat/main/tdebase/tdm.fc29.pp differ diff --git a/redhat/main/tdebase/tdm.service.fc29 b/redhat/main/tdebase/tdm.service.fc29 new file mode 100644 index 000000000..4c6136d94 --- /dev/null +++ b/redhat/main/tdebase/tdm.service.fc29 @@ -0,0 +1,12 @@ +[Unit] +Description=The Trinity login manager +Conflicts=getty@tty1.service +After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service + +[Service] +ExecStart=/opt/trinity/bin/kdm +Restart=always +IgnoreSIGPIPE=no + +[Install] +Alias=display-manager.service -- cgit v1.2.1