Bug 82453 - boot arg netprofile does not work
boot arg netprofile does not work
Status: CLOSED DUPLICATE of bug 79171
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
9
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
Depends On:
Blocks: 80194
  Show dependency treegraph
 
Reported: 2003-01-22 05:53 EST by Harald Hoyer
Modified: 2014-03-16 22:33 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-21 13:51:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Harald Hoyer 2003-01-22 05:53:41 EST
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 16:21:55 EST

*** This bug has been marked as a duplicate of 72903 ***
Comment 2 Harald Hoyer 2003-01-23 05:12:47 EST
huh? the duplicate does not seem to be the right one...
Comment 3 Bill Nottingham 2003-01-23 17:54:34 EST
Woops.
Comment 4 Bill Nottingham 2003-01-23 17:55:09 EST

*** This bug has been marked as a duplicate of 79171 ***
Comment 5 Red Hat Bugzilla 2006-02-21 13:51:18 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

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