Activity log for bug #1099947

Date Who What changed Old value New value Message
2013-01-15 18:03:04 Simon Déziel bug added bug
2013-01-15 18:11:21 Simon Déziel bug watch added https://bugzilla.redhat.com/show_bug.cgi?id=488368
2013-01-15 18:11:21 Simon Déziel bug task added nut (Fedora)
2013-01-17 20:36:36 Serge Hallyn nut (Ubuntu): importance Undecided High
2013-01-17 20:36:36 Serge Hallyn nut (Ubuntu): status New Confirmed
2013-02-02 18:38:48 Kevin Frost bug added subscriber Kevin Frost
2014-08-01 17:03:00 Arnaud Quette bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721600
2014-08-01 17:03:00 Arnaud Quette bug task added nut (Debian)
2014-08-01 18:31:53 Bug Watch Updater nut (Debian): status Unknown New
2016-12-16 23:19:02 Nish Aravamudan bug added subscriber Louis Bouchard
2016-12-16 23:19:54 Nish Aravamudan bug added subscriber Ubuntu Server Team
2016-12-16 23:19:58 Nish Aravamudan nut (Ubuntu): status Confirmed Triaged
2017-07-13 13:22:24 Christian Ehrhardt  nominated for series Ubuntu Xenial
2017-07-13 13:22:24 Christian Ehrhardt  bug task added nut (Ubuntu Xenial)
2017-07-13 13:22:24 Christian Ehrhardt  nominated for series Ubuntu Trusty
2017-07-13 13:22:24 Christian Ehrhardt  bug task added nut (Ubuntu Trusty)
2017-07-13 13:22:31 Christian Ehrhardt  nut (Ubuntu Trusty): status New Triaged
2017-07-13 13:22:33 Christian Ehrhardt  nut (Ubuntu Xenial): status New Triaged
2017-07-13 13:22:34 Christian Ehrhardt  nut (Ubuntu): status Triaged Fix Released
2017-07-13 13:28:29 Christian Ehrhardt  bug added subscriber ChristianEhrhardt
2017-07-14 15:43:16 Bug Watch Updater nut (Debian): status New Fix Released
2017-08-17 16:01:13 Launchpad Janitor merge proposal linked https://code.launchpad.net/~paelzer/ubuntu/+source/nut/+git/nut/+merge/329207
2017-08-17 16:02:02 Launchpad Janitor merge proposal linked https://code.launchpad.net/~paelzer/ubuntu/+source/nut/+git/nut/+merge/329208
2017-08-17 16:17:24 Christian Ehrhardt  description I hooked my new CyberPower UPS: CP685AVR-G on my Lucid server and got this error: Jan 15 12:06:33 xeon upsd[5441]: Can't connect to UPS [cyberpower] (usbhid-ups-cyberpower): No such file or directory Jan 15 12:06:38 xeon upsmon[5445]: Poll UPS [cyberpower@127.0.0.1] failed - Driver not connected After trying many things, I found https://bugzilla.redhat.com/show_bug.cgi?id=488368 that hint me in the right direction. The required change was to rename the udev rule like this: mv /lib/udev/rules.d/{5,6}2-nut-usbups.rules Now, everything works well, without requiring "user = root" in /etc/nut/ups.conf because the udev rule now ensures the device file is owned by the group "nut": # find /dev/bus/usb/ -ls 1536 0 drwxr-xr-x 10 root root 200 Jan 15 12:40 /dev/bus/usb/ 1579 0 drwxr-xr-x 2 root root 60 Jan 15 12:40 /dev/bus/usb/008 1580 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/008/001 1573 0 drwxr-xr-x 2 root root 60 Jan 15 12:40 /dev/bus/usb/007 1574 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/007/001 1567 0 drwxr-xr-x 2 root root 60 Jan 15 12:40 /dev/bus/usb/006 1568 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/006/001 1561 0 drwxr-xr-x 2 root root 60 Jan 15 12:40 /dev/bus/usb/005 1562 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/005/001 1555 0 drwxr-xr-x 2 root root 60 Jan 15 12:40 /dev/bus/usb/004 1556 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/004/001 1549 0 drwxr-xr-x 2 root root 80 Jan 15 12:40 /dev/bus/usb/003 2163 0 crw-rw-r-- 1 root nut Jan 15 12:49 /dev/bus/usb/003/002 1550 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/003/001 1543 0 drwxr-xr-x 2 root root 60 Jan 15 12:40 /dev/bus/usb/002 1544 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/002/001 1537 0 drwxr-xr-x 2 root root 60 Jan 15 12:40 /dev/bus/usb/001 1538 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/001/001 Generic information: # lsb_release -rd Description: Ubuntu 10.04.4 LTS Release: 10.04 # apt-cache policy nut nut: Installed: 2.4.3-1ubuntu3.2 Candidate: 2.4.3-1ubuntu3.2 Version table: *** 2.4.3-1ubuntu3.2 0 500 http://archive.ubuntu.com/ubuntu/ lucid-updates/main Packages 500 http://archive.ubuntu.com/ubuntu/ lucid-security/main Packages 100 /var/lib/dpkg/status 2.4.3-1ubuntu3 0 500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: nut 2.4.3-1ubuntu3.2 ProcVersionSignature: Ubuntu 2.6.32-45.102-server 2.6.32.60+drm33.26 Uname: Linux 2.6.32-45-server x86_64 Architecture: amd64 Date: Tue Jan 15 12:43:46 2013 ProcEnviron: PATH=(custom, no user) LANG=en_CA.UTF-8 SHELL=/bin/bash SourcePackage: nut [Impact] * Plugging in a USB controlled UPS solution does fail to execute the udev rules; Due to that the permissions are not set correctly * Fix is a backport from upstream which only changes the numbering on the rule to execute at the right time. [Test Case] * Install nut-server * Plug in a usb controlled UPS of your choice * The device node created should be mode 664 and group "nut", but it is not. * Install the proposed package * (It also fixes but 1540008, so no need to replug anymore to test if successful) * it should now be created with proper permissions. [Regression Potential] * If people with the old set up have created something that would not be able to access anymore that could cuase issues, but before it was root:root and now nut:root; the group permission didn't change (was 6 before) - so anything before could only access with root and they still can - therefore I consider this of low/no risk, yet in some obscure setups it might be one. [Other Info] * n/a --- I hooked my new CyberPower UPS: CP685AVR-G on my Lucid server and got this error:   Jan 15 12:06:33 xeon upsd[5441]: Can't connect to UPS [cyberpower] (usbhid-ups-cyberpower): No such file or directory   Jan 15 12:06:38 xeon upsmon[5445]: Poll UPS [cyberpower@127.0.0.1] failed - Driver not connected After trying many things, I found https://bugzilla.redhat.com/show_bug.cgi?id=488368 that hint me in the right direction. The required change was to rename the udev rule like this:   mv /lib/udev/rules.d/{5,6}2-nut-usbups.rules Now, everything works well, without requiring "user = root" in /etc/nut/ups.conf because the udev rule now ensures the device file is owned by the group "nut":   # find /dev/bus/usb/ -ls   1536 0 drwxr-xr-x 10 root root 200 Jan 15 12:40 /dev/bus/usb/   1579 0 drwxr-xr-x 2 root root 60 Jan 15 12:40 /dev/bus/usb/008   1580 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/008/001   1573 0 drwxr-xr-x 2 root root 60 Jan 15 12:40 /dev/bus/usb/007   1574 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/007/001   1567 0 drwxr-xr-x 2 root root 60 Jan 15 12:40 /dev/bus/usb/006   1568 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/006/001   1561 0 drwxr-xr-x 2 root root 60 Jan 15 12:40 /dev/bus/usb/005   1562 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/005/001   1555 0 drwxr-xr-x 2 root root 60 Jan 15 12:40 /dev/bus/usb/004   1556 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/004/001   1549 0 drwxr-xr-x 2 root root 80 Jan 15 12:40 /dev/bus/usb/003   2163 0 crw-rw-r-- 1 root nut Jan 15 12:49 /dev/bus/usb/003/002   1550 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/003/001   1543 0 drwxr-xr-x 2 root root 60 Jan 15 12:40 /dev/bus/usb/002   1544 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/002/001   1537 0 drwxr-xr-x 2 root root 60 Jan 15 12:40 /dev/bus/usb/001   1538 0 crw-rw-r-- 1 root root Jan 15 12:41 /dev/bus/usb/001/001 Generic information: # lsb_release -rd Description: Ubuntu 10.04.4 LTS Release: 10.04 # apt-cache policy nut nut:   Installed: 2.4.3-1ubuntu3.2   Candidate: 2.4.3-1ubuntu3.2   Version table:  *** 2.4.3-1ubuntu3.2 0         500 http://archive.ubuntu.com/ubuntu/ lucid-updates/main Packages         500 http://archive.ubuntu.com/ubuntu/ lucid-security/main Packages         100 /var/lib/dpkg/status      2.4.3-1ubuntu3 0         500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: nut 2.4.3-1ubuntu3.2 ProcVersionSignature: Ubuntu 2.6.32-45.102-server 2.6.32.60+drm33.26 Uname: Linux 2.6.32-45-server x86_64 Architecture: amd64 Date: Tue Jan 15 12:43:46 2013 ProcEnviron:  PATH=(custom, no user)  LANG=en_CA.UTF-8  SHELL=/bin/bash SourcePackage: nut
2017-08-23 12:10:01 Chris J Arges nut (Ubuntu Xenial): status Triaged Fix Committed
2017-08-23 12:10:04 Chris J Arges bug added subscriber Ubuntu Stable Release Updates Team
2017-08-23 12:10:06 Chris J Arges bug added subscriber SRU Verification
2017-08-23 12:10:12 Chris J Arges tags amd64 apport-bug lucid amd64 apport-bug lucid verification-needed verification-needed-xenial
2017-08-23 12:13:03 Chris J Arges nut (Ubuntu Trusty): status Triaged Fix Committed
2017-08-23 12:13:10 Chris J Arges tags amd64 apport-bug lucid verification-needed verification-needed-xenial amd64 apport-bug lucid verification-needed verification-needed-trusty verification-needed-xenial
2017-08-24 07:45:17 Christian Ehrhardt  nut (Ubuntu Xenial): status Fix Committed Invalid
2017-08-24 07:45:23 Christian Ehrhardt  nut (Ubuntu Xenial): status Invalid Fix Released
2017-08-24 07:45:34 Christian Ehrhardt  nut (Ubuntu Xenial): status Fix Released Invalid
2017-08-24 08:19:00 Launchpad Janitor merge proposal linked https://code.launchpad.net/~paelzer/ubuntu/+source/nut/+git/nut/+merge/329502
2017-08-24 08:20:42 Launchpad Janitor merge proposal linked https://code.launchpad.net/~paelzer/ubuntu/+source/nut/+git/nut/+merge/329504
2017-08-25 22:02:38 Simon Déziel nut (Ubuntu Trusty): status Fix Committed Invalid
2017-08-28 06:51:10 Launchpad Janitor merge proposal linked https://code.launchpad.net/~paelzer/ubuntu/+source/nut/+git/nut/+merge/329714
2017-08-29 03:05:42 Charles Lepple bug added subscriber Charles Lepple
2017-08-29 03:13:27 Charles Lepple removed subscriber Charles Lepple
2017-09-08 07:35:04 Christian Ehrhardt  tags amd64 apport-bug lucid verification-needed verification-needed-trusty verification-needed-xenial amd64 apport-bug lucid verification-done verification-done-trusty verification-done-xenial
2017-09-12 23:46:01 Launchpad Janitor nut (Ubuntu Trusty): status Invalid Fix Released
2017-09-12 23:46:11 Chris Halse Rogers removed subscriber Ubuntu Stable Release Updates Team
2017-09-12 23:46:33 Launchpad Janitor nut (Ubuntu Xenial): status Invalid Fix Released
2017-09-13 06:30:19 Christian Ehrhardt  nut (Ubuntu Trusty): status Fix Released Invalid
2017-09-13 06:30:21 Christian Ehrhardt  nut (Ubuntu Xenial): status Fix Released Invalid
2017-10-27 08:14:18 Bug Watch Updater nut (Fedora): status Unknown Fix Released
2017-10-27 08:14:18 Bug Watch Updater nut (Fedora): importance Unknown Medium