LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Does Fedora use inittab to guide booting (http://www.linuxquestions.org/questions/fedora-35/does-fedora-use-inittab-to-guide-booting-4175472742/)

emerson1979 08-09-2013 03:14 AM

Does Fedora use inittab to guide booting
 
Hello Everyone
Does anyone know if Fedora uses inittab for booting the OS.


Thanks

Berhanie 08-09-2013 03:27 AM

is that a homework question?

this is my inittab from fedora 19:
Code:

# inittab is no longer used when using systemd.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /etc/systemd/system/ctrl-alt-del.target
#
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
#
# To set a default target, run:
#
# ln -sf /lib/systemd/system/<target name>.target /etc/systemd/system/default.target
#


lleb 08-11-2013 08:24 PM

Quote:

Originally Posted by emerson1979 (Post 5006081)
Hello Everyone
Does anyone know if Fedora uses inittab for booting the OS.


Thanks

it used to and it sort of still does. older vs that ran sysV used the inittab, now that Fedora 18 and newer are moving more and more towards systemd that will start to go away.

tomwest 08-11-2013 09:40 PM

If I run:
Code:

chkconfig --list
on my system, I get the following, which is self-explanatory and appears to answer the OP's original question:
Code:

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.

      If you want to list systemd services use 'systemctl list-unit-files'.
      To see services enabled on particular target use
      'systemctl list-dependencies [target]'.

ebtables      0;off  1;off  2;off  3;off  4;off  5;off  6;off
netconsole    0;off  1;off  2;off  3;off  4;off  5;off  6;off
network        0;off  1;off  2;off  3;off  4;off  5;off  6;off

(Note: The semi-colon is a replacement for the colon ... the BB code didn't like reproducing all the colons so I replaced them with semi-colons to get this response up.)


All times are GMT -5. The time now is 09:04 PM.