The munin package installs a logrotate config to /etc/logrotate.d/munin with the following line: create 640 munin I believe this is invalid, and logrotate complains about it: error: munin:32 unknown user '640' error: found error in /var/log/munin/munin-cgi-graph.log /var/log/munin/munin-cgi-html.log, skipping error: found error in file munin, skipping According to logrotate's man page https://linux.die.net/man/8/logrotate the create command needs three parameters ("mode owner group"), group is not optional. This happens both with net-analyzer/munin-2.0.75 (stable version) and net-analyzer/munin-2.0.76-r1 (unstable).
The two-argument version of create is also valid logrotate, but in that case it assumes owner and group. This explains the error about the unknown user. I'll add the "root" group here to fix this, consistent with the create statement for the munin-node.log file.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e7e40556dc04e37a5787a12e65df13e1e9f4535 commit 8e7e40556dc04e37a5787a12e65df13e1e9f4535 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2024-09-08 07:30:23 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2024-09-08 07:31:44 +0000 net-analyzer/munin: fix logrotate file Closes: https://bugs.gentoo.org/939104 Signed-off-by: Hans de Graaff <graaff@gentoo.org> net-analyzer/munin/files/logrotate.d-munin.4 | 33 +++ net-analyzer/munin/munin-2.0.76-r2.ebuild | 418 +++++++++++++++++++++++++++ 2 files changed, 451 insertions(+)
*** Bug 939370 has been marked as a duplicate of this bug. ***
Re-opening until we have a stable version fixed.