diff --git a/systemd.spec b/systemd.spec index 75a3d658a0172e9fc5425cc33c2db23206e39149..d8ca635c28f27ff8d5d081ae324d7df35b099ba1 100644 --- a/systemd.spec +++ b/systemd.spec @@ -6,6 +6,8 @@ %global _docdir_fmt %{name} %global _systemddir /usr/lib/systemd +%global py_auto_byte_compile 0 + %ifarch aarch64 %global efi_arch aa64 %endif @@ -25,7 +27,7 @@ Name: systemd Url: https://systemd.io/ Version: 255 -Release: 49 +Release: 50 License: LGPL-2.1-or-later AND MIT AND GPL-2.0-or-later Summary: System and Service Manager @@ -212,6 +214,8 @@ Requires(post): acl Requires(post): grep Requires(post): openssl-libs Requires(pre): coreutils +Requires(pre): /usr/bin/getent +Requires(pre): /usr/sbin/groupadd Requires(meta): (%{name}-rpm-macros = %{version}-%{release} if rpm-build) Recommends: diffutils Recommends: libxkbcommon%{?_isa} @@ -727,6 +731,9 @@ if test -d /run/systemd/system; then %{_systemddir}/systemd-binfmt || : fi +%pre +getent group utmp &>/dev/null || groupadd -r -g 22 utmp &>/dev/null || : + %post /sbin/ldconfig systemd-machine-id-setup &>/dev/null || : @@ -1720,6 +1727,9 @@ fi %{_unitdir}/veritysetup.target %changelog +* Fri Aug 08 2025 Funda Wang - 255-50 +- utmp group is required in file list, it must be created in pre section + * Fri Aug 08 2025 Linux_zhang - 255-49 - sync patches from systemd community