From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] systemd: Do not longer depend on authconfig Date: Fri, 17 Feb 2023 16:48:22 +0100 Message-ID: <20230217154822.2973-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4839160385046136615==" List-Id: --===============4839160385046136615== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The pam_systemd module nowadays is part of the default pam auth configuration - so this is not longer required. Signed-off-by: Stefan Schantl --- 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 =20 packages package %{name} - prerequires +=3D authconfig - requires dbus hwdata @@ -285,14 +283,6 @@ packages # Reexec systemd daemon. /usr/bin/systemctl daemon-reexec > /dev/null 2>&1 || : =20 - # 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(a).service >/dev/null 2>&1 || : =20 --=20 2.30.2 --===============4839160385046136615==--