Bug 1065675

Summary: dhclient-4.2.6-2.fc20.x86_64: /etc/dhcp/dhclient.conf line 14: semicolon expected
Product: [Fedora] Fedora Reporter: Harald Reindl <h.reindl>
Component: dhcpAssignee: Jiri Popelka <jpopelka>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: 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: 2014-02-17 12:44:25 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:

Description Harald Reindl 2014-02-15 17:50:53 UTC
works, but there is a typo in a shipped config file

[root@testserver:~]$ > messages 
[root@testserver:~]$ ifdown eth0; ifup eth0

IP-Informationen für eth0 werden bestimmt ... erledigt.
[root@testserver:~]$ cat messages 
Feb 15 18:48:44 testserver dhclient[28226]: Received signal 15, initiating shutdown.
Feb 15 18:48:44 testserver dhclient[28226]: DHCPRELEASE on eth0 to 10.34.112.57 port 67 (xid=0x592e62eb)
Feb 15 18:48:44 testserver kernel: [69215.358362] vmxnet3 0000:03:00.0 eth0: intr type 3, mode 0, 5 vectors allocated
Feb 15 18:48:44 testserver kernel: [69215.360074] vmxnet3 0000:03:00.0 eth0: NIC Link is Up 10000 Mbps
Feb 15 18:48:44 testserver dhclient[28488]: /etc/dhcp/dhclient.conf line 12: boolean expression expected
Feb 15 18:48:44 testserver dhclient[28488]: if not hardware
Feb 15 18:48:44 testserver dhclient[28488]:         ^
Feb 15 18:48:44 testserver dhclient[28488]: /etc/dhcp/dhclient.conf line 14: semicolon expected.
Feb 15 18:48:44 testserver dhclient[28488]: 
Feb 15 18:48:44 testserver dhclient[28488]: ^
Feb 15 18:48:44 testserver dhclient[28488]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 (xid=0x60273443)
Feb 15 18:48:45 testserver dhclient[28488]: DHCPOFFER from 10.34.112.57
Feb 15 18:48:45 testserver dhclient[28488]: DHCPACK from 10.34.112.57 (xid=0x60273443)
Feb 15 18:48:47 testserver dhclient[28488]: bound to **.**.**.** -- renewal in 129288 seconds.

[root@testserver:~]$ cat /etc/dhcp/dhclient.conf
#
# DHCP Client Configuration file.
#   see /usr/share/doc/dhclient/dhclient.conf.example
#   see dhclient.conf(5) man page
#
# Send client identifier as "hardware-type.link-layer address" (e.g. "1.c2.23.7d.c3.52.2c")
# Required in environments where a bridge might be clobbering the forwarded
# packet's MAC address (common in Wifi, Docsis, or ADSL bridging scenarios)
# Exclude InfiniBand (32) which is special case (RFC 4390).
# see dhcp-options(5) man page for 'dhcp-client-identifier'
# see dhcp-eval(5) man page for 'hardware'
if not hardware = 32 {
    send dhcp-client-identifier = hardware;
}

[root@testserver:~]$ rpm -q --file /etc/dhcp/dhclient.conf
dhclient-4.2.6-2.fc20.x86_64

Comment 1 Jiri Popelka 2014-02-17 12:44:25 UTC
Thanks

*** This bug has been marked as a duplicate of bug 560361 ***