You are not logged in.

#1 2016-10-15 14:58:17

cuulcars
Member
Registered: 2016-10-15
Posts: 2

[Solved] systemd starting a job @ device, cannot find how to disable

Hello,

I'm getting the following error everytime I boot arch and it takes 1.5 minutes to timeout, slowing down my start up process considerably.

Oct 14 15:29:00 allison-MBArch systemd[1]: sys-subsystem-net-devices-enp2s0f0.device: Job sys-subsystem-net-devices-enp2s0f0.device/start timed out.
Oct 14 15:29:00 allison-MBArch systemd[1]: Timed out waiting for device sys-subsystem-net-devices-enp2s0f0.device.
Oct 14 15:29:00 allison-MBArch systemd[1]: Dependency failed for dhcpcd on enp2s0f0.
Oct 14 15:29:00 allison-MBArch systemd[1]: dhcpcd@enp2s0f0.service: Job dhcpcd@enp2s0f0.service/start failed with result 'dependency'.
Oct 14 15:29:00 allison-MBArch systemd[1]: sys-subsystem-net-devices-enp2s0f0.device: Job sys-subsystem-net-devices-enp2s0f0.device/start failed with result 'timeout'.
Oct 14 15:29:00 allison-MBArch systemd[1]: Reached target Network.

I found these two forum posts and tried their advice:
https://bbs.archlinux.org/viewtopic.php?id=166607
https://bbs.archlinux.org/viewtopic.php?id=166104

But no luck. When I tried " grep -ir enp2s0f0 /etc/systemd/*" it did not return anything. I think it is trying to bind a non-existent device to the dhcp daemon? But I cannot figure out where the device is being specified and how to disable it. I tried "netctl list" to see if its trying to bind a profile but I have no netctl profiles.

Any help is appreciated.

Last edited by cuulcars (2016-10-15 19:41:35)

Offline

#2 2016-10-15 15:32:58

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [Solved] systemd starting a job @ device, cannot find how to disable

It says the failing device unit is a dependency for dhcpcd@enp2s0f0.service. If you don't have a device with that name, simply disable that dhcpcd instance.

If you somehow missed the service unit and saw only the device unit in the logs, you could still see what's pulling it in with

$ systemctl list-dependencies --reverse sys-subsystem-net-devices-enp2s0f0.device

Grepping won't help you because the device name only shows up as part of the filename.

Offline

#3 2016-10-15 16:42:02

cuulcars
Member
Registered: 2016-10-15
Posts: 2

Re: [Solved] systemd starting a job @ device, cannot find how to disable

Thanks! I was able to "find -name *enp2s0f0*" and manually remove the file.

Offline

#4 2016-10-15 17:41:40

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [Solved] systemd starting a job @ device, cannot find how to disable

I was suggesting

# systemctl disable dhcpcd@enp2s0f0.service

but that works too. Please mark your thread as solved (see https://bbs.archlinux.org/viewtopic.php?id=130309)

Offline

Board footer

Powered by FluxBB