[Bug 907952] [NEW] Unnecessary log message when listing local services

Walter Huf hufman at gmail.com
Thu Dec 22 23:45:11 UTC 2011


Public bug reported:

If the user connects to localhost:4949 and issues the "list" command
without passing a hostname, the following message showed up my logs:

Use of uninitialized value $1 in lc at
/usr/share/perl5/Munin/Node/Server.pm line 174, <STDIN> line 1.

To stop it, I changed line 174 in /usr/share/perl5/Munin/Node/Server.pm
as follows:

-        _list_services($session, lc($1));
+        _list_services($session, defined($1) ? lc($1) : undef);

** Affects: munin (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to munin in Ubuntu.
https://bugs.launchpad.net/bugs/907952

Title:
  Unnecessary log message when listing local services

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/munin/+bug/907952/+subscriptions



More information about the Ubuntu-server-bugs mailing list