From patchwork Thu Mar 17 21:27:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 5351 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 4KKKwq2wC7z3xlr for ; Thu, 17 Mar 2022 21:27:23 +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) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4KKKwn5pHtzWR; Thu, 17 Mar 2022 21:27:21 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4KKKwn4t22z2yWF; Thu, 17 Mar 2022 21:27:21 +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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4KKKwm2bFZz2xLF for ; Thu, 17 Mar 2022 21:27:20 +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 4KKKwl5B73zCP; Thu, 17 Mar 2022 21:27:19 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1647552439; 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=eD6dZeScmKTnsNwrsg6eNR1oCfzEKYEY5DbhcOChR0g=; b=qC8z9RHaAmvVNmejFOiJ/8OtonwT7ZmlF0y3oHwmjxMEDFQBXbuorC5Yc/fLJgDUKTZpyE Uus8OLdwCbd2TZAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1647552439; 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=eD6dZeScmKTnsNwrsg6eNR1oCfzEKYEY5DbhcOChR0g=; b=B6cr8lGRohO0ohexsiyDL0dUt4MRonPhcSiRg2l2wemDYOfqHr2AZAx4mY5NUveTVioMj0 w7BW0Na6NGS3JXUCV/C36GeySaGHxlNsXNlEf1taAc78GSHgG9YRhrFGD37ld28WPI4+T2 y+NI+XCiGc6e6zxaDp93Zmw8Qv2XSTydwJzWKLTaFXIm1GSHG/D3tbTMPmb42z1t17i/CZ k1YLoQ7vmDs8bkEwjzKmKubb2tNzEdNog3TcN4uJHYFxz2FqitMft1IOMEUYkl43fFGX7c g5YiMftoY8X54lRGRl8JqqHZF9KHVX/1u8R8Q5TjGQnIMgIaCfWuTHK0W5ycnA== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] sysvinit: Update rootfile to fix bug 12797 Date: Thu, 17 Mar 2022 22:27:15 +0100 Message-Id: <20220317212715.3543142-1-adolf.belka@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" - In sysvinit-2.97 (Dec2020) a patch was added which allows init to load configuration data from files stored in /etc/inittab.d/ This modification would have come in with Core Update 155. - When sysvinit was updated from 2.88dsf to 2.98 the /etc/inittab.d/ directory in the rootfile was commented out. Sysvinit looks to see if there are any files in inittab.d but as that directory does not exist then the message "No inittab.d directory found" is written during the boot and is also shown in the log summary. - This patch uncomments the directory so that it will be present. No files will be placed in it but its prescence will stop the error message being shown during boot. Fixes: Bug #12797 Signed-off-by: Adolf Belka --- config/rootfiles/common/sysvinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/rootfiles/common/sysvinit b/config/rootfiles/common/sysvinit index d06a31872..f97745760 100644 --- a/config/rootfiles/common/sysvinit +++ b/config/rootfiles/common/sysvinit @@ -1,6 +1,6 @@ bin/mountpoint bin/pidof -#etc/inittab.d +etc/inittab.d #sbin/bootlogd #sbin/fstab-decode sbin/halt