You are not logged in.

#1 2016-05-17 19:01:26

jamesfcarter
Member
Registered: 2012-07-16
Posts: 6

Occasional failure to bring up inteface on boot

Hi,

I'm basically suffering exactly the same issue as described in this post from 2013: https://bbs.archlinux.org/viewtopic.php?id=170044

It's only started happening recently, but now about 50% of the time netctl fails to bring up my network interface on boot:

● netctl@enp3s0.service - A basic static ethernet connection
   Loaded: loaded (/etc/systemd/system/netctl@enp3s0.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2016-05-17 19:48:28 BST; 2min 7s ago
     Docs: man:netctl.profile(5)
  Process: 355 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 355 (code=exited, status=1/FAILURE)

May 17 19:48:23 newton systemd[1]: Starting A basic static ethernet connection...
May 17 19:48:23 newton network[355]: Starting network profile 'enp3s0'...
May 17 19:48:28 newton network[355]: Duplicate Address Detection is taking too long on interface 'enp3s0'
May 17 19:48:28 newton network[355]: Failed to bring the network up for profile 'enp3s0'
May 17 19:48:28 newton systemd[1]: netctl@enp3s0.service: Main process exited, code=exited, status=1/FAILURE
May 17 19:48:28 newton systemd[1]: Failed to start A basic static ethernet connection.
May 17 19:48:28 newton systemd[1]: netctl@enp3s0.service: Unit entered failed state.
May 17 19:48:28 newton systemd[1]: netctl@enp3s0.service: Failed with result 'exit

Subsequent attempts to bring the network up fail for a different reason, presumably because the initial failure leaves the interface in an unexpected state:

● netctl@enp3s0.service - A basic static ethernet connection
   Loaded: loaded (/etc/systemd/system/netctl@enp3s0.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2016-05-17 19:51:12 BST; 5s ago
     Docs: man:netctl.profile(5)
  Process: 31698 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 31698 (code=exited, status=1/FAILURE)

May 17 19:51:10 newton systemd[1]: Starting A basic static ethernet connection...
May 17 19:51:10 newton network[31698]: Starting network profile 'enp3s0'...
May 17 19:51:12 newton network[31698]: RTNETLINK answers: File exists
May 17 19:51:12 newton network[31698]: Could not add address '192.168.1.11/24' to interface 'enp3s0'
May 17 19:51:12 newton network[31698]: Failed to bring the network up for profile 'enp3s0'
May 17 19:51:12 newton systemd[1]: netctl@enp3s0.service: Main process exited, code=exited, status=1/FAILURE
May 17 19:51:12 newton systemd[1]: Failed to start A basic static ethernet connection.
May 17 19:51:12 newton systemd[1]: netctl@enp3s0.service: Unit entered failed state.
May 17 19:51:12 newton systemd[1]: netctl@enp3s0.service: Failed with result 'exit-code'.

I've been working around this issue by getting another address via dhcpcd (which works fine), although I'm now going to try the workaround suggested in the 2013 post.

Does anyone have any idea what might be going wrong here?

Thanks.

Offline

Board footer

Powered by FluxBB