Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#34956 - [dhcpcd] proposal: add dhcpcd-no-wait@.service
Attached to Project:
Arch Linux
Opened by Marius (65kid) - Thursday, 25 April 2013, 18:30 GMT
Last edited by Anatol Pomozov (anatolik) - Thursday, 20 March 2014, 13:49 GMT
Opened by Marius (65kid) - Thursday, 25 April 2013, 18:30 GMT
Last edited by Anatol Pomozov (anatolik) - Thursday, 20 March 2014, 13:49 GMT
|
DetailsOn my laptop, I want dhcpcd to watch both my wifi and ethernet interface. I can't use dhcpcd.service for this because it causes udev to fail to rename the network interfaces on bootup. I can't use dhcpcd@.service either because it is configured with the "-w" switch to wait for the interface to be up before the process forks. If, for example, there is no ethernet cable plugged in on bootup, the service will timeout and fail.
for this usecase I propose a dhcpcd-no-wait@.service which uses the "-b" switch instead of the "-w" switch. The process will then fork immediately and watch the interface. I also noticed bug #33923 and thought of a way to fix this with the dhcpcd-no-wait@.service. I don't know if this would actually work and haven't tested it, but couldn't the arch iso just use a udev rule to start a dhcpcd-no-wait@.service on any renamed interface that comes up? Something like this: SUBSYSTEM=="net", NAME!="", ENV{SYSTEMD_WANTS}="dhcpcd-no-wait@$name.service" I bet there is a reason this doesn't work, but I thought I'd throw the idea out there. |
This task depends upon
Closed by Anatol Pomozov (anatolik)
Thursday, 20 March 2014, 13:49 GMT
Reason for closing: Won't fix
Additional comments about closing: networkd makes this obsolete for me and there wasn't any response from the maintainers for almost a year anyway.
Thursday, 20 March 2014, 13:49 GMT
Reason for closing: Won't fix
Additional comments about closing: networkd makes this obsolete for me and there wasn't any response from the maintainers for almost a year anyway.

Is there any reason the -w switch is used instead of -b? Seems pointless.

I'm confused to the extent of dhcpcd@.service functionality. Shouldn't wired interfaces be handled by systemd-networkd? http://dabase.com/blog/Good_riddance_netctl/

I opened this bug long before systemd-networkd was even in development stage. But yeah, I also use networkd now and don't care about this functionality anymore, and I guess the maintainers don't either, so I will close this.