Bug 52564 - ifup-wireless doesn't source ifcfg-*
ifup-wireless doesn't source ifcfg-*
Product: Red Hat Public Beta
Classification: Retired
Component: initscripts (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-08-25 02:30 EDT by Istvan Marko
Modified: 2014-03-16 22:22 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-25 02:30:14 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 Istvan Marko 2001-08-25 02:30:10 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010809

Description of problem:
/etc/sysconfig/network-scripts/ifup-wireless doesn't source the ifcfg-*
file passed to it by ifup. adding the following line at the beginning gets
it working:

. ${1}

I guess the right way to do this may be along the lines of:

. network-functions
[ -f "${CONFIG}" ] || CONFIG=ifcfg-${1}

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

How reproducible:

Steps to Reproduce:
1.configure a wireless interface with some iwconfig settings (ESSID, KEY)
2./sbin/ifup eth0

Actual Results:  The wireless settings are ignored

Expected Results:  ifup-wireless should set the specified options via iwconfig

Additional info:
Comment 1 Bill Nottingham 2001-08-26 22:14:25 EDT
This was fixed by 6.27-1.

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