systemd: Do not longer depend on authconfig
Commit Message
The pam_systemd module nowadays is part of the
default pam auth configuration - so this is not longer
required.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
systemd/systemd.nm | 10 ----------
1 file changed, 10 deletions(-)
@@ -225,8 +225,6 @@ end
packages
package %{name}
- prerequires += authconfig
-
requires
dbus
hwdata
@@ -285,14 +283,6 @@ packages
# Reexec systemd daemon.
/usr/bin/systemctl daemon-reexec > /dev/null 2>&1 || :
- # Make sure pam_systemd is enabled
- if ! grep -q pam_systemd /etc/pam.d/system-auth-ac ; then
- authconfig --update --nostart >/dev/null 2>&1 || :
-
- # Try harder
- grep -q pam_systemd /etc/pam.d/system-auth-ac || authconfig --updateall --nostart >/dev/null 2>&1 || :
- fi
-
# Automatically spawn a getty on TTY1
/usr/bin/systemctl enable getty@.service >/dev/null 2>&1 || :