[systemd] Run authconfig if /etc/pam.d/system-auth is not a symlink
Michal Schmidt
michich at fedoraproject.org
Tue Nov 15 19:49:26 UTC 2011
commit ce9f78e651b7bd0dd10439fb5c9325e11f927567
Author: Michal Schmidt <mschmidt at redhat.com>
Date: Tue Nov 15 20:47:19 2011 +0100
Run authconfig if /etc/pam.d/system-auth is not a symlink
Resolves: #753160
systemd.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index dc5df2b..919f3a0 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -2,7 +2,7 @@ Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Version: 37
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
Group: System Environment/Base
Summary: A System and Service Manager
@@ -187,7 +187,7 @@ rm -rf $RPM_BUILD_ROOT
/bin/systemctl daemon-reexec > /dev/null 2>&1 || :
# Make sure pam_systemd is enabled
-if ! /bin/grep -q pam_systemd /etc/pam.d/system-auth-ac >/dev/null 2>&1 ; then
+if ! /bin/grep -q pam_systemd /etc/pam.d/system-auth-ac >/dev/null 2>&1 || ! [ -h /etc/pam.d/system-auth ] ; then
/usr/sbin/authconfig --update --nostart >/dev/null 2>&1 || :
# Try harder
@@ -367,6 +367,10 @@ fi
%{_bindir}/systemd-sysv-convert
%changelog
+* Tue Nov 15 2011 Michal Schmidt <mschmidt at redhat.com> - 37-4
+- Run authconfig if /etc/pam.d/system-auth is not a symlink.
+- Resolves: #753160
+
* Wed Nov 02 2011 Michal Schmidt <mschmidt at redhat.com> - 37-3
- Fix remote-fs-pre.target and its ordering.
- Resolves: #749940
More information about the scm-commits
mailing list