<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
On 01/19/2012 08:45 AM, Reindl Harald wrote:
<blockquote cite="mid:4F182C97.6070108@thelounge.net" type="cite">
<pre wrap="">
Am 19.01.2012 15:31, schrieb Kevin Martin:
</pre>
<blockquote type="cite">
<pre wrap="">
On 01/18/2012 12:05 PM, Reindl Harald wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
Am 18.01.2012 18:42, schrieb Kevin Martin:
</pre>
<blockquote type="cite">
<pre wrap="">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!
</pre>
</blockquote>
<pre wrap="">what are you speaking about?
"systemctl enable network.service" exists all the time
</pre>
</blockquote>
<pre wrap="">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
</pre>
</blockquote>
<pre wrap="">
as every other sysv-service since systemd took over
what do you think does the "via systemctl" mean? :-)
[root@rh:~]$ service network restart
Restarting network (via systemctl): [ OK ]
[root@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
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
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...)<br>
<br>
Kevin<br>
</body>
</html>