Bugzilla – Bug 1217852
The systemd/systemd-mini packages do not provide group(systemd-journal)
Last modified: 2023-12-13 09:30:12 UTC
The upcoming rpm-4.19 automatically adds user/group requires for non-root owned files. The systemd and systemd-mini package contain a /var/log/journal directory that has group "systemd-journal". They also contain a /usr/lib/sysusers.d/systemd-journal.conf file that contains the group definition. We automatically create the user/group provides from the sysusers specification if the sysuser-tools is installed at build time. But this is not the case for systemd. So, could you either add a "BuildRequires: sysuser-tools" or add a "Provides: group(systemd-journal)" to the systemd and systemd-mini packages.
Given that "sysusers-tools" depends on "sysuser-shadow", which provides /usr/sbin/sysusers2shadow script only and this script is either duplicating the functionality of systemd-sysusers (only partially) or just calling systemd-sysusers if it's installed, using "BuildRequires: sysuser-tools" would be strange. Even "sysusers-tools" duplicates the functionality of `%sysusers_create_package()` macro provided by systemd-rpm-macros... I don't know why this is needed. If it's a matter of dependencies, we could provide a standalone version of systemd-sysusers that wouldn't depend on systemd. Anyway I'll probably go with "Provides: group(systemd-journal)".
Fix submitted via sr#1132619, closing.
Thank you!
This is an autogenerated message for OBS integration: This bug (1217852) was mentioned in https://build.opensuse.org/request/show/1132619 Factory / systemd