sysvinit: Update rootfile to fix bug 12797

Message ID 20220317212715.3543142-1-adolf.belka@ipfire.org
State Accepted
Commit a1e9afcbaffbb8ca594db1da783c5926b14ea982
Headers
Series sysvinit: Update rootfile to fix bug 12797 |

Commit Message

Adolf Belka March 17, 2022, 9:27 p.m. UTC
  - 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 <adolf.belka@ipfire.org>
---
 config/rootfiles/common/sysvinit | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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