no sane default configuration

Bug #85598 reported by Forest Bond
2
Affects Status Importance Assigned to Milestone
nut (Debian)
Fix Released
Unknown
nut (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: nut

It would be nice if nut would install a sane default configuration. Obviously, parameters related to the actual UPS cannot be pre-filled, so there should be an /etc/default/nut file that specifies configured=n, and initscripts should refuse to run until configured=y.

Tags: packaging

Related branches

Revision history for this message
Arnaud Quette (aquette) wrote : Re: [Bug 85598] no sane default configuration

there is a debian bug already filled on this subject, which I've
leaved explicitly open.
I've explained there that I will integrate in nut 2.2 a tool to
generate configuration, as well as a library to allow external apps
creation.

for the time being, the /usr/share/doc/nut/example/ will help you ;-)

Revision history for this message
Forest Bond (forest-bond) wrote :

thanks!

Changed in nut:
status: Unknown → Confirmed
Revision history for this message
Chuck Short (zulcss) wrote :

Hi Arnaud,

What is the status of this tool?

Thanks
chuck

Changed in nut:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Arnaud Quette (aquette) wrote : Re: [Bug 85598] Re: no sane default configuration

Hi Chuck

2008/2/27, Chuck Short
> Hi Arnaud,
>
> What is the status of this tool?

postponed to 2.4 (the major feature for this release, along with a
shiny new doc).

I'm currently finishing the Integrated Power Management, which was a big task.
Check: https://blueprints.edge.launchpad.net/ubuntu/+spec/integrated-usb-ups-support
The last commit (DBus method to allow at least the UPS poweroff) will
be done tomorrow and backported to Testing for 2.2.2 (this was the
last remaining point).

About this specific point, one can modify a bit the debs so that the
sample are installed in sysconfdir, instead of the doc/examples dir.
Possibly modifying a bit more the default to limit the configuration
needs. Finally, you may consider adding nut to the dialout group to
make the user's task easier.

A last note: 2.2.2 will so enter pre release stage by friday. And it
fixes some important bugs / regressions.

-- Arnaud

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

This bug was fixed in the package nut - 2.2.1-2ubuntu1

---------------
nut (2.2.1-2ubuntu1) hardy; urgency=low

  * Move the configuration files to /etc/nut from examples. (LP: #85598)
  * Add nut user to dialout group. (LP: #157079)
  * Updated Maintainer according to specs.

 -- Chuck Short <email address hidden> Thu, 28 Feb 2008 10:10:24 -0500

Changed in nut:
status: Triaged → Fix Released
Changed in nut:
status: Confirmed → 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.