Bug 35398

Summary: /etc/rc.sysinit doesn't honor linuxconf's boot-time profile-choosing mechanism
Product: [Retired] Red Hat Linux Reporter: Dan Rosen <dr>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-10 00:51:13 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:
Attachments:
Description Flags
/etc/rc.sysinit, hacked to honor linuxconf profile choices none

Description Dan Rosen 2001-04-10 00:44:49 UTC
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-10 00:49:16 UTC
Created attachment 15024 [details]
/etc/rc.sysinit, hacked to honor linuxconf profile choices

Comment 2 Dan Rosen 2001-04-10 00:51:09 UTC
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 05:22:14 UTC
Since linuxconf has been deprecated, this feature probably won't be added.