Bug 1065675 - dhclient-4.2.6-2.fc20.x86_64: /etc/dhcp/dhclient.conf line 14: semicolon expected
Summary: dhclient-4.2.6-2.fc20.x86_64: /etc/dhcp/dhclient.conf line 14: semicolon expe...
Keywords:
Status: CLOSED DUPLICATE of bug 560361
Alias: None
Product: Fedora
Classification: Fedora
Component: dhcp
Version: 20
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: 2014-02-15 17:50 UTC by Harald Reindl
Modified: 2014-02-17 12:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-17 12:44:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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