Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 82453

Summary: boot arg netprofile does not work
Product: [Retired] Red Hat Linux Reporter: Harald Hoyer <harald>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:51:18 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:
Bug Depends On:    
Bug Blocks: 80194    

Description Harald Hoyer 2003-01-22 10:53:41 UTC
netprofile=PROFILE doesn't work because there is a bug in the script
/etc/rc.d/rc.sysinit :

# Boot time profiles. Yes, this should be somewhere else.
if grep -q "netprofile=" /proc/cmdline ; then
    cmdline=`cat /proc/cmdline`
    for arg in cmdline ; do                           
       if [ "${arg##netprofile=}" != "${arg}" ]; then
          [ -x /usr/sbin/redhat-config-network-cmd ] &&
            /usr/sbin/redhat-config-network-cmd --profile ${arg##netprofile=}
       fi
    done
fi

==> the line for arg in cmdline ; do
should be for arg in $cmdline ; do

Comment 1 Bill Nottingham 2003-01-22 21:21:55 UTC

*** This bug has been marked as a duplicate of 72903 ***

Comment 2 Harald Hoyer 2003-01-23 10:12:47 UTC
huh? the duplicate does not seem to be the right one...

Comment 3 Bill Nottingham 2003-01-23 22:54:34 UTC
Woops.

Comment 4 Bill Nottingham 2003-01-23 22:55:09 UTC

*** This bug has been marked as a duplicate of 79171 ***

Comment 5 Red Hat Bugzilla 2006-02-21 18:51:18 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.