Bug 82453
| Summary: | boot arg netprofile does not work | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Harald Hoyer <harald> |
| Component: | initscripts | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED DUPLICATE | QA Contact: | Brock Organ <borgan> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9 | CC: | 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 | ||
*** This bug has been marked as a duplicate of 72903 *** huh? the duplicate does not seem to be the right one... Woops. *** This bug has been marked as a duplicate of 79171 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |
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