Comment 7 for bug 1185866

Revision history for this message
In , amak79 (amak79) wrote :

Created attachment 363938
emerge --info

With net-print/hplip-3.13.9 my system experiences a delay during boot. It sits at the "Waiting for uevents to be processed" message for about 30 seconds. The system boots without delay with net-print/hplip-3.12.10a.

udev debug shows the following at approx. 30 seconds into boot.

[ 34.129450] udevd[311]: timeout '/bin/sh -c 'if [ -f /usr/bin/systemctl ]; then /usr/bin/systemctl --no-block start hplip-printer@002:003.service; else /usr/bin/nohup /usr/bin/hp-config_usb_printer 002:003 ; fi''
[ 34.187935] udevd[293]: worker [311] /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5 timeout; kill it

The first line comes from /lib/udev/rules.d/56-hpmud.rules which was introduced with hplip-3.13.5.

After some googling I applied the fix from Slackware 14.1 which simply backgrounds the nohup call in /lib/udev/rules.d/56-hpmud.rules. Now the system boots without delay.

There is also a bug on Launchpad[1] regarding this issue but with a slightly different fix.

However with both fixes I see the following from udev debug.

[ 3.457962] udevd[310]: '/bin/sh -c 'if [ -f /usr/bin/systemctl ]; then /usr/bin/systemctl --no-block start hplip-printer@002:003.service; else /usr/bin/nohup /usr/bin/hp-config_usb_printer 002:003 & ; fi''(err) '/bin/sh: -c: line 0: syntax error near unexpected token `;

I'm not sure if this is a problem but printing works so far.

[1] https://bugs.launchpad.net/hplip/+bug/1185866