Ticket #969 (closed defect: fixed)

Opened 2 years ago

Last modified 4 months ago

Munin 1.4.5 needs at least Log4Perl 1.18

Reported by: jwarnier Assigned to: nobody
Priority: normal Milestone: Munin 2.0
Component: master Version: 1.4.5
Severity: normal Keywords:
Cc:

Description

I'm running a personally-backported Munin 1.4.5 from Debian Sid to Debian Lenny. I'm getting the following error messages out of my munin-cron cronjobs:

Log4perl: Seems like no initialization happened. Forgot to call init()?
Use of uninitialized value in subroutine entry at /usr/share/perl5/Log/Log4perl.pm line 134 during global destruction.
Undefined subroutine &main:: called at /usr/share/perl5/Log/Log4perl.pm line 134 during global destruction.

It is my understanding that this might have something to do with Log4Perl version (initialization changed). Debian Lenny is currently using 1.16, while I found something about which might be related to this in 1.18's changelog.

(ms) Added preinit_callback function for init_and_watch()

So, I guess maybe Munin should depend upon Log4Perl >=1.18. In this case, wheter it is a note in some INSTALL or README or something more sensible like a check at build time, I don't care. And once this problem is managed one way or another, I will take care of getting the fix back to Debian.

Hope it helps

Change History

01/31/12 15:07:43 changed by snide

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone changed from Munin 1.4.7 to Munin 2.0.

commited in r4633