Bug 153245
Summary: | dhclient running multiple times | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Florin Andrei <florin> |
Component: | dhcp | Assignee: | Jason Vas Dias <jvdias> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-04-28 15:30:52 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 136451 |
Description
Florin Andrei
2005-04-03 23:03:24 UTC
RE:
>Apr 3 15:48:52 demo dhclient: dhclient(1506) is already running -
exiting.
dhclient only emits this message when it detects that another dhclient
process is running for the SAME interface .
Check that all your /etc/sysconfig/network-scripts/ifcfg-eth* files
that have BOOTPROTO=dhcp have seperate unique DEVICE= settings .
[root@demo network-scripts]# pwd /etc/sysconfig/network-scripts [root@demo network-scripts]# for i in `ls ifcfg-*`; do echo "========"; echo $i; echo "========"; cat $i; echo "========"; echo; done ======== ifcfg-eth0 ======== DEVICE=eth0 BOOTPROTO=dhcp HWADDR=00:90:27:30:9A:DD ONBOOT=yes TYPE=Ethernet DHCP_HOSTNAME=demo.home.local ======== ======== ifcfg-eth1 ======== DEVICE=eth1 BOOTPROTO=static HWADDR=00:03:47:08:E2:F1 ONBOOT=no TYPE=Ethernet ======== ======== ifcfg-eth2 ======== DEVICE=eth2 BOOTPROTO=static HWADDR=00:03:47:08:E2:F2 ONBOOT=no TYPE=Ethernet ======== ======== ifcfg-eth3 ======== DEVICE=eth3 BOOTPROTO=static HWADDR=00:11:2F:3B:52:EE ONBOOT=no TYPE=Ethernet ======== ======== ifcfg-lo ======== DEVICE=lo IPADDR=127.0.0.1 NETMASK=255.0.0.0 NETWORK=127.0.0.0 # If you're having problems with gated making 127.0.0.0/8 a martian, # you can change this to something else (255.255.255.255, for example) BROADCAST=127.255.255.255 ONBOOT=yes NAME=loopback ======== [root@demo network-scripts]# ifconfig eth0 Link encap:Ethernet HWaddr 00:90:27:30:9A:DD inet addr:192.168.0.176 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1483 errors:0 dropped:0 overruns:0 frame:0 TX packets:1000 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:137575 (134.3 KiB) TX bytes:113374 (110.7 KiB) eth1 Link encap:Ethernet HWaddr 00:03:47:08:E2:F1 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) eth2 Link encap:Ethernet HWaddr 00:03:47:08:E2:F2 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) eth3 Link encap:Ethernet HWaddr 00:11:2F:3B:52:EE UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:11 Base address:0x8000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:341824 errors:0 dropped:0 overruns:0 frame:0 TX packets:341824 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:28017149 (26.7 MiB) TX bytes:28017149 (26.7 MiB) The system is installed via kickstart. Here's the relevant part of the ks.cfg: ========================================= install cdrom lang en_US.UTF-8 langsupport --default=en_US.UTF-8 en_US.UTF-8 keyboard us skipx text zerombr yes network --device eth0 --bootproto dhcp --hostname demo.home.local network --device eth1 --bootproto static network --device eth2 --bootproto static network --device eth3 --bootproto static rootpw --iscrypted CENSORED :-) firewall --enabled --port=22:tcp --port=80:tcp --port=443:tcp --port=21:tcp selinux --permissive authconfig --enableshadow --enablemd5 timezone --utc America/Los_Angeles bootloader --location=mbr --driveorder=hda --append="vga=791 quiet" clearpart --drives=hda --all part /boot --fstype ext3 --size=512 --asprimary --ondisk=hda part / --fstype ext3 --size=10240 --asprimary --ondisk=hda part swap --size=512 --asprimary --ondisk=hda %packages ========================================= Maybe this is related to bug #153244 ? Yes, I think this has to do with SELinux issues, which are now fixed with the latest selinux-policy-targeted and dhcp-3.0.2-10+ in FC4t3 . I've been unable to reproduce this problem with the current versions. |