FS#54322 - [munin-node] does not start after upgrade to Perl 5.26

Attached to Project: Arch Linux
Opened by Stefan Majewsky (majewsky) - Tuesday, 06 June 2017, 10:21 GMT
Last edited by Evangelos Foutras (foutrelis) - Tuesday, 06 June 2017, 12:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

I upgraded munin-node from 2.0.26-2 to 2.0.26-3 as part of the upgrade from Perl 5.24.1-1 to 5.26.1-1, and restarted munin-node.service. This failed with the following logs:

$ sudo systemctl status munin-node
● munin-node.service - Munin Node Service
Loaded: loaded (/usr/lib/systemd/system/munin-node.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2017-06-06 12:15:57 CEST; 4s ago
Process: 9644 ExecStart=/usr/bin/munin-node (code=exited, status=2)
Main PID: 264 (code=exited, status=0/SUCCESS)

Jun 06 12:15:57 poghril systemd[1]: Starting Munin Node Service...
Jun 06 12:15:57 poghril munin-node[9644]: ERROR: Cannot open '/build/munin/pkg/munin-node/etc/munin/munin-node.conf'
Jun 06 12:15:57 poghril systemd[1]: munin-node.service: Control process exited, code=exited status=2
Jun 06 12:15:57 poghril systemd[1]: Failed to start Munin Node Service.
Jun 06 12:15:57 poghril systemd[1]: munin-node.service: Unit entered failed state.
Jun 06 12:15:57 poghril systemd[1]: munin-node.service: Failed with result 'exit-code'.

--------------

I have not encountered that error before, and it appears to be the result of an issue with the build.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Tuesday, 06 June 2017, 12:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  munin-node 2.0.26-4
Comment by Sagattarii (sagattarii) - Tuesday, 06 June 2017, 12:37 GMT
Same here.

"/build/munin/pkg/munin-node/etc/munin/ 8...]" obviously does not exist. It should be "/etc/munin/[...]"

relevant lines in /usr/bin/munin-node

my $sconfdir = "$Munin::Common::Defaults::MUNIN_CONFDIR/plugin-conf.d";
my $conffile = "$Munin::Common::Defaults::MUNIN_CONFDIR/munin-node.conf";

Loading...