strange startup script
Bug #148450 reported by
Dominik Holler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hdapsd (Ubuntu) |
Invalid
|
Undecided
|
Evgeni Golov |
Bug Description
Binary package hint: hdapsd
If I start via
sudo /etc/init.d/hdapsd start
there is the error
* Not starting hdapsd: /sys/block/
from do_checkprotect().
If I start via
sudo /etc/init.d/hdapsd restart
do_checkprotect() is not called and the daemon is starting.
What is the reason of do_checkprotect() ?
Is this function checking the aviability of an kernel-patch not included in ubutnu ?
To post a comment you must log in.
I see: the script assumes the hdaps device is hda.
On my T41 dmesg | grep hdaps says:
[ 20.500000] hdaps: IBM ThinkPad T41 detected.
[ 20.500000] hdaps: initial latch check good (0x01).
[ 21.520000] hdaps: device successfully initialized.
[ 21.520000] input: hdaps as /class/input/input5
[ 21.520000] hdaps: driver successfully loaded.
how to create /sys/block/ XXX/queue/ protect ?
is this a dup of #147383 ?