public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] systemd: Do not longer depend on authconfig
@ 2023-02-17 15:48 Stefan Schantl
  0 siblings, 0 replies; only message in thread
From: Stefan Schantl @ 2023-02-17 15:48 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]

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(a)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(a).service >/dev/null 2>&1 || :
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-17 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17 15:48 [PATCH] systemd: Do not longer depend on authconfig Stefan Schantl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox