This package installs systemd unit, yet its logrotate file assumes OpenRC. Reproducible: Always
The following script should work: # Logrotate file for acct /var/account/pacct { compress delaycompress notifempty daily rotate 31 create 0600 root root missingok postrotate systemctl try-restart acct endscript } Note that it doesn't work with openrc. You could just do both. Test for whether openrc is installed, and if so call the existing line. Then test for whether systemctl exists and if so call the new one. I wouldn't just call the init.d script - I'm not sure how that will behave if openrc isn't installed, and there is an effort underway to remove it from the system set.
Fixed via https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce3320b8f7c1530d7438cd4774a72a75266e1c0b Thanks for the report!