[Bug 535152] Re: FFE for nut 2.4.3

Martin Pitt martin.pitt at ubuntu.com
Fri Mar 12 10:57:57 GMT 2010


Arnaud Quette [2010-03-10 10:51 -0000]:
> as a side note, I have a 2.4.3-2 underway which solves the bull**it
> introduced by Scott James for refreshing the USB bus on postinst...
> The result is that any USB user has to unplug / plug back his UPS' USB
> cord to get udev apply the right rules.
> ie, in nut.postint:
>     udevadm trigger --action=change
> should be replaced by
>     udevadm trigger --subsystem-match=usb

Please replace it with

  udevadm trigger  --subsystem-match=usb --action=change

Please do not *ever* add an udevadm trigger to a postinst with an
action other than "change". This will break a lot of boxes really
really hard.

Thanks!

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
FFE for nut 2.4.3
https://bugs.launchpad.net/bugs/535152
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in ubuntu.



More information about the Ubuntu-server-bugs mailing list