From ce9f78e651b7bd0dd10439fb5c9325e11f927567 Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Nov 15 2011 19:47:35 +0000 Subject: Run authconfig if /etc/pam.d/system-auth is not a symlink Resolves: #753160 --- 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 - 37-4 +- Run authconfig if /etc/pam.d/system-auth is not a symlink. +- Resolves: #753160 + * Wed Nov 02 2011 Michal Schmidt - 37-3 - Fix remote-fs-pre.target and its ordering. - Resolves: #749940