munin-monitoring / munin

Main repository for munin master / node / plugins
http://munin-monitoring.org
Other
2k stars 474 forks source link

Add a systemd unit #1639

Closed damyan closed 1 week ago

damyan commented 1 week ago

Currently munin comes with an SysV service (/etc/init.d/munin) only, so on a systemd-enabled distro the systemd-sysv-generator spams the journal with lots of:

[2137362.111413] systemd-sysv-generator[1550039]: SysV service '/etc/init.d/munin' lacks a native systemd unit file, automatically generating a unit file for compatibility.
[2137362.112122] systemd-sysv-generator[1550039]: Please update package to include a native systemd unit file.
[2137362.112632] systemd-sysv-generator[1550039]: ! This compatibility logic is deprecated, expect removal soon. !

Note: systemd does not intend to implement a suppress flag, so the warnings appear even during the compatibility-logic-still-enabled time. S. https://github.com/systemd/systemd/issues/18014

damyan commented 1 week ago

Duplicated debian issue https://bugs-devel.debian.org/cgi-bin/bugreport.cgi?bug=1039274.

Closing, sorry for the noise.