FS#52557 - [dhcp] Fails when network.target is reached before all interfaces online

Attached to Project: Arch Linux
Opened by M.Reynolds (TheChickenMan) - Sunday, 15 January 2017, 10:05 GMT
Last edited by Christian Hesse (eworm) - Thursday, 05 October 2017, 20:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

dhcpd4.service fails to start when network.target is reached before all interfaces come online.
I fixed the issue by editing the unit file as per below:

[Unit]
Description=IPv4 DHCP server
After=syslog.target network-online.target
Wants=network-online.target

[Service]
Type=forking
PIDFile=/run/dhcpd4.pid
ExecStart=/usr/bin/dhcpd -4 -q -cf /etc/dhcpd.conf -pf /run/dhcpd4.pid
KillSignal=SIGINT

[Install]
WantedBy=multi-user.target
This task depends upon

Closed by  Christian Hesse (eworm)
Thursday, 05 October 2017, 20:39 GMT
Reason for closing:  Fixed
Additional comments about closing:  dhcp 4.3.6-1

Loading...