Sync from SUSE:ALP:Source:Standard:1.0 systemd revision c3e446e825845b225cb0352a4a18811b

This commit is contained in:
Adrian Schröter 2024-03-01 17:02:49 +01:00
parent 1f88308a33
commit c2022c7d5e
8 changed files with 131 additions and 18 deletions

View File

@ -32,7 +32,11 @@
%{_mandir}/man8/systemd-pcrmachine.service.8.gz
%{_mandir}/man8/systemd-pcrphase-initrd.service.8.gz
%{_mandir}/man8/systemd-pcrphase-sysinit.service.8.gz
%if %{with upstream}
%{_mandir}/man8/systemd-pcrextend.8.gz
%else
%{_mandir}/man8/systemd-pcrphase.8.gz
%endif
%{_mandir}/man8/systemd-pcrphase.service.8.gz
%endif
%{_mandir}/man8/systemd-repart.8.gz
@ -53,8 +57,12 @@
%endif
%{_systemd_util_dir}/systemd-oomd
%if %{with sd_boot}
%if %{with upstream}
%{_systemd_util_dir}/systemd-pcrextend
%else
%{_systemd_util_dir}/systemd-pcrphase
%endif
%endif
%{_systemd_util_dir}/systemd-sysupdate
%{_systemd_util_dir}/systemd-userwork
%if %{with sd_boot}

View File

@ -31,7 +31,11 @@
%{_systemd_util_dir}/network/80-container-vb.network
%{_systemd_util_dir}/network/80-container-ve.network
%{_systemd_util_dir}/network/80-container-vz.network
%if %{with upstream}
%{_systemd_util_dir}/network/89-ethernet.network.example
%else
%{_systemd_util_dir}/network/80-ethernet.network.example
%endif
%{_systemd_util_dir}/network/80-vm-vt.network
%{_systemd_util_dir}/network/80-wifi-adhoc.network
%{_systemd_util_dir}/network/80-wifi-ap.network.example

View File

@ -209,8 +209,8 @@
%{_libdir}/libnss_myhostname.so.2
%{_libdir}/libnss_systemd.so.2
%endif
%{_libdir}/systemd/libsystemd-core-254.so
%{_libdir}/systemd/libsystemd-shared-254.so
%{_libdir}/systemd/libsystemd-core-*.so
%{_libdir}/systemd/libsystemd-shared-*.so
%if %{without bootstrap}
%{_mandir}/man1/busctl.1.gz
%{_mandir}/man1/hostnamectl.1.gz
@ -603,6 +603,7 @@
%{_unitdir}/systemd-logind.service
%{_unitdir}/systemd-machine-id-commit.service
%{_unitdir}/systemd-poweroff.service
%{_unitdir}/systemd-reboot.service
%{_unitdir}/systemd-soft-reboot.service
%{_unitdir}/systemd-sysctl.service
%{_unitdir}/systemd-sysext.service

View File

@ -325,7 +325,6 @@
%{_unitdir}/systemd-pstore.service
%{_unitdir}/systemd-quotacheck.service
%{_unitdir}/systemd-random-seed.service
%{_unitdir}/systemd-reboot.service
%{_unitdir}/systemd-remount-fs.service
%{_unitdir}/systemd-rfkill.service
%{_unitdir}/systemd-rfkill.socket

