Bug 35398 - /etc/rc.sysinit doesn't honor linuxconf's boot-time profile-choosing mechanism
/etc/rc.sysinit doesn't honor linuxconf's boot-time profile-choosing mechanism
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-04-09 20:44 EDT by Dan Rosen
Modified: 2014-03-16 22:20 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-09 20:51:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
/etc/rc.sysinit, hacked to honor linuxconf profile choices (16.87 KB, text/plain)
2001-04-09 20:49 EDT, Dan Rosen
no flags Details

  None (edit)
Description Dan Rosen 2001-04-09 20:44:49 EDT
Linuxconf claims (in confver.help) that passing "PROFILE=<profile-name>" to
the kernel, in LILO, for example, allows users to select which system
profile they want to use at boot time. This is useful, for example, for
laptop users who have different network connectivity at home and at work.

EXPECTED/ACTUAL: Redhat Linux 7.0 does not honor this mechanism, but it should.

I have this working on my machine: I hacked /etc/rc.sysinit to scan
/proc/cmdline for the profile (as specified above) and pass that to
"linuxconf --selectprofile". I had to change the order of certain things
init'ed in that file: linuxconf has dependencies on libs outside my boot
partition, and the hostname and network info depends on linuxconf, so I had
to move the profile selection and host info all below the disk mounting...

I'll attach my hacked-up version of /etc/rc.sysinit to this bug.
Comment 1 Dan Rosen 2001-04-09 20:49:16 EDT
Created attachment 15024 [details]
/etc/rc.sysinit, hacked to honor linuxconf profile choices
Comment 2 Dan Rosen 2001-04-09 20:51:09 EDT
note on the attachment, i didn't actually do all the grep-fu for
"PROFILE=<...>", i just grepped for "home" in the linux commandline. that would
obviously need to change.
Comment 3 Bill Nottingham 2001-08-09 01:22:14 EDT
Since linuxconf has been deprecated, this feature probably won't be added.

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