ROSA Linux Bugzilla – Bug 1372
Cpupower.service fails to start
Last modified: 2013-04-26 12:37:43 MSD
Description of problem:
A default install of Fresh 2012.1 includes the cpupower package; however it does not work out-of-box because we don't pass any command line to the program binary...
The cpupower.service file shows that cpupower is called with the command line options contained in two env variables: CPUPOWER_START_OPTS and CPUPOWER_STOP_OPTS. Those should be defined in /etc/sysconfig/cpupower but actually they aren't (they are commented out in that file), so we end up passing to the program binary an empty command line both at the start and the stop of the cpupower.service and then the program then simply prints a message about the its usage and does nothing, hence making the systemd service to fail
(you cant also directly test this in a root console: you just launch cpupower without arguments and look...).
We need to make sure that /etc/sysconfig/cpupower contains some valid option when installing the cpupower package.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Do a fresh install
3. Look at the output of "systemctl --failed"
It's not a bug - only trash output.
We don't disable cpupower service because it's need to default ondemand profile in kernel.
But for default we don't use cpupower config file - if you need another governor you may simple uncoment it line. Systemd not support this state (config file not present but service did).
In future we go output in syslog only