powernapd not running after install

Bug #705959 reported by Dustin Kirkland  on 2011-01-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powernap (Ubuntu)
High
Dustin Kirkland 

Bug Description

Binary package hint: powernap

Installed powernap and the service isn't running by default after installation.

Powernap should have a sane default configuration, and start immediately after installation.

Changed in powernap (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Andres Rodriguez (andreserl) wrote :

HI Dustin,

By default powernapd should be running but monitoring "/sbin/init" using the new ProcessMonitor.

This error might be because the new config file uses config parser instead of being a python executable file.

Or by this you mean that we should enable some monitors by default?

Dustin Kirkland  (kirkland) wrote :

Re-tested.

Completely clean natty install, powernap not installed. sudo apt-get
install powernap. status powernap says not running. ps -ef | grep
powernapd shows that powernapd is not running. Edited
/etc/powernap/config and sudo start powernap, and then it's running.

Dustin

Changed in powernap (Ubuntu):
status: Confirmed → Fix Committed
assignee: nobody → Dustin Kirkland (kirkland)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package powernap - 2.1-0ubuntu1

---------------
powernap (2.1-0ubuntu1) natty; urgency=low

  [ Andres Rodriguez ]
  * config:
    - Default ACTION to pm-powersave instead of best-effort.
    - Enable WoLMonitor and ConsoleMonitor by default
    - Disable ProcessMonitor by default.
    - Change powersave defaults to 0 instead of 4. Update related files.
  * powernap/monitors:
    - Rename RemoteMonitor to UDPMonitor.
    - Add WoLMonitor and support to run it.
    - Add ConsoleMonitor and support to run it.
  * powernap/powernap.py:
    - Improve config loading method for Monitors.
  * sbin/powernapd: Change approach of powernapd_loop.
    - GRACE period is time between ABSENT_SECONDS and
      (ABSENT_SECONDS - GRACE_SECONDS)
    - Only send a Wall message when on GRACE Period.
    - Enable Monitors to run at all times. Specifically when in PowerSave.
  * man/powernapd.8: Update to list available Monitors with description.
  * Update Copyright years/email in some of the files.

  [ Dustin Kirkland ]
  * config, powernap/monitors/TCPMonitor.py, powernap/powernap.py:
    - add a TCP Monitor
  * config, powernap/monitors/LoadMonitor.py, powernap/powernap.py:
    - add a system Load Monitor
  * debian/control: bump standards version
  * debian/rules: make sure powernapd starts on install, LP: #705959
  * config: update service restart method
 -- Andres Rodriguez <email address hidden> Wed, 26 Jan 2011 14:16:31 -0500

Changed in powernap (Ubuntu):
status: Fix Committed → Fix Released
Carlo Salinari (carlo-salinari) wrote :

Just had this problem with ubuntu server 12.04. Service isn't running afer installation.

Carlo Salinari (carlo-salinari) wrote :

Sorry, my fault. I had a small error in config and powernapd died silently when started. Ignore my comment.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers