Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78273 - [munin] Should ship with systemd service

Attached to Project: Community Packages
Opened by janek (xeruf) - Friday, 21 April 2023, 09:23 GMT
Last edited by Toolybird (Toolybird) - Friday, 21 April 2023, 21:52 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The setup instructions mention the service being available right away: https://munin-monitoring.org/download/
But the service files that are apparently included in Debian are missing in the arch package:
https://github.com/munin-monitoring/munin/tree/master/doc/example/service/linux/systemd
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 21 April 2023, 21:52 GMT
Reason for closing:  None
Additional comments about closing:  See comments
Comment by janek (xeruf) - Friday, 21 April 2023, 09:31 GMT
Ah, the service is called munin-html rather than munin-http.
And it ships broken:
```sh
× munin-html.service - Munin FastCGI HTML
Loaded: loaded (/usr/lib/systemd/system/munin-html.service; static)
Active: failed (Result: exit-code) since Fri 2023-04-21 11:24:15 CEST; 6min ago
Duration: 17ms
TriggeredBy: ● munin-html.socket
Process: 78238 ExecStart=/usr/share/munin/cgi/munin-cgi-html (code=exited, status=2)
Main PID: 78238 (code=exited, status=2)
CPU: 13ms

Apr 21 11:24:15 elephant.arch systemd[1]: Started Munin FastCGI HTML.
Apr 21 11:24:15 elephant.arch munin-cgi-html[78238]: Can't locate CGI/Fast.pm in @INC (you may need to install the CGI::Fast module) (@INC contains: /usr/lib/perl5/5.36/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.36/vendor_perl /usr/share/perl5/vendor_perl />
Apr 21 11:24:15 elephant.arch munin-cgi-html[78238]: BEGIN failed--compilation aborted at /usr/share/munin/cgi/munin-cgi-html line 30.
Apr 21 11:24:15 elephant.arch systemd[1]: munin-html.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 21 11:24:15 elephant.arch systemd[1]: munin-html.service: Failed with result 'exit-code'.
```
Comment by janek (xeruf) - Friday, 21 April 2023, 09:34 GMT
And how do I know which of all these services to use, since they deviate from the docs?
Is there any documentation on the arch package?

/usr/lib/munin/munin-limits
/usr/lib/munin/munin-html
/usr/lib/munin/munin-datafile2storable
/usr/lib/munin/plugins/munin_stats
/usr/lib/munin/plugins/munin_update
/usr/lib/munin/munin-storable2datafile
/usr/lib/munin/munin-asyncd
/usr/lib/munin/munin-graph
/usr/lib/munin/munin-async
/usr/lib/munin/munin-update
/usr/lib/sysusers.d/munin.conf
/usr/lib/sysusers.d/munin-node.conf
/usr/lib/systemd/system/munin-async.service
/usr/lib/systemd/system/munin-node.service
/usr/lib/systemd/system/munin-html.socket
/usr/lib/systemd/system/munin-html.service
/usr/lib/systemd/system/munin-graph.socket
/usr/lib/systemd/system/munin-graph.service
Comment by janek (xeruf) - Friday, 21 April 2023, 09:48 GMT
ah, missed an optional dependency, but now this:

× munin-html.service - Munin FastCGI HTML
Loaded: loaded (/usr/lib/systemd/system/munin-html.service; static)
Active: failed (Result: exit-code) since Fri 2023-04-21 11:48:14 CEST; 1s ago
Duration: 97ms
TriggeredBy: ● munin-html.socket
Process: 89826 ExecStart=/usr/share/munin/cgi/munin-cgi-html (code=exited, status=1/FAILURE)
Main PID: 89826 (code=exited, status=1/FAILURE)
CPU: 95ms

Apr 21 11:48:14 elephant.arch systemd[1]: Started Munin FastCGI HTML.
Apr 21 11:48:14 elephant.arch munin-cgi-html[89826]: 2023/04/21 11:48:14 [FATAL] munin_readconfig_part(datafile) - missing file
Apr 21 11:48:14 elephant.arch systemd[1]: munin-html.service: Main process exited, code=exited, status=1/FAILURE
Apr 21 11:48:14 elephant.arch systemd[1]: munin-html.service: Failed with result 'exit-code'.
Comment by Toolybird (Toolybird) - Friday, 21 April 2023, 21:52 GMT
Again, you seem to be mistaken. Please read the Wiki entry [1] and also use the support channels (forum/IRC/mailing lists/Reddit/etc) when trying to get stuff working. If an Arch packaging bug ends up being identified, please come back here with clear and concise steps to repro while following the guidelines [2] to compose a good bug report.

[1] https://wiki.archlinux.org/title/Munin
[2] https://wiki.archlinux.org/title/Bug_reporting_guidelines

Loading...