The officially official Devuan Forum!

You are not logged in.

#1 2022-03-23 21:05:22

deepforest
Member
Registered: 2020-03-24
Posts: 442  

[SOLVED] init: No inittab.d directory found during boot log

All works but i want to know what this message mean?

Last edited by deepforest (2022-03-23 22:41:34)


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#2 2022-03-24 14:35:54

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,866  

Re: [SOLVED] init: No inittab.d directory found during boot log

The *.d directories are a place for the administrator to put customized configurations that will not be wiped out if a new version of the config file is installed/upgraded. Something is programmed to check for files in that directory, and it's letting you know that there's nothing there.

It should be safe to ignore. I don't have that directory on my chimaera or daedalus installations.

Offline

#3 2022-03-24 14:55:44

deepforest
Member
Registered: 2020-03-24
Posts: 442  

Re: [SOLVED] init: No inittab.d directory found during boot log

Thanks foe reply!

What can i do that the this message doesn't appear? Or simply just ignore it?)


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#4 2022-03-24 17:16:14

chris2be8
Member
Registered: 2018-08-11
Posts: 366  

Re: [SOLVED] init: No inittab.d directory found during boot log

mkdir /etc/inittab.d as root might get rid of the message.

What is the full text of the message? And what other messages came out at the same time? Those might tell us what is generating the message. Look for it in syslog, dmesg, boot.log etc.

Offline

#5 2022-03-30 20:20:03

deepforest
Member
Registered: 2020-03-24
Posts: 442  

Re: [SOLVED] init: No inittab.d directory found during boot log

chris2be8 wrote:

mkdir /etc/inittab.d as root might get rid of the message.

What is the full text of the message? And what other messages came out at the same time? Those might tell us what is generating the message. Look for it in syslog, dmesg, boot.log etc.

Thank you very much! After creation of dir "/etc/inittab.d" no any warning messages at booting)

Last edited by deepforest (2022-04-01 18:15:56)


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile

Offline

#6 2026-03-15 09:47:34

fscara
Member
Registered: 2026-03-15
Posts: 1  

Re: [SOLVED] init: No inittab.d directory found during boot log

INIT: no inittab.d directory found

Offline

#7 2026-03-15 22:16:53

Altoid
Member
Registered: 2017-05-07
Posts: 1,987  

Re: [SOLVED] init: No inittab.d directory found during boot log

Hello:

fscara wrote:

INIT: no inittab.d directory found

My box runs on Devuan Daedalus ...

~$ uname -a
Linux devuan 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64 GNU/Linux
~$ 

... and I also get that printout in /var/log/syslog:

$ cat /var/log/syslog | grep inittab
Mar 15 04:08:48 localhost init: No inittab.d directory found
Mar 15 07:53:41 devuan init: No inittab.d directory found
Mar 15 10:10:50 devuan init: No inittab.d directory found
Mar 15 14:11:47 devuan init: No inittab.d directory found
$

That printout is not present in anywhere else.
ie: /boot, /debug, /kern.log, /messages or /user.log.

My system does not have a /etc/inittab.d directory but it is quite evident that some part of sysvinit routine is looking for it.

fsmithred wrote:

Something is programmed to check for files in that directory, and it's letting you know that there's nothing there.

Indeed ...
See here: https://fossies.org/linux/sysvinit/src/init.c

I think the best is to create the directory and remove the warning from the log.
It has probably been removed from the Debian installation process because systemd does not need it.

But Devuan does not use systemd.

Best,

A.

Last edited by Altoid (2026-03-15 22:19:00)

Offline

#8 Yesterday 21:34:36

abower
Member
Registered: 2024-04-19
Posts: 31  

Re: [SOLVED] init: No inittab.d directory found during boot log

It has probably been removed from the Debian installation process because systemd does not need it.

This functionality got added in 2020 so it probably never was used in Debian as standard!

https://github.com/slicer69/sysvinit/co … fcf8740c49

I had been wondering if we should get it added (via Debian) by default to encourage its use for drop-ins rather than maintscripts editing /etc/inittab.

Online

#9 Yesterday 22:56:27

Altoid
Member
Registered: 2017-05-07
Posts: 1,987  

Re: [SOLVED] init: No inittab.d directory found during boot log

Hello:

abower wrote:

... added in 2020 so it probably never was used in Debian ...

Yes ...
But sysvinit asks for it (see link) so it should be there.

abower wrote:

... wondering if we should get it added (via Debian) by default ...

Hmm ...

Added via Debian?
Something that is directly related to sysvinit?   8^D !!!

Right ...
You could try filing a bug against INIT: no inittab.d directory found with the Debian devs.
But you will not like the reply.

TL;DR:
Something along these lines ...

"On your way, mate. This is not a bug, sysvinit is not part of the default Debian configuration".

Eventually and only for completeness' sake, someone with the required knowledge could volunteer to write a small metapackage to do that.

If not, just add it manually and get rid on an unneeded warning in syslog.

Best,

A.

Last edited by Altoid (Today 07:55:14)

Offline

#10 Yesterday 23:57:02

abower
Member
Registered: 2024-04-19
Posts: 31  

Re: [SOLVED] init: No inittab.d directory found during boot log

Hi Altoid,

You could try filing a bug against INIT: no inittab.d directory found with the Debian devs.
But you will not like the reply.

I would not be so sure!

Watch this space: https://bugs.debian.org/1131137

Online

#11 Today 00:05:09

tyder
Member
From: Oslo, Norway
Registered: 2016-12-19
Posts: 47  

Re: [SOLVED] init: No inittab.d directory found during boot log

Maybe one could just add a line to the default /etc/rc.local in the first place?

[ -d /etc/inittab.d ] || mkdir /etc/inittab.d

I use this mechanism for other 'non-default' directories that are useful or necessary for me.

Offline

#12 Today 00:07:44

Altoid
Member
Registered: 2017-05-07
Posts: 1,987  

Re: [SOLVED] init: No inittab.d directory found during boot log

Hello:

abower wrote:

I would not be so sure!

Happened to me once and have seen it happen to others.
But things sometimes change.

And nothing is certain exept death and taxes.

abower wrote:

Waytogo !   8^)
Valiant effort, thanks for that.

Let's see what happens.

Best,

A.

Offline

#13 Today 09:20:26

FM81
Member
Registered: 2017-09-16
Posts: 38  

Re: [SOLVED] init: No inittab.d directory found during boot log

[ -d /etc/inittab.d ] || mkdir /etc/inittab.d

There is no need, to check again and again, if the directory exists.
Once you've created it (as described in post #4), everything is fine!
And all files /etc/inittab.d/*.tab will be included in INIT-process.

Best regards, FM_81


The most brilliant role in comedy is that of a fool, he must not be in order to make it seem. (Miguel de Cervantes)

Offline

#14 Today 20:04:39

abower
Member
Registered: 2024-04-19
Posts: 31  

Re: [SOLVED] init: No inittab.d directory found during boot log

Altoid wrote:

abower wrote:

Let's see what happens.

And lo, it was done.

Oh ye of little faith!

The message will be removed and documentation added in the next upstream release. Expect in Freia. :-)

Online

Board footer