on a ~x86-system with net-analyzer/munin already installed the ebuild for net-analyzer/munin-2.0.19-r2 tries to re-create the group "munin-async" and fails because this group already exists from the previous installation. error log: * Package: net-analyzer/munin-2.0.19-r2 * Repository: gentoo * Maintainer: sysadmin@gentoo.org * USE: abi_x86_32 elibc_glibc kernel_linux minimal ssl userland_GNU x86 * FEATURES: preserve-libs sandbox userpriv usersandbox * Adding user 'munin-async' to your system ... * - Userid: 107 * - Shell: /bin/sh * - Home: /var/spool/munin-async * - Groups: (none) * - GECOS: added by portage for munin useradd: group munin-async exists - if you want to add this user to that group, use -g. * ERROR: net-analyzer/munin-2.0.19-r2::gentoo failed (setup phase): * (no error message) * * Call stack: * ebuild.sh, line 133: Called pkg_setup * munin-2.0.19-r2.ebuild, line 104: Called enewuser 'munin-async' '-1' '/bin/sh' '/var/spool/munin-async' * user.eclass, line 248: Called die * The specific snippet of code: * useradd -r "${opts[@]}" "${euser}" || die i do not use munin-async so the solution was to groupdel munin-async and re-emerge the package
Munin now uses the new user management mechanism with acct-group and acct-user ebuilds, so this issue should no longer occur.