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
This was fixed in the 7.3 initscripts.