Bugzilla – Bug 105301
yast-powermanagement: wrong default settings for powersave
Last modified: 2005-08-26 11:58:53 UTC
The config files of powersave changed in SUSE 10.0. Seife 'removed' many default settings in the files in /etc/sysconfig/powersave, which now are empty in the files and filled in powersave with default settings if they are empty. The default value could be found in the comments in the files. Problem: the yast-powermanagement module reads this empty config values and don't know the correct default settings. By this the module display and set wrong settings with the first call and close with accept changes. The module must be changed for this behavior.
Don't understand why you did this change. This obviously means that the default values have to be stored at two places - once in the file, and once in the powersave binary. What's the benefit?
The benefit is to better update/change settings. We now can change the default settings behind the back of the end user without any : if version < 9.3 sed s// elseif version < 10.0 sed s// ... You just have the default settings of the version you installed. The idea is really nice, however it seems as if Seife did not think about the Yast counter part ...
OK, also if the value is an empty string, then I will use the default from the comment, right? It shouldn't be that big problem...
Please, fix the comments in the files so that I can use them first. There must be a colon after the 'Default' keyword, otherwise it won't work.
Thomas: could you fix this?!
sorry for the delay. Package submitted to stable.
OK, reopenning...
... and reassigning to me to take care of the default values.
*** Bug 113175 has been marked as a duplicate of this bug. ***
Fixed in SVN, submitting to STABLE in a moment.