You are not logged in.

#1 2013-05-13 11:59:17

b0b0tiken
Member
Registered: 2010-08-25
Posts: 8

dhcpcd.service vs dhcpcd@eth0.service

Hello everybody,

It seems like I have 2 dhcpcd services:   dhcpcd.service and dhcpcd@eth0.service

The eth0.service one fails at boot, however the first one seems to work.

 systemctl status dhcpcd
dhcpcd.service - dhcpcd on all interfaces
   Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; enabled)
   Active: active (running) since Mon 2013-05-13 07:41:35 EDT; 15min ago
  Process: 315 ExecStart=/sbin/dhcpcd -q -b (code=exited, status=0/SUCCESS)
 Main PID: 329 (dhcpcd)
   CGroup: name=systemd:/system/dhcpcd.service
           └─329 /sbin/dhcpcd -q -b
systemctl status dhcpcd@eth0
dhcpcd@eth0.service - dhcpcd on eth0
   Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled)
   Active: failed (Result: resources) since Mon 2013-05-13 07:41:35 EDT; 15min ago
  Process: 313 ExecStart=/usr/sbin/dhcpcd -q -w %I (code=exited, status=0/SUCCESS)

Should I just disable and remove the dhcpcd.service and let the other one enabled ?

Cheers,

b0b0

Offline

#2 2013-05-13 12:28:23

madr
Member
From: Norway
Registered: 2013-04-25
Posts: 87

Re: dhcpcd.service vs dhcpcd@eth0.service

I'm just using the dhcpcd.service. Works fine.

Offline

#3 2013-05-13 12:35:02

hotvic
Member
Registered: 2013-02-11
Posts: 109

Re: dhcpcd.service vs dhcpcd@eth0.service

dhcpcd.service will enable DHCP Client on all interfaces...

dhcpcd@<interface>.service will enable DHCP Client only on <interface>...

Then you choose if only want to enable DHCP Client on one interface or on all.

Offline

#4 2013-05-13 13:26:36

b0b0tiken
Member
Registered: 2010-08-25
Posts: 8

Re: dhcpcd.service vs dhcpcd@eth0.service

Thank you guys.

I disabled the dhcpcd.service and the dhcpcd@eth0.service started just fine.

Offline

Board footer

Powered by FluxBB