[CentOS] systemd missing something?
Alexander Dalloz
ad+lists at uni-x.org
Sun May 7 14:41:02 UTC 2017
Am 07.05.2017 um 16:22 schrieb ken:
> "Note that traditional init scripts continue to function on a systemd
> system. An init script /etc/rc.d/init.d/foobar is implicitly mapped
> into a service unit foobar.service during system initialization."
>
> That's what it says in /etc/init.d/README.
>
> However, what it implies doesn't seem to work out.
>
> In the same directory as that README is a file called "network" which is
> symlinked into the various /etc/rc.d/rc?.d/ directories, i.e.:
>
> # ls -l $(find /etc/rc.d/ -name S*network)
> lrwxrwxrwx. 1 root root 17 Jan 26 15:23 /etc/rc.d/rc2.d/S56network ->
> ../init.d/network
> lrwxrwxrwx. 1 root root 17 Jan 26 15:23 /etc/rc.d/rc3.d/S56network ->
> ../init.d/network
> lrwxrwxrwx. 1 root root 17 Jan 26 15:23 /etc/rc.d/rc4.d/S56network ->
> ../init.d/network
> lrwxrwxrwx. 1 root root 17 Jan 26 15:22 /etc/rc.d/rc5.d/S56network ->
> ../init.d/network
>
> But "network" isn't executed on boot. However, it does work when I run
> this:
>
> # /etc/init.d/network restart
>
> So is this a bug, or is there something else that needs to be done?
CentOS 7 uses by default NetworkManager, thus the network service is
disabled because both conflict.
Alexander
More information about the CentOS
mailing list