diff --git a/systemd.changes b/systemd.changes index 546b3bd4..610c1964 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jun 21 10:30:58 UTC 2023 - Franck Bui + +- Make sure to pre-install the groups systemd and udev rely on. This is needed + when the tmpfiles are run at package installation time (i.e. when + file-triggers are disabled). + ------------------------------------------------------------------- Wed Jun 21 09:28:29 UTC 2023 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 8d878b4b..2a8e6ce4 100644 --- a/systemd.spec +++ b/systemd.spec @@ -68,7 +68,7 @@ %bcond_without testsuite %endif # Kept to ease migrations toward SLE -%bcond_without filetriggers +%bcond_with filetriggers %bcond_with split_usr Name: systemd%{?mini} @@ -137,7 +137,7 @@ Requires: netcfg >= 11.5 Requires: systemd-default-settings-branding Requires: systemd-presets-branding Requires: util-linux >= 2.27.1 -Requires: group(lock) +Requires(pre): group(lock) # This Recommends because some symbols of libpcre2 are dlopen()ed by journalctl Recommends: libpcre2-8-0 Recommends: libbpf0 @@ -323,7 +323,7 @@ Requires: %{name} = %{version}-%{release} Requires: filesystem Requires: kmod Requires: system-group-hardware -Requires: group(kvm) +Requires(pre): group(kvm) Requires(post): sed Requires(post): coreutils Requires(postun):coreutils