Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223985 - sys-apps/sysvinit: hard drives are not spinning down prior to shutdown
Summary: sys-apps/sysvinit: hard drives are not spinning down prior to shutdown
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-28 18:13 UTC by ml
Modified: 2010-01-08 15:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ml 2008-05-28 18:13:34 UTC
There is no stub for "RC_DOWN_HARDDISK" in /etc/rc.conf.

When I was wondering why my external harddisks didn't spin down on shutdown, I digged through baselayout, and came from "halt.sh" to "shutdown.sh" where I eventually found the variable "RC_DOWN_HARDDISK".

To make it easier for users to find and understand the variable "RC_DOWN_HARDDISK" I propose to add a stub with description to /etc/rc.conf.

Best regards

Renne

Reproducible: Always

Steps to Reproduce:
Use external disk with power supply not switched by your main machine. 
Actual Results:  
External disk will keep running after shutdown.


Expected Results:  
After adding RC_DOWN_HARDDISK="yes" to /etc/rc.conf harddisks spin down correctly on shutdown.
Comment 1 Roy Marples 2008-07-09 20:49:41 UTC
That feature is specific to sysvinit and does not belong in OpenRC.
Comment 2 William Hubbs gentoo-dev 2010-01-07 20:28:14 UTC
(In reply to comment #0)
> There is no stub for "RC_DOWN_HARDDISK" in /etc/rc.conf.
> When I was wondering why my external harddisks didn't spin down on shutdown, I
> digged through baselayout, and came from "halt.sh" to "shutdown.sh" where I
> eventually found the variable "RC_DOWN_HARDDISK".
> To make it easier for users to find and understand the variable
> "RC_DOWN_HARDDISK" I propose to add a stub with description to /etc/rc.conf.
> Best regards
> Renne
> Reproducible: Always
> Steps to Reproduce:
> Use external disk with power supply not switched by your main machine. 
> Actual Results:  
> External disk will keep running after shutdown.
> Expected Results:  
> After adding RC_DOWN_HARDDISK="yes" to /etc/rc.conf harddisks spin down
> correctly on shutdown.

Renne,

can you post your emerge --info so that we can see which version of baselayout/sysvinit you are using?

Thanks,

William

Comment 3 William Hubbs gentoo-dev 2010-01-08 15:37:02 UTC
Looking over the latest versions of inittab, I found that we give the
command to spin down hard drives when we shut down.

Please re-open this bug after you have upgraded to the latest sysvinit
if this is still an issue.

Thanks much,

William