Environment is not passed to scripts. See the following patch: https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=24;filename=sd-device-fix-device_get_properties_strv.patch;bug=787263;att=1 Furthermore, after applying this patch there is still a problem as DEVPATH seems not to be set for some devices when an action is triggered with e.g.: udevadm trigger --subsystem-match=usb --action=add udev-220 breaks completely any system relying on the usb 'authorized' functionality with default for usb devices being not authorized and authorization enabled by external script as scripts are not properly called for coldplug devices. Reproducible: Always
Upstream fix: d854ba50a82f28b776c670d27156f0e9881fde8a https://github.com/systemd/systemd/commit/d854ba50a82f28b776c670d27156f0e9881fde8a
I couldn't test coldplug yet. Except from that I can confirm that the upstream fix does fix script execution.
@floppym: I need one more patch to make the patch you indicated apply, can you point it out?
*** Bug 551868 has been marked as a duplicate of this bug. ***
All, udev-220-r2 is now in the tree; please let me know if it fixes this issue. Thanks, William
Tested including coldplug on my worst affected system: r2 is ok.