<html>
<head>
<base href="https://issues.openmandriva.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_IN_PROGRESS "
title="IN_PROGRESS - dhcpd service don't start due Type=notify"
href="https://issues.openmandriva.org/show_bug.cgi?id=1984#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_IN_PROGRESS "
title="IN_PROGRESS - dhcpd service don't start due Type=notify"
href="https://issues.openmandriva.org/show_bug.cgi?id=1984">bug 1984</a>
from <span class="vcard"><a class="email" href="mailto:jedumartins@gmail.com" title="jedumartins@gmail.com">jedumartins@gmail.com</a>
</span></b>
<pre>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>