Bug 58421 - rc.sysinit ignores cdrom
rc.sysinit ignores cdrom
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: SysVinit (Show other bugs)
7.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-01-16 05:33 EST by Hiroki Taira
Modified: 2014-03-16 22:25 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-01-24 01:59:54 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Hiroki Taira 2002-01-16 05:33:51 EST
Description of Problem:
/etc/rc.sysinit ignores /etc/sysconfig/harddisk* if it's media is cdrom.

Version-Release number of selected component (if applicable):


How Reproducible:
It is found when trying to configure ATAPI CDROM

Steps to Reproduce:
for example, /dev/hdc is ATAPA CDROM and want to make cdrom PIO mode.

1. copy /etc/sysconfig/harddisks to /etc/sysconfig/harddiskhdc
2. rewrite harddiskhdc

USE_DMA=0

3. reboot machine
4. show the result of /sbin/hdparm /dev/hdc

 using_dma    =  1 (on)

Actual Results:
Values described in harddisk* is not enabled

Expected Results:

rc.sysinit can't configure ATAPI CDROM

Additional Information:

It is ok if rc.sysinit detects cdrom.

rc.sysinit at 385
before              if [ "$hdmedia" = "disk" ]; then
---
fixed              if [ "$hdmedia" = "disk" -o "$hdmedia" = "cdrom" ]; then
Comment 1 Bill Nottingham 2002-07-18 21:36:15 EDT
This was fixed in the 7.3 initscripts.

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