Leading "/" missing in /bin/sh call in 56-hpmud_support.rules

Bug #795759 reported by Till Kamppeter on 2011-06-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

in the file data/rules/56-hpmud_support.rules

In the line

ENV{hp_test}=="yes", RUN+="bin/sh -c '/usr/bin/hp-mkuri -c &'"

the leading '/' of "/bin/sh" is missing. It must be

ENV{hp_test}=="yes", RUN+="/bin/sh -c '/usr/bin/hp-mkuri -c &'"

Otherwise at least on some systems (like Ubuntu Oneiric) the sh call will fail as the command is not run with / as working directory. In Oneiric the working directory is /lib/udev/ and so it is tried to call /lib/udev/bin/sh and this fails. One sees this in /var/log/syslog.

Related branches

goutam kodu (goutam-hplip) wrote :

Thanks Till. This will be corrected. Committing this fix for next hplip release.

Thanks & Regards,
Goutam Kodu

Changed in hplip:
status: New → Confirmed
status: Confirmed → Fix Committed
Changed in hplip:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers