[Bug 595138] Re: Settings in /etc/hdparm.conf are not applied during boot
Eric_DL
595138 at bugs.launchpad.net
Sat May 18 23:04:51 UTC 2013
Reading again the first posts from this thread, seems I made a mistake
posting my comment here.
Maxim Tikhonov could get udev to trigger /lib/udev/hdparm manually, but
not during boot sequence.
My problem was actually that of bug #222458 : a bug in hdparm-functions
that prevented it to "recognize" hard drives described by a symlink
(e.g. /dev/disk/by-id/... ) instead of their device file (/dev/sd*) in
/etc/hdparm.conf.
Thanks Gerry for pointing me to the solution.
This bug has indeed been fixed in 13.04 (hdparm_9.43), but not back-ported to 12.10 so I modified hdparm-functions manually and it works :-)
BTW, I've just realized that :
- bug #222458 is dating back from April 2008
- the patch you sent the link to, is dating back from June 2011
- it took 2 more years for the fix to be released with 13.04
That makes a total of 5 years for this bug to be fixed !! :-/
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to hdparm in Ubuntu.
https://bugs.launchpad.net/bugs/595138
Title:
Settings in /etc/hdparm.conf are not applied during boot
Status in “hdparm” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: hdparm
After upgrade to Lucid the hard drives never spindown. The hdparm
spindown settings (and most likely others) in /etc/hdparm.conf are not
being applied during boot.
This seems to have happened after removing the init.d script.
lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04
apt-cache policy hdparm
hdparm:
Installed: 9.15-1ubuntu9
Candidate: 9.15-1ubuntu9
Version table:
*** 9.15-1ubuntu9 0
500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
cat /etc/hdparm.conf
/dev/sda {
spindown_time = 240
}
/dev/sdb {
spindown_time = 240
}
/dev/sdc {
spindown_time = 240
}
/dev/sdd {
spindown_time = 240
}
/dev/sde {
spindown_time = 240
}
/dev/sdf {
spindown_time = 240
}
/dev/sdg {
spindown_time = 240
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/595138/+subscriptions
More information about the foundations-bugs
mailing list