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
This commit is contained in:
parent
11df637dd3
commit
485c675560
@ -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
|
Thu Feb 7 09:59:26 CET 2013 - kukuk@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pam-config
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -54,7 +54,7 @@ done
|
|||||||
if [ ! -f /etc/pam.d/common-auth-pc ] ; then
|
if [ ! -f /etc/pam.d/common-auth-pc ] ; then
|
||||||
pam-config --debug --create --force
|
pam-config --debug --create --force
|
||||||
else
|
else
|
||||||
pam-config --debug --update ||:
|
pam-config --debug --update --force
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
Loading…
Reference in New Issue
Block a user