Comment 11 for bug 1425812

Revision history for this message
Albert Astals Cid (aacid) wrote :

Ok, found the culprit,

     /lib/udev/rules.d/56-hpmud.rules

has

ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c 'if [ -f /usr/bin/systemctl ]; then /usr/bin/systemctl --no-block start hplip-printer@$env{BUSNUM}:$env{DEVNUM}.service; else /usr/bin/nohup /usr/bin/python /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM} ; fi &'"

given that /usr/bin/hp-config_usb_printer is executable by itself the

/usr/bin/python

should just be dropped.