Bug 924631 - I cannot select network interface for daemon
Summary: I cannot select network interface for daemon
Keywords:
Status: CLOSED DUPLICATE of bug 909733
Alias: None
Product: Fedora
Classification: Fedora
Component: dhcp
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Popelka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-22 09:17 UTC by Oleh Horbachov
Modified: 2013-03-22 09:55 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-22 09:55:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
DHCPD unit file (266 bytes, text/plain)
2013-03-22 09:17 UTC, Oleh Horbachov
no flags Details

Description Oleh Horbachov 2013-03-22 09:17:59 UTC
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

Comment 1 Tomáš Hozza 2013-03-22 09:55:24 UTC
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 ***


Note You need to log in before you can comment on or make changes to this bug.