Bug 460640 - dhclient script problem
dhclient script problem
Product: Fedora
Classification: Fedora
Component: dhcp (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Cantrell
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-08-29 07:35 EDT by Zdenek Kabelac
Modified: 2008-08-29 17:56 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-08-29 17:56:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Zdenek Kabelac 2008-08-29 07:35:35 EDT
Description of problem:

Seeing a problem in my boot log - for the file  /sbin/dhclient-script 
Script seems to be part of dhclient package - but as bugzilla doesn't allow me to select this package I'm using dhcp.

Zjišťuji IP informace pro eth0...Nothing to flush.
/sbin/dhclient-script: line 186: [: '': integer expression expected

(messages in Czech are not important)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. shown during boot
Actual results:

Expected results:

Additional info:
Comment 1 David Cantrell 2008-08-29 17:56:56 EDT
The problem with this was the initial value of $metric was set to '', instead of being an empty string.  The actual offending line was:


The double quotes cause the '' to be interpreted as the value for metric.  I could either remove the double quotes or remove the single quotes, but I couldn't have both.

Fixed in dhcp-4.0.0-23.fc10

Thanks for the report.

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