- enable pam_systemd module, using pam-config.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=179
This commit is contained in:
parent
cbe0a610ca
commit
e41bfa5fff
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 19 08:15:15 UTC 2011 - fcrozat@suse.com
|
||||
|
||||
- enable pam_systemd module, using pam-config.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 18 07:31:12 UTC 2011 - aj@suse.de
|
||||
|
||||
|
@ -43,6 +43,7 @@ Requires: udev >= 172
|
||||
Requires: dbus-1 >= 1.4.0
|
||||
Requires: kbd
|
||||
Requires: util-linux >= 2.19
|
||||
Requires: pam-config
|
||||
Conflicts: filesystem < 11.5
|
||||
Conflicts: mkinitrd < 2.7.0
|
||||
Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.bz2
|
||||
@ -183,6 +184,7 @@ ln -s systemd-random-seed-load.service %{buildroot}/lib/systemd/system/random.se
|
||||
%endif
|
||||
|
||||
%post
|
||||
/usr/sbin/pam-config -a --systemd || :
|
||||
/bin/systemd-machine-id-setup >/dev/null 2>&1 || :
|
||||
/bin/systemctl daemon-reexec >/dev/null 2>&1 || :
|
||||
/sbin/ldconfig
|
||||
@ -208,6 +210,9 @@ fi
|
||||
if [ $1 -ge 1 ]; then
|
||||
/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
if [ $1 -eq 0 ]; then
|
||||
/usr/sbin/pam-config -d --systemd || :
|
||||
fi
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user