BIN
systemd-v254.8+suse.22.g67a5ac1043.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
systemd-v254.9+suse.30.g31f1148f75.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,73 @@
-------------------------------------------------------------------
Thu Feb 22 09:47:41 UTC 2024 - Franck Bui <fbui@suse.com>
- Import commit 31f1148f75a1155d3eb37fd1a450096d669ec65b
31f1148f75 seccomp: include `fchmodat2` in `@file-system` (bsc#1219766)
001f349c57 service: Demote log level of NotifyAccess= messages to debug (bsc#1210113 jsc#PED-6214)
-------------------------------------------------------------------
Tue Feb 20 12:22:42 UTC 2024 - Daan De Meyer <daan.j.demeyer@gmail.com>
- Add a new %upstream macro to support building from upstream sources. This
will allow upstream to build systemd rpms using the opensuse systemd packaging
specs. These rpms will be built and used in upstream's mkosi based hacking and
testing environment to test changes and in the future to run integration tests
as well. By building the rpms using the opensuse packaging specs, the idea is
to catch more issues ahead of time as the mkosi environment will behave more
like a regular opensuse system.
- Add new %version_override and %version_release macros to allow overriding the
version and release of the rpm respectively.
-------------------------------------------------------------------
Mon Feb 19 08:53:31 UTC 2024 - Franck Bui <fbui@suse.com>
- Import commit 53e2aaaf9d69fb1c8f6ae2c9f8a99b02d70d318f
53e2aaaf9d vconsole-setup: don't fail if the only found vc is already used by plymouth (bsc#1218618)
22c4878430 vconsole-setup: port to main-func.h boilerplate
-------------------------------------------------------------------
Mon Feb 19 08:27:42 UTC 2024 - Franck Bui <fbui@suse.com>
- systemd-testsuite: depend on "qemu" instead of "qemu-kvm", the latter is
obsolete. (bsc#1218684)
-------------------------------------------------------------------
Wed Feb 14 08:16:32 UTC 2024 - Franck Bui <fbui@suse.com>
- Import commit fbf9f32eb774ba6ec54e0d5d53b36baaf3e6b146
fbf9f32eb7 test/test-shutdown.py: optionally display the test I/Os in a dedicated log file
cd012774df test-69: send SIGTERM to ask systemd-nspawn to properly stop the container
d883b83244 man: Document ranges for distributions config files and local config files
-------------------------------------------------------------------
Wed Feb 14 07:40:08 UTC 2024 - Franck Bui <fbui@suse.com>
- Import commit fa94ab006d09686cef121aaa3baa10cf5ca95e19 (merge of v254.9)
For a complete list of changes, visit:
https://github.com/openSUSE/systemd/compare/67a5ac1043417d900bf417a884372ae14a96ef69...fa94ab006d09686cef121aaa3baa10cf5ca95e19
-------------------------------------------------------------------
Tue Feb 13 14:37:28 UTC 2024 - Franck Bui <fbui@suse.com>
- Update the version of libbpf dlopened by systemd (weak dependency) (bsc#1219440)
-------------------------------------------------------------------
Tue Feb 6 14:48:27 UTC 2024 - Franck Bui <fbui@suse.com>
- Drop python3-pefile dependency from the experimental package. MicroOs is fond
of the experimental stuff but OTOH it doesn't ship python3. Let's drop the
dependency for now, users of ukify are invited to install python3-pe manually.
-------------------------------------------------------------------
Tue Feb 6 13:31:09 UTC 2024 - Franck Bui <fbui@suse.com>
- Move systemd-reboot.service from udev to the main package as this service is
useful in containers.
-------------------------------------------------------------------
Tue Jan 23 13:44:21 UTC 2024 - Franck Bui <fbui@suse.com>
@ -37,6 +107,10 @@ Fri Jan 12 09:34:14 UTC 2024 - Franck Bui <fbui@suse.com>
- Import commit 67a5ac1043417d900bf417a884372ae14a96ef69 (merge of v254.8)
It includes the following fix:
029272750f resolved: actually check authenticated flag of SOA transaction (bsc#1218297 CVE-2023-7008)
For a complete list of changes, visit:
https://github.com/openSUSE/systemd/compare/071ac409a0564863657d8f8a5a35e6a4f914695f...67a5ac1043417d900bf417a884372ae14a96ef69

View File

@ -18,7 +18,18 @@
%global flavor @BUILD_FLAVOR@%{nil}
%define archive_version +suse.22.g67a5ac1043
%define archive_version +suse.30.g31f1148f75
%if 0%{?version_override}
%define systemd_major %version_override
%define systemd_minor %{nil}
%else
%define systemd_major 254
%define systemd_minor 9
%endif
%define systemd_version %{systemd_major}%{?systemd_minor:.%{systemd_minor}}
%define systemd_release %{?release_override}%{!?release_override:0}
%define _testsuitedir %{_systemd_util_dir}/tests
%define xinitconfdir %{?_distconfdir}%{!?_distconfdir:%{_sysconfdir}}/X11/xinit
@ -58,6 +69,8 @@
%bcond_without testsuite
%endif
%bcond_with upstream
# The following features are kept to ease migrations toward SLE. Their default
# value is independent of the build flavor.
%bcond_without filetriggers
@ -79,8 +92,10 @@ fi \
Name: systemd%{?mini}
URL: http://www.freedesktop.org/wiki/Software/systemd
Version: 254.8
Release: 0
# Allow users to specify the version and release when building the rpm by
# setting the %%version_override and %%release_override macros.
Version: %systemd_version
Release: %systemd_release
Summary: A System and Session Manager
License: LGPL-2.1-or-later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -147,9 +162,10 @@ Requires(post): coreutils
Requires(post): findutils
Requires(post): systemd-presets-branding
Requires(post): pam-config >= 0.79-5
# This Recommends because some symbols of libpcre2 are dlopen()ed by journalctl
# These weak dependencies because some features are optional and enabled at
# runtime with the presence of the relevant libs.
Recommends: libpcre2-8-0
Recommends: libbpf0
Recommends: libbpf1
%endif
Provides: group(systemd-journal)
Conflicts: filesystem < 11.5
@ -214,6 +230,8 @@ Patch4: 0002-rc-local-fix-ordering-startup-for-etc-init.d-boot.lo.patch
Patch5: 0008-sysv-generator-translate-Required-Start-into-a-Wants.patch
%endif
%if %{without upstream}
# Patches listed below are put in quarantine. Normally all changes must go to
# upstream first and then are cherry-picked in the SUSE git repository. But for
# very few cases, some stuff might be broken in upstream and need to be fixed or
@ -231,6 +249,8 @@ Patch5008: 5008-test-Add-effective-cgroup-limits-testing.patch
Patch5009: 5009-cgroup-Restrict-effective-limits-with-global-resourc.patch
Patch5010: 5010-cgroup-Rename-effective-limits-internal-table.patch
%endif
%description
Systemd is a system and service manager, compatible with SysV and LSB
init scripts for Linux. systemd provides aggressive parallelization
@ -356,6 +376,15 @@ Conflicts: util-linux < 2.16
Conflicts: udev
Provides: udev = %{version}-%{release}
%endif
%if %{with upstream}
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(xencontrol)
BuildRequires: pkgconfig(xkbcommon)
Recommends: libarchive13
Recommends: libxkbcommon0
%endif
%description -n udev%{?mini}
This package provides systemd-udevd. The udev daemon receives device uevents
@ -621,7 +650,7 @@ Requires: make
Requires: mtools
Requires: netcat
Requires: python3-pexpect
Requires: qemu-kvm
Requires: qemu
Requires: quota
Requires: socat
Requires: squashfs
@ -676,8 +705,6 @@ refer to %{_testsuitedir}/integration-tests/README.testsuite.
Summary: Experimental systemd features
License: LGPL-2.1-or-later
Requires: %{name} = %{version}-%{release}
# Needed by ukify
Requires: python3-pefile
%systemd_requires
# fdisk is a build requirement for repart
BuildRequires: pkgconfig(fdisk)
@ -723,7 +750,7 @@ export CFLAGS="%{optflags} -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
%meson \
-Dmode=release \
-Dversion-tag=%{version}%{archive_version} \
-Dversion-tag=%{version}%[%{without upstream}?"%{archive_version}":""] \
-Ddocdir=%{_docdir}/systemd \
%if %{with split_usr}
-Drootprefix=/usr \
@ -800,7 +827,7 @@ export CFLAGS="%{optflags} -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
-Dsbat-distro-url="%{?sbat_distro_url}" \
\
-Dsbat-distro-pkgname="%{name}" \
-Dsbat-distro-version="%{version}-%{release}" \
-Dsbat-distro-version="%{version}%[%{without upstream}?"-%{release}":""]" \
\
-Ddefault-dnssec=no \
-Ddns-servers='' \
@ -1388,13 +1415,13 @@ fi
%defattr(-,root,root)
%license LICENSE.LGPL2.1
%{_libdir}/libsystemd.so.0
%{_libdir}/libsystemd.so.0.37.0
%{_libdir}/libsystemd.so.0.*.0
%files -n libudev%{?mini}1
%defattr(-,root,root)
%license LICENSE.LGPL2.1
%{_libdir}/libudev.so.1
%{_libdir}/libudev.so.1.7.7
%{_libdir}/libudev.so.1.7.*
%if %{with coredump}
%files coredump