From 485c6755601b8cade5c236faf3c65e6fcb87d56a53e7cb0f941cd3524b457ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 24 Mar 2014 13:57:51 +0000 Subject: [PATCH] Accepting request 226438 from home:saschpe:branches:Linux-PAM - "pam-config --debug --update" in the %post section fails if any /etc/pam.d/common-$TYPE file is not a symlink to /etc/pam.d/common-$TYPE-pc. Fix that by adding '--force'. This is mainly an update issue since fresh configs are created appropriatly OBS-URL: https://build.opensuse.org/request/show/226438 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam-config?expand=0&rev=67 --- pam-config.changes | 8 ++++++++ pam-config.spec | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/pam-config.changes b/pam-config.changes index aa5d911..91e1d5b 100644 --- a/pam-config.changes +++ b/pam-config.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Mar 17 13:02:30 UTC 2014 - speilicke@suse.com + +- "pam-config --debug --update" in the %post section fails if any + /etc/pam.d/common-$TYPE file is not a symlink to /etc/pam.d/common-$TYPE-pc. + Fix that by adding '--force'. This is mainly an update issue since + fresh configs are created appropriatly + ------------------------------------------------------------------- Thu Feb 7 09:59:26 CET 2013 - kukuk@suse.de diff --git a/pam-config.spec b/pam-config.spec index 86b58d9..8fdf33e 100644 --- a/pam-config.spec +++ b/pam-config.spec @@ -1,7 +1,7 @@ # # spec file for package pam-config # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -54,7 +54,7 @@ done if [ ! -f /etc/pam.d/common-auth-pc ] ; then pam-config --debug --create --force else - pam-config --debug --update ||: + pam-config --debug --update --force fi %postun