Red Hat Bugzilla – Bug 974230
dhcpd.service systemd unit does not allow additional command line arguments
Last modified: 2013-06-14 03:31:48 EDT
Description of problem:
I'm running a local access point for my phone and tablet on a local subnet. I want the dhcpd I'm running to only listen on the wlan0 (or what used to be named wlan0 anyway) interface.
Apparently there is no way to specify an interface restriction in the .conf file, but I have to specify it on the command line.
Seems to be like the unit file ought to append the tradition /etc/sysconfig/dhcpd command line arguments if that file exists.
Alternately (and perhaps more sensibly) the .conf file should have some syntax to allow me to say exactly which interface to listen on.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Look at unit file, see you can't add command line args conveniently
No way to add command line args
Way to add command line arg
Seems you already found bug #909733.
(In reply to Tom Horsley from comment #0)
> Apparently there is no way to specify an interface restriction in the .conf
> file, but I have to specify it on the command line.
There is actually, see bug #909733, comment #7
> Steps to Reproduce:
> 1. Look at unit file, see you can't add command line args conveniently
Discussed in bug #909733 several times, I haven't changed my mind since then.
*** This bug has been marked as a duplicate of bug 909733 ***