Sometimes thinkfan is started before /proc is ready
On my computer Kubuntu 10.10 with standard thinkfan package it starts around
That will sometimes result in:
Jan 7 09:11:39 pascal-t410s thinkfan: /proc/acpi/ibm/fan: No such file or directory
Jan 7 09:11:39 pascal-t410s thinkfan: Error opening /proc/acpi/ibm/fan. Is this a computer really Thinkpad? Is the thinkpad_acpi module loaded? Are you running thinkfan with root privileges?
restarting the daemon later will work with no problems.
This would probably be solved if thinkfan would sleep a few seconds if /proc isn't ready.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Stuff like this really belongs into the init script. You should file a (k)ubuntu bug about it. I think Evgeni Golov maintains thinkfan for debian and ubuntu. I'd really recommend finding out why thinkfan is started before /proc/acpi/ibm/fan exists and fixing that, instead of implementing some timer to work around this incorrect init script ordering. It's definitely something that needs to be fixed in the ubuntu/debian package and not in the thinkfan program itself.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sometimes thinkfan is started before /proc is ready
On my computer Kubuntu 10.10 with standard thinkfan package it starts around
That will sometimes result in:
Jan 7 09:11:39 pascal-t410s thinkfan: /proc/acpi/ibm/fan: No such file or directory
Jan 7 09:11:39 pascal-t410s thinkfan: Error opening /proc/acpi/ibm/fan. Is this a computer really Thinkpad? Is the thinkpad_acpi module loaded? Are you running thinkfan with root privileges?
restarting the daemon later will work with no problems.
This would probably be solved if thinkfan would sleep a few seconds if /proc isn't ready.
Stuff like this really belongs into the init script. You should file a (k)ubuntu bug about it. I think Evgeni Golov maintains thinkfan for debian and ubuntu. I'd really recommend finding out why thinkfan is started before /proc/acpi/ibm/fan exists and fixing that, instead of implementing some timer to work around this incorrect init script ordering. It's definitely something that needs to be fixed in the ubuntu/debian package and not in the thinkfan program itself.