Simon McVittie <s...@debian.org> writes:

> Well, you're the maintainer; if you want munin to not mask the systemd
> unit generated from its init script, you don't have to install that
> symlink.  It seems to have been done deliberately:
> https://sources.debian.net/src/munin/2.0.33-1/debian/munin.links/ Do
> you know why? I couldn't see anything relevant-looking in d/changelog.
> I'd normally check the git history, but alioth is down at the moment.

Hello,

Munin needs /run/munin created with the correct permissions.

When using sysv init, the /etc/init.d/munin script does that, and exits.

When using systemd, this is handled with debian/munin-common.tmpfile
which installs into /usr/lib/tmpfiles.d/, and and the munin init script
is masked to prevent this from running twice.

Commit c8d748232a230b695e4e938c36a4d216901c16e0 made this change in the
munin packaging repo, the first debian release containing this was
2.0.16-3, in 2013.

In munin 3, still under development, the munin service start an instance
of rrdcached, while for munin 2, using rrdcached was left up to the
maintainer to scale munin beyond a handful of hosts.

-- 
Stig Sandbeck Mathisen
https://fnord.no/

Reply via email to