Red Hat Bugzilla – Bug 1256339
dhcrelay execstart parameters trashed after upgrade
Last modified: 2015-08-27 11:06:04 EDT
Description of problem: Inteface and server parameters are lost after dhcrelay version upgrade. Before upgrade dhcrelay.service ExecStart parameters were,
ExecStart=/usr/sbin/dhcrelay -d --no-pid -i eth1 -i eth2 192.168.1.1 192.168.1.2
After upgrade service will not start due to missing server parameter,
ExecStart=/usr/sbin/dhcrelay -d --no-pid
Requires manual intervention to reinstate the missing interface and server parameters after discovering that dhcp clients were not receiving addresses.
Additional info: Upgrade via dnf update, updated version 4.3.3-0.1b1.fc23
Had you copied the dhcrelay.service file from /usr/lib/systemd/system/ to /etc/systemd/system/ before editing it ?
No. Sorry I should have mentioned in the bug report that I edited parameters in /etc/systemd/system/multi-user.target.wants/dhcrelay.service which I now see is linked back to /usr/lib/systemd/system/.
Thanks for pointing out the FAQ, I see the error in my ways, new to systemd...