Description of problem: When file /etc/sysconfig/network-scripts/1 exists, ifup-wireless fails to pass correct arguments to iwconfig. Version-Release number of selected component (if applicable): Discovered on FC6, x86_64 but appears to be present on a FC5 release too. How reproducible: Always Steps to Reproduce: 1. # touch /etc/sysconfig/network-scripts/{1,2,3,4} 2. # ifup ra0 3. # iwconfig ra0 Actual results: The encryption key is set to $DEFAULTKEY (as sepecified in ifcfg-ra0) Expected results: The encryption key should be set to the `$DEFAULTKEY'th key from ifcfg-ra0 (i.e., assuming $DEFAULTKEY is 2, the 2nd key (which would be $KEY2)). Additional info: This is caused by ifup-wireless having lines like: [ -n "$DEFAULTKEY" ] && iwconfig $DEVICE key [${DEFAULTKEY}] When a file called 1 is present, bash's filename expansion will strip the square brackets from [1]. Files with shell metacharacters in them should be quoted: [ -n "$DEFAULTKEY" ] && iwconfig $DEVICE key "[${DEFAULTKEY}]" There are many places where these double quotes need to be added. Hmmmm.
Fixed in CVS, will be in 8.52-1.