Hi Michael! Michael Meskes wrote: > On Mon, Nov 06, 2006 at 10:23:36AM +0100, Michael Biebl wrote: >> Huh? It's not an error message. powersaved is just printing exactly, >> what it is doing: >> >> preparing boot-loader: selecting entry 1, kernel /boot/2.6.19-rc4 >> /usr/sbin/grubonce not found, not preparing bootloader >> time needed for sync: 0.2 seconds, time needed for grub: 0.0 seconds. > > But still it tells people that it didn't find the binary. And that it > does not prepare the bootloader. How many users do you think will notice > that this is NOT an error? > >> Patching out the above message might leave the user in the false >> impression, that powersaved is mangling with the grub settings, which it >> does not, if grubonce is not available. > > Eh? If you remove the whole message why should the user think powersaved > does anything with grub?
Because this is the default upstream behaviour. Say, someone has actually problems that grub boots the wrong kernel. So he usually uses google or asks around (on #irc e.g.) to find more information and help. Other people that know powersaved will most likely tell him to check the log files, if there are error messages related to grubonce. If this log entry regarding the nonexistent grubonce binary is missing, he might get false answers because this information is missing. >> Given the above reasoning, I think removing the log message entry makes >> things worse. Closing this bug report. > > You're joking, right? With the same reasoning you could add a lot of > messages about all the settings powersaved is not fiddling with. :-) This comparison is of course bogus (and I'm sure you know that). Inserting random messages into the log file is something basically different than removing standard messages from the output. My fear is, that there is documentation for powersaved floating around in the wide areas of the internet, that refers to grubonce. If I remove the information regarding grubonce from the log file, people might be confused and lead in the wrong direction. Anyways, if you are so keen about this and you really think that this log message is misleading, I will think about it once more and possibly remove it. Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature