From patchwork Fri Feb 17 15:48:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6552 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PJGSJ5b7lz3x1n for ; Fri, 17 Feb 2023 15:48:32 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PJGSH2Tmdzkm; Fri, 17 Feb 2023 15:48:31 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PJGSH0Dbgz2yW1; Fri, 17 Feb 2023 15:48:31 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PJGSF3fH2z2xNg for ; Fri, 17 Feb 2023 15:48:29 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4PJGSD5XvDzHs; Fri, 17 Feb 2023 15:48:28 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1676648909; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=CBr9OKBrzrxD4CUzgYQZm0zwhIzd+aHWKZZpLOg70OE=; b=LDnsZLTFmRTIaPplYN2kGj59R+q4oFlivBzKrudgiF6JwVXI8M1JmTkLeoejPEra5EeDRJ Fr1Ed+ph58xShcDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1676648909; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=CBr9OKBrzrxD4CUzgYQZm0zwhIzd+aHWKZZpLOg70OE=; b=F6XVEFJykYZFz4JIHqoMBj0GiG1Ikf8kM4tHyog4pJoGotnYUxHZKjYg29ujHCrvesfh3P 5Sznnf1iEhHGIkmxUiJOyci/mt1lEux43OkXUjvh4cOcrxYMrB/mdTsss/9kS4hVtGvAlB 2qR+gTHc/IAVQUO+OCb6LP0gf13tAaRh3Rt4JGrk/EHNzx/6Nu8IbjgxYSxYnN6wqWGD+h qAjZ1u7k5HCqDx9txuoAoNkXoyZGu+si9BORxc6+CUNaPwqiHJ6eqpdefGbswuU2xUOqwa PCqln6liQl/oME3Hlkg6gfBPYXL2HZbrgZLf5XDttIktgGOFv69KTMkbgdS9vg== 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 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" 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 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 || :