When installing xfsprogs, I've noticed it installed these files: --- /lib/ --- /lib/systemd/ --- /lib/systemd/system/ >>> /lib/systemd/system/xfs_scrub@.service >>> /lib/systemd/system/xfs_scrub_all.service >>> /lib/systemd/system/xfs_scrub_all.timer >>> /lib/systemd/system/xfs_scrub_fail@.service These are all systemd files. I've no need for them on an OpenRC system. Please provide a USE flag so that systems that don't need them don't receive them. As of now, there doesn't seem to be such a flag: Lavos ~ # equery uses xfsprogs [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for sys-fs/xfsprogs-6.4.0: U I - - icu : Enable ICU (Internationalization Components for Unicode) support, using dev-libs/icu - - libedit : Use the libedit library (replacement for readline) + + nls : Add Native Language Support (using gettext - GNU locale utilities) Reproducible: Always Steps to Reproduce: 1. Install sys-fs/xfsprogs 2. Forget to add -q to emerge, so you'll be able to accidentally see what files are being installed Actual Results: systemd files are installed on an OpenRC system. Expected Results: Such files shouldn't be installed on OpenRC systems. systemd files belong to systemd profiles. They should only install there.
https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0301
I see. However, xfsprogs is not a big package.
We install systemd units unconditionally for all packages.