[CentOS] Network services start before network is up since migrating to 7.2

Wed Dec 23 11:26:39 UTC 2015
Sylvain CANOINE <sylvain.canoine at tv5monde.org>

----- Mail original -----
> De: "Gordon Messmer" <gordon.messmer at gmail.com>
> À: "centos" <centos at centos.org>
> Envoyé: Mercredi 23 Décembre 2015 10:11:05
> Objet: Re: [CentOS] Network services start before network is up since migrating to 7.2

> I'm a little confused, too.  But, it might be more informative to query
> the system for "network.target" than "network.service" since the former
> is the one missing.

# rpm -V systemd
S.5....T.  c /etc/rc.d/rc.local

Ok, normal...


# ll /usr/lib/systemd/system/network.target
-rw-r--r--. 1 root root 480 20 nov.  05:49 /usr/lib/systemd/system/network.target
# cat /usr/lib/systemd/system/network.target
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

[Unit]
Description=Network
Documentation=man:systemd.special(7)
Documentation=http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget
After=network-pre.target
RefuseManualStart=yes
# systemctl status network.target
● network.target - Network
   Loaded: loaded (/usr/lib/systemd/system/network.target; static; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:systemd.special(7)
           http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget

Dead ? Hmmm...

Sylvain.
Pensez ENVIRONNEMENT : n'imprimer que si ncessaire