- Remove output and error redirection to /dev/null in install

script, it might help tracing pam related issue (bnc#841573).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=442
This commit is contained in:
Frederic Crozat 2013-09-23 11:12:09 +00:00 committed by Git OBS Bridge
parent d0bb7783c7
commit 7c050524da
4 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 23 13:11:08 CEST 2013 - fcrozat@suse.com
- Remove output and error redirection to /dev/null in install
script, it might help tracing pam related issue (bnc#841573).
-------------------------------------------------------------------
Thu Sep 19 16:37:03 CEST 2013 - fcrozat@suse.com

View File

@ -631,7 +631,7 @@ getent group systemd-journal >/dev/null || groupadd -r systemd-journal || :
exit 0
%post
/usr/sbin/pam-config -a --systemd >/dev/null 2>&1 || :
/usr/sbin/pam-config -a --systemd || :
/sbin/ldconfig
/usr/bin/systemd-machine-id-setup >/dev/null 2>&1 || :
/usr/lib/systemd/systemd-random-seed save >/dev/null 2>&1 || :
@ -675,7 +675,7 @@ if [ $1 -ge 1 ]; then
/usr/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
fi
if [ $1 -eq 0 ]; then
/usr/sbin/pam-config -d --systemd >/dev/null 2>&1 || :
/usr/sbin/pam-config -d --systemd || :
fi
%preun

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 23 13:11:08 CEST 2013 - fcrozat@suse.com
- Remove output and error redirection to /dev/null in install
script, it might help tracing pam related issue (bnc#841573).
-------------------------------------------------------------------
Thu Sep 19 16:37:03 CEST 2013 - fcrozat@suse.com

View File

@ -626,7 +626,7 @@ getent group systemd-journal >/dev/null || groupadd -r systemd-journal || :
exit 0
%post
/usr/sbin/pam-config -a --systemd >/dev/null 2>&1 || :
/usr/sbin/pam-config -a --systemd || :
/sbin/ldconfig
/usr/bin/systemd-machine-id-setup >/dev/null 2>&1 || :
/usr/lib/systemd/systemd-random-seed save >/dev/null 2>&1 || :
@ -670,7 +670,7 @@ if [ $1 -ge 1 ]; then
/usr/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
fi
if [ $1 -eq 0 ]; then
/usr/sbin/pam-config -d --systemd >/dev/null 2>&1 || :
/usr/sbin/pam-config -d --systemd || :
fi
%preun