initial munin-node setup misses correct start/stop

Bug #406276 reported by Caspar Clemens Mierau
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
munin (Debian)
Fix Released
Unknown
munin (Ubuntu)
Fix Released
Low
Thierry Carrez

Bug Description

Binary package hint: munin

When installing munin-node on Ubuntu Jaunty with all recent updates applied, the initial plugin configuration is not read by munin as the order of start/stop is wrong. Therefore you have to restart munin-node manually once. See the following log which shows the installation, list, restart, list:

---LOGSTART---
ccm@live1:~$ sudo aptitude install munin-node
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
The following NEW packages will be installed:
  munin-node
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/641kB of archives. After unpacking 1425kB will be used.
Writing extended state information... Done
Selecting previously deselected package munin-node.
(Reading database ... 45767 files and directories currently installed.)
Unpacking munin-node (from .../munin-node_1.2.6-8ubuntu3_all.deb) ...
Processing triggers for man-db ...
Setting up munin-node (1.2.6-8ubuntu3) ...
Initializing plugins..Restarting munin-node.. * Stopping Munin-Node [ OK ]
 * Starting Munin-Node [ OK ]
done.
 * Starting Munin-Node [ OK ]

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

ccm@live1:~$ telnet localhost 4949
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
# munin node at live1
list

Connection closed by foreign host.
ccm@live1:~$
ccm@live1:~$ sudo /etc/init.d/munin-node restart
 * Stopping Munin-Node [ OK ]
 * Starting Munin-Node [ OK ]
ccm@live1:~$ telnet localhost 4949
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
# munin node at live1
list
open_inodes mysql_slowqueries irqstats apache_accesses if_eth0 mysql_threads df swap load cpu df_inode mysql_queries open_files forks iostat memory nfs_client vmstat apache_processes if_err_eth0 entropy postfix_mailqueue processes apache_volume interrupts mysql_bytes nfsd if_err_eth1 if_eth1 postfix_mailvolume
quit
---LOGSTOP---

Related branches

Revision history for this message
Andreas Olsson (andol) wrote :

I can confirm this bug in Jaunty (munin-node 1.2.6-8ubuntu3) as well as in Karmic (munin-node 1.2.6-8ubuntu3).

Changed in munin (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Andreas Olsson (andol) wrote :

Actually, there is a munin-node 1.2.6-12ubuntu1 uploaded to Karmic. It just haven't reached the archives yet, due to an i386 build issue. I did a local build of munin-node 1.2.6-12ubuntu1, and it still contains this bug.

Anyway, this problem can be fixed by editing debian/munin-node.postinst and move the two "invoke-rc.d munin-node restart", located inside the init_plugins() function. I'll upload a debdiff once the current build issue is resolved.

Changed in munin (Ubuntu):
status: Confirmed → Triaged
Thierry Carrez (ttx)
Changed in munin (Ubuntu):
assignee: nobody → Thierry Carrez (ttx)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package munin - 1.2.6-13ubuntu2

---------------
munin (1.2.6-13ubuntu2) karmic; urgency=low

  * Don't autoconf the plugin postgres_space_ (LP: #414232)
  * Restart munin-node after plugin initiation (LP: #406276)

 -- Andreas Olsson <email address hidden> Thu, 20 Aug 2009 11:56:42 +0200

Changed in munin (Ubuntu):
status: In Progress → Fix Released
Changed in munin (Debian):
status: Unknown → 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.