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

Kevin Martin kevintm at ameritech.net
Thu Jan 19 14:50:46 UTC 2012



On 01/19/2012 08:45 AM, Reindl Harald wrote:
>
> Am 19.01.2012 15:31, schrieb Kevin Martin:
>>
>> On 01/18/2012 12:05 PM, Reindl Harald wrote:
>>> Am 18.01.2012 18:42, schrieb Kevin Martin:
>>>> Chkconfig --level 3 network on setup the following files in
>>>> /lib/systemd/system/multi-user.target.wants directory:
>>>>
>>>> dbus.service
>>>> getty.target
>>>> plymouth-quit.service
>>>> plymouth-quit-wait.service
>>>> rc-local.services
>>>> systemd-ask-password-wall.path
>>>> systemd-logind.service
>>>> systemd-user-sessions.service
>>>>
>>>> What a big bunch of links to have setup!  
>>>> I hope that somebody, when chkconfig is no longer installed by default, 
>>>> has an equivalent type command to enable networking when there's no
>>>> X windows available! 
>>> what are you speaking about?
>>> "systemctl enable network.service" exists all the time
>>>
>> 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
>>
>> So I don't know how the command you mentioned would work
> as every other sysv-service since systemd took over
> what do you think does the "via systemctl" mean? :-)
>
> [root at rh:~]$ service network restart
> Restarting network (via systemctl):                        [  OK  ]
>
> [root at rh:~]$ systemctl status network.service
> network.service - LSB: Bring up/down networking
>           Loaded: loaded (/etc/rc.d/init.d/network)
>           Active: active (exited) since Thu, 19 Jan 2012 15:44:54 +0100; 37s ago
>          Process: 8117 ExecStop=/etc/rc.d/init.d/network stop (code=exited, status=0/SUCCESS)
>          Process: 8281 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=0/SUCCESS)
>           CGroup: name=systemd:/system/network.service
>
>
>
>
>
I get that; what I don't get is how it even *sees* a  network.service service since there is no network.service file in
/lib/systemd/system (unless it's as a result of my making the network available in runlevel3 when I did the "chkconfig --level 3
network on" command...)

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120119/7c761f50/attachment.html>


More information about the users mailing list