Nut UPS user does not have access to the serial ports.

Bug #287781 reported by cwsupport
2
Affects Status Importance Assigned to Milestone
nut (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: nut

Ubuntu Server: 8.04.1
nut: 2.2.1-2.1ubuntu7.1

The 'nut' user is not given access to the serial ports. This is because during install of the 'nut' package the user was not added to the 'dialout' group.

Fix:
usermod -g nut -G dialout nut

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nut - 2.2.2-10ubuntu3

---------------
nut (2.2.2-10ubuntu3) jaunty; urgency=low

  * debian/{nut-cgi,nut}.preinst: don't call adduser or addgroup *at
    all*, these operations should be handled in the postinst. Since
    this is the only custom action at all for nut-cgi, remove that
    preinst completely.
  * debian/{nut-cgi,nut}.postinst: add nut to the dialout
    and nut groups unconditionally, to handle the upgrade from the hardy
    release. LP: #222761, LP: #287781.
  * debian/control: nut needs Pre-Depends: debconf instead of Depends:,
    because we use debconf unconditionally in the preinst.
  * reinstate debian/nut-hal-drivers.postinst, which was lost in a
    merge; and fix it up to use udevadm trigger --action=change, the
    safe way to install udev rules.
  * have nut-hal-drivers Depend: on udev so it can use the above.
  * fix up nut postinst to also use 'udevadm trigger --action=change'

 -- Steve Langasek <email address hidden> Fri, 30 Jan 2009 01:06:53 +0000

Changed in nut:
status: New → 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.