[om-qa-alerts] [Bug 1984] dhcpd service don't start due Type=notify

issues.openmandriva bugzilla-daemon at openmandriva.net
Tue Oct 25 06:01:05 EDT 2016


https://issues.openmandriva.org/show_bug.cgi?id=1984

--- Comment #12 from jedumartins at gmail.com ---

Oops!

After 
$ sudo systemctl daemon-reload
systemd said 
"Failed to start DHCPv4 Server Daemon"

If I change /lib/systemd/system/dhcpd.service, it works.

$ cat /lib/systemd/system/dhcpd.service
[Unit]
Description=DHCPv4 Server Daemon
After=syslog.target network-online.target ldap.service
Wants=network-online.target

[Service]
Environment=CONFIGFILE=/etc/dhcpd.conf LEASEFILE=/var/lib/dhcpd/dhcpd.leases
EnvironmentFile=-/etc/sysconfig/dhcpd
Type=forking
PIDFile=/run/dhcpd/dhcpd.pid
ExecStart=/usr/sbin/dhcpd -pf /run/dhcpd/dhcpd.pid -cf $CONFIGFILE -lf
$LEASEFILE $OPTIONS $INTERFACES

[Install]
WantedBy=multi-user.target

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.openmandriva.org/pipermail/om-qa-alerts_ml.openmandriva.org/attachments/20161025/0cfdb1f6/attachment.html>


More information about the OM-QA-Alerts mailing list