# Justification: Breaks unrelated software (see below) severity 625606 critical thanks
On Mon, 2011-05-30 at 00:01 +0200, Mario 'BitKoenig' Holbe wrote:
> Everything of this may interfer with tunings applied by users or other
> packages and nothing in the pm-utils package description does even
> suggest it does such things.
>
> I personally don't think it's a good idea to do such stuff
> automagically and unconditional
I really have to agree with Mario 'BitKoenig' Holbe here: pm-utils's
behavior is just stupid and wrong. But let's start at the beginning:
I've modified "/etc/rc.local" to enable WOL for one of my network cards
and disable it for the others. After upgrading to wheezy upower starts
calling pm-powersave and tells it to disable power-saving features.
# /usr/lib/upower/upowerd --verbose
[...]
TI:18:53:02 excuting command: /usr/sbin/pm-powersave false
[...]
That leads to "/usr/lib/pm-utils/power.d/disable_wol false" being called
which in turn calls "ethtool -s "${d##*/}" wol g" for all my network
cards. This overwrites my settings from "/etc/rc.local".
The end result is that the network card which actually should respond to
every kind of WOL-event (pumbg) only responds to Magic-Packet (g) while
all the other cards which should respond to nothing actually respond to
Magic-Packets. Not really what I wanted...
Best regards
Alexander Kurtz
signature.asc
Description: This is a digitally signed message part

