Red Hat Bugzilla – Bug 82323
trivial typo prevents boot-time selection of network profile
Last modified: 2014-03-16 22:33:42 EDT
Description of problem:
One is supposed to be able to put "netprofile=<foo>" on the kernel command line
to select network profile <foo> when booting. However, a trivial typo in
Version-Release number of selected component (if applicable):
Easily, every time.
Steps to Reproduce:
1. Create at least two network profiles using "neat".
2. Using GRUB or LILO, add "netprofile=foo" to the kernel command line,
replacing "foo" with the name of one of the network profiles.
Named network profile is not activated.
Named network profile should have been activated.
The bug is on line 766 of "/etc/rc.d/rc.sysinit", where a loop iterates over
"cmdline" instead of "$cmdline". I will attach a diffs to this report showing
Created attachment 89456 [details]
fix: add "$" for proper variable expansion
*** This bug has been marked as a duplicate of 79203 ***
Marking as CLOSED: the duplicate designation is correct, and
furthermore the bug has long since been fixed.