Thank god for chkconfig still being somewhat workable in Fedora 16....

Kevin Martin kevintm at ameritech.net
Thu Jan 19 14:48:16 UTC 2012



On 01/19/2012 08:38 AM, Frank Murphy wrote:
> On 19/01/12 14:31, Kevin Martin wrote:
>
>>>
>> Well, see, that's what I thought too. But when I look, I don't see a
>> network.service file:
>>
>> $ ls /lib/systemd/system/*net*
>> /lib/systemd/system/network.target
>
> try systemctl status network.service
>
>>
>>
>> So I don't know how the command you mentioned would work.
>>
>
> It should, ir refrences non-native service back to SysV iirc.
>
> what does "chkconfig --list" show?
> is network in there?
>
> have you added: NM_CONTROLLED=no
> to your network script?
>
>
Frank,


chkconfig --list is how I determined that I even had networking after I removed NetworkManager via yum (I did not add
NM_CONTROLLED=no since I don't have NetworkManager installed anymore).  Below please see the output of both the "systemctl status"
and "chkconfig --list" (but I wonder if the "systemctl status network.service" doesn't show what it does *because* I already made
the network accessible in runlevel3 via a "chkconfig --level 3 network on" command.....)

$ systemctl status network.service
network.service - LSB: Bring up/down networking
      Loaded: loaded (/etc/rc.d/init.d/network)
      Active: active (exited) since Wed, 18 Jan 2012 12:11:22 -0600; 20h ago
    Main PID: 811 (code=exited, status=0/SUCCESS)
      CGroup: name=systemd:/system/network.service



$ chkconfig --list

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

iscsi              0:off    1:off    2:off    3:on    4:on    5:on    6:off
iscsid             0:off    1:off    2:off    3:on    4:on    5:on    6:off
livesys            0:off    1:off    2:off    3:on    4:on    5:on    6:off
livesys-late       0:off    1:off    2:off    3:on    4:on    5:on    6:off
netconsole         0:off    1:off    2:off    3:off    4:off    5:off    6:off
netfs              0:off    1:off    2:off    3:on    4:on    5:on    6:off
network            0:off    1:off    2:off    3:on    4:off    5:off    6:off

Kevin


More information about the users mailing list