From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] systemd: Do not longer depend on authconfig
Date: Fri, 17 Feb 2023 16:48:22 +0100 [thread overview]
Message-ID: <20230217154822.2973-1-stefan.schantl@ipfire.org> (raw)
[-- 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
reply other threads:[~2023-02-17 15:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230217154822.2973-1-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox