You are not logged in.

#1 2015-10-24 09:31:50

geekinthesticks
Member
From: England
Registered: 2011-09-21
Posts: 143
Website

[solved] netctl "Missing Dependency". Won't start.

I have three Linode servers running Arch, all using netctl and all configured with a fixed ip:

ethernet-static:

Description='A basic static ethernet connection'
Interface=enp0s4
Connection=ethernet
IP=static

Address=('45.56.99.179/24')
#Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='45.56.99.1'
DNS=('97.107.133.4')

After a recent update netctl fails on one of the servers:

systemctl status netctl

netctl.service - (Re)store the netctl profile state
   Loaded: loaded (/usr/lib/systemd/system/netctl.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
netflix ~ » netctl status ethernet-static                                                               1 ↵
● netctl@ethernet\x2dstatic.service - A basic static ethernet connection
   Loaded: loaded (/etc/systemd/system/netctl@ethernet\x2dstatic.service; enabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:netctl.profile(5)

Oct 23 17:11:04 netflix.wilkesley.net systemd[1]: Dependency failed for A basic static ethernet connection.
Oct 23 17:11:04 netflix.wilkesley.net systemd[1]: netctl@ethernet\x2dstatic.service: Job netctl@ethern...y'.
Oct 23 17:13:21 netflix.wilkesley.net systemd[1]: Dependency failed for A basic static ethernet connection.
Oct 23 17:13:21 netflix.wilkesley.net systemd[1]: netctl@ethernet\x2dstatic.service: Job netctl@ethern...y'

I presume the clue is "Vendor preset disabled", but it used to work and I haven't done anything other than upgrade packages.

Last edited by geekinthesticks (2015-10-25 08:40:31)

Offline

#2 2015-10-24 11:38:39

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: [solved] netctl "Missing Dependency". Won't start.

The listed dependencies for nttctl are: coreutils  iproute2  openresolv  systemd

Check these are installed and/or reinstall them.

"Vendor preset disabled" merely means that this is disabled by default.

I don't use it - have you read systemd-networkd?

Andrew

Offline

#3 2015-10-24 12:07:22

geekinthesticks
Member
From: England
Registered: 2011-09-21
Posts: 143
Website

Re: [solved] netctl "Missing Dependency". Won't start.

Thanks. Tried re-installing dependencies, but didn't work. Trying dhcp with netctl also didn't work. However, dhcpcd works just fine. I might try systemd-networkd. However, I would like to get to the bottom of the problem, as my other Linodes are configured in the same way and may suffer the same problem at some point.

Offline

#4 2015-10-24 16:49:20

branch
Member
Registered: 2014-03-16
Posts: 209

Re: [solved] netctl "Missing Dependency". Won't start.

The netctl@ethernet\x2dstatic.service unit depends on the enp0s4 device. Any chance they changed something about the VM that made this device enumerate to a different name?

Offline

#5 2015-10-25 08:39:59

geekinthesticks
Member
From: England
Registered: 2011-09-21
Posts: 143
Website

Re: [solved] netctl "Missing Dependency". Won't start.

branch wrote:

The netctl@ethernet\x2dstatic.service unit depends on the enp0s4 device. Any chance they changed something about the VM that made this device enumerate to a different name?

That did happen a while ago when it changed from eth0 to enp0s4. However, I checked and it hasn't changed again.

I have now disabled netctl and am using systemd-networkd which is working. I'll mark the topic as "solved", although I never got to the root cause of netctl stopping working.

Offline

Board footer

Powered by FluxBB