[packages/cronie] make pam_loginuid optional

glen glen at pld-linux.org
Wed Oct 10 14:15:28 CEST 2018


commit 641501038fdb5a1a3c6ef9a66d50babdbfa069e9
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Oct 10 15:14:03 2018 +0300

    make pam_loginuid optional
    
    this is for unprivileged containers to be able use crond
    
    - https://stackoverflow.com/questions/21391142/why-is-it-needed-to-set-pam-loginuid-to-its-optional-value-with-docker
    - https://docs.docker.com/engine/examples/running_ssh_service/#build-an-eg_sshd-image
    - https://gitlab.com/gitlab-org/gitlab-ce/issues/3027

 cronie.pam  | 2 +-
 cronie.spec | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cronie.spec b/cronie.spec
index b081aff..582deec 100644
--- a/cronie.spec
+++ b/cronie.spec
@@ -18,7 +18,7 @@ Summary:	Cron daemon for executing programs at set times
 Summary(pl.UTF-8):	Demon cron do uruchamiania programów o zadanym czasie
 Name:		cronie
 Version:	1.5.2
-Release:	1
+Release:	2
 License:	MIT and BSD and GPL v2
 Group:		Daemons
 Source0:	https://github.com/cronie-crond/cronie/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
diff --git a/cronie.pam b/cronie.pam
index 9f8d098..3f4992a 100644
--- a/cronie.pam
+++ b/cronie.pam
@@ -2,4 +2,4 @@
 auth		include		system-auth
 account		include		system-auth
 session		include		system-auth
-session		required	pam_loginuid.so
+session		optional	pam_loginuid.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cronie.git/commitdiff/641501038fdb5a1a3c6ef9a66d50babdbfa069e9



More information about the pld-cvs-commit mailing list