Bug 924631
| Summary: | I cannot select network interface for daemon | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Oleh Horbachov <gorbyo> | ||||
| Component: | dhcp | Assignee: | Jiri Popelka <jpopelka> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 18 | CC: | jpopelka, thozza | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-03-22 09:55:24 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
We dropped using EnvironmentFile in dhcpd.service file in Fedora 18. If you need to use custom dhcpd.service file you should copy the whole service file from /lib/systemd/system to /etc/systemd/system and edit it there. Service files in /etc/systemd/system have higher precedence over service files in /lib/systemd/system. For more information please see: http://fedoraproject.org/wiki/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F *** This bug has been marked as a duplicate of bug 909733 *** |
Created attachment 714399 [details] DHCPD unit file Description of problem: I have two network interfaces (em1 and em2) and I want run dhcp server on one of them. I made configuration file and added dhcpd-file in /etc/sysconfig with following content DHCPDARGS="em2"; After running server I saw warning for em1 interface. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: I solved this problem in the following way 1. Make make file named dhcpd@.service in /usr/lib/systemd/system 2. Make configuration file for dhcp server named em2.conf in /etc/dhcp 3. Enable and start dhcpd