Bug 55695

Summary: pcmcia scheme mechanism broken
Product: [Retired] Red Hat Linux Reporter: Ed Swierk <eswierk>
Component: kernel-pcmcia-csAssignee: Dave Jones <davej>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-25 08:13:08 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:

Description Ed Swierk 2001-11-05 02:07:30 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4)
Gecko/20011019 Netscape6/6.2

Description of problem:
The scripts in the kernel-pcmcia-cs and hotplug packages cause the pcmcia
scheme mechanism to fail.

In /etc/pcmcia/wireless.opts, one can give different groups of settings for
the same wireless network card.  For example, one group of settings could
be for work and the other for home.  The user tells the system which group
of settings to use with "pcmcia scheme xxxx" where xxx is the name of the
scheme.

In order for this to work, whatever program or script it is that calls
/etc/pcmcia/wireless.opts must pass in the name of the currently active
scheme in the ADDRESS variable.

However, it seems that /etc/hotplug/net.agent is hardcoded to pass "*" as
the name of the scheme.  This causes the first group of settings in
/etc/pcmcia/wireless.opts to be used, regardless of the scheme setting.


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


How reproducible:
Always

Steps to Reproduce:
1. Add a new group of settings for an existing wireless card in
/etc/pcmcia/wireless.opts, and give it a new scheme name.

2. Activate the new scheme with "pcmcia scheme xxx".

3. Watch as the old scheme is still used.


Additional info: