[Bug 1433557] Re: udev rules wrongly match on monitor hub, wrong invocation of systemd unit, changes config files in udev rules

2015-06-25 Thread Jason Gunthorpe
I hit this problem as well, booting on my system hangs for three minutes
waiting for udev to settle. I have a HP keyboard.

Booting without the keyboard plugged in, or removing the hplip package
solves the problem.

hplip version 3.15.2-0ubuntu4.1

$ lsusb 
Bus 001 Device 002: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard

$ sudo systemd-analyze blame
   3min 40ms systemd-udev-settle.service

$ journalctl  | grep -i udev
Jun 25 14:19:32 test-MSH87TN-00 systemd-udevd[265]: worker [283] 
/devices/pci:00/:00:14.0/usb1/1-1 is taking a long time
Jun 25 14:19:32 test-MSH87TN-00 systemd-udevd[265]: worker [285] 
/devices/pci:00/:00:14.0/usb1/1-3 is taking a long time
Jun 25 14:21:32 test-MSH87TN-00 systemd[1]: systemd-udev-settle.service start 
operation timed out. Terminating.
Jun 25 14:21:32 test-MSH87TN-00 systemd[1]: Failed to start udev Wait for 
Complete Device Initialization.
Jun 25 14:21:32 test-MSH87TN-00 systemd[1]: Unit systemd-udev-settle.service 
entered failed state.
Jun 25 14:21:32 test-MSH87TN-00 systemd[1]: systemd-udev-settle.service failed.
Jun 25 14:21:33 test-MSH87TN-00 systemd-udevd[283]: timeout '/bin/sh -c 'if [ 
-f /usr/bin/systemctl ]; then /usr/bin/systemctl --no-block start 
hplip-printer@001:002.service; else /usr/bin/nohup 
/usr/bin/hp-config_usb_printer 001:002 ; fi ''
Jun 25 14:21:33 test-MSH87TN-00 systemd-udevd[283]: timeout '/bin/sh -c 'grep 
-q ^#hpaio /etc/sane.d/dll.conf;if [ $? -eq 0 ];then sed -i -e s/^#hpaio/hpaio/ 
/etc/sane.d/dll.conf;else grep -q ^hpaio /etc/sane.d/dll.conf;if [ $? -ne 0 
];then echo hpaio /etc/sane.d/dll.conf;fi;fi''
Jun 25 14:21:33 test-MSH87TN-00 systemd-udevd[283]: slow: '/bin/sh -c 'grep -q 
^#hpaio /etc/sane.d/dll.conf;if [ $? -eq 0 ];then sed -i -e s/^#hpaio/hpaio/ 
/etc/sane.d/dll.conf;else grep -q ^hpaio /etc/sane.d/dll.conf;if [ $? -ne 0 
];then echo hpaio /etc/sane.d/dll.conf;fi;fi'' [1011]
Jun 25 14:21:33 test-MSH87TN-00 systemd-udevd[285]: timeout '/bin/sh -c 'if [ 
-f /usr/bin/systemctl ]; then /usr/bin/systemctl --no-block start 
hplip-printer@001:003.service; else /usr/bin/nohup 
/usr/bin/hp-config_usb_printer 001:003 ; fi ''
Jun 25 14:21:33 test-MSH87TN-00 systemd-udevd[285]: timeout '/bin/sh -c 'grep 
-q ^#hpaio /etc/sane.d/dll.conf;if [ $? -eq 0 ];then sed -i -e s/^#hpaio/hpaio/ 
/etc/sane.d/dll.conf;else grep -q ^hpaio /etc/sane.d/dll.conf;if [ $? -ne 0 
];then echo hpaio /etc/sane.d/dll.conf;fi;fi''
Jun 25 14:21:33 test-MSH87TN-00 systemd-udevd[285]: slow: '/bin/sh -c 'grep -q 
^#hpaio /etc/sane.d/dll.conf;if [ $? -eq 0 ];then sed -i -e s/^#hpaio/hpaio/ 
/etc/sane.d/dll.conf;else grep -q ^hpaio /etc/sane.d/dll.conf;if [ $? -ne 0 
];then echo hpaio /etc/sane.d/dll.conf;fi;fi'' [1012]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1433557

Title:
  udev rules wrongly match on monitor hub, wrong invocation of systemd
  unit, changes config files in udev rules

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1433557/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1433557] Re: udev rules wrongly match on monitor hub, wrong invocation of systemd unit, changes config files in udev rules

2015-06-25 Thread goutam
Hi Jason,

This issue as been fixed in hplip 3.15.6 version. Can you please install
the latest hplip-3.15.6 by downloading the package 'hplip-3.15.6.run'
from http://hplipopensource.com/hplip-web/gethplip.html and run command
'sh hplip-3.15.6.run' to install.

Thanks,
Goutam

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1433557

Title:
  udev rules wrongly match on monitor hub, wrong invocation of systemd
  unit, changes config files in udev rules

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1433557/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1433557] Re: udev rules wrongly match on monitor hub, wrong invocation of systemd unit, changes config files in udev rules

2015-06-12 Thread Martin Pitt
I checked the diff, and the generic match all HP devices rule was
restricted to only particular USB interfaces, which ought to fix the
matches on HP USB hub problem. The sed'ing is also gone. Thanks!

Would be nice if Andreas could confirm that all is well with this
version.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1433557

Title:
  udev rules wrongly match on monitor hub, wrong invocation of systemd
  unit, changes config files in udev rules

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1433557/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1433557] Re: udev rules wrongly match on monitor hub, wrong invocation of systemd unit, changes config files in udev rules

2015-06-11 Thread Martin Pitt
** Changed in: hplip (Ubuntu)
   Status: Confirmed = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1433557

Title:
  udev rules wrongly match on monitor hub, wrong invocation of systemd
  unit, changes config files in udev rules

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1433557/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1433557] Re: udev rules wrongly match on monitor hub, wrong invocation of systemd unit, changes config files in udev rules

2015-06-11 Thread Launchpad Bug Tracker
This bug was fixed in the package hplip - 3.15.6-0ubuntu1

---
hplip (3.15.6-0ubuntu1) wily; urgency=low

  * New upstream release
 - Added support for HP DeskJet 2130/2132/2546B/2546P/2546R/3630/3632
   All-in-One printer, HP OfficeJet 57444 e-All-in-One
 - Fixed: Error message is displayed while running hp-diagnose_queues
   in a terminal.
 - Fixed: UDEV rules wrongly match on monitor hub, wrong invocation of
   systemd unti, changes confi files in UDEV rules (LP: #1433557).
 - Fixed: hp-setup creates spurious cupsd process (LP: #1438456).
  * debian/patches/musb-c-do-not-crash-on-usb-failure.patch,
debian/patches/pcardext-python3-workaround-upstream.patch,
debian/patches/hp-plugin-download-fix.patch: Updated for new upstream
code.

 -- Till Kamppeter till.kamppe...@gmail.com  Thu, 11 Jun 2015 19:08:00
-0300

** Changed in: hplip (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1433557

Title:
  udev rules wrongly match on monitor hub, wrong invocation of systemd
  unit, changes config files in udev rules

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1433557/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1433557] Re: udev rules wrongly match on monitor hub, wrong invocation of systemd unit, changes config files in udev rules

2015-06-11 Thread Till Kamppeter
pitti, this bug got automatically closed because the HPLIP developers at
HP are claiming that the new upstream version fixes this bug. Please
check whether this is really the case and whether your intended fix is
different to the one applied by HP.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1433557

Title:
  udev rules wrongly match on monitor hub, wrong invocation of systemd
  unit, changes config files in udev rules

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1433557/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1433557] Re: udev rules wrongly match on monitor hub, wrong invocation of systemd unit, changes config files in udev rules

2015-06-10 Thread Sanjay Kumar
This issue is fixed in hplip-3.15.6.

** Changed in: hplip
   Status: New = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1433557

Title:
  udev rules wrongly match on monitor hub, wrong invocation of systemd
  unit, changes config files in udev rules

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1433557/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1433557] Re: udev rules wrongly match on monitor hub, wrong invocation of systemd unit, changes config files in udev rules

2015-04-02 Thread Martin Pitt
Thanks Andreas for confirming. I suggest you leave these rules disabled
for now, you don't need them anyway.

** Summary changed:

- systemd-udev-settle.service  times out on hplip rules
+ udev rules wrongly match on monitor hub, wrong invocation of systemd unit, 
changes config files in udev rules

** Changed in: hplip (Ubuntu)
   Status: Incomplete = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1433557

Title:
  udev rules wrongly match on monitor hub, wrong invocation of systemd
  unit, changes config files in udev rules

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1433557/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs