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(-)
diff --git a/systemd/systemd.nm b/systemd/systemd.nm index 98f1aa9cc..5e3d69cb2 100644 --- a/systemd/systemd.nm +++ b/systemd/systemd.nm @@ -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 || :