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

Bug #795759 reported by Till Kamppeter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
Undecided
Unassigned

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

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.