| |
@@ -1,15 +1,4 @@
|
| |
- # Meson settings
|
| |
- %global _vpath_srcdir .
|
| |
- %global _vpath_builddir %{_target_platform}
|
| |
- %global __global_cflags %{optflags}
|
| |
- %global __global_cxxflags %{optflags}
|
| |
- %global __global_fflags %{optflags} -I%_fmoddir
|
| |
- %global __global_fcflags %{optflags} -I%_fmoddir
|
| |
- %global __global_ldflags -Wl,-z,relro %{_hardened_ldflags}
|
| |
-
|
| |
- %define _python_bytecompile_errors_terminate_build 0
|
| |
-
|
| |
- #global commit 7f56c26d1041e686efa72b339250a98fb6ee8f00
|
| |
+ #global commit c4b843473a75fb38ed5bf54e9d3cfb1cb3719efa
|
| |
%{?commit:%global shortcommit %(c=%{commit}; echo ${c:0:7})}
|
| |
|
| |
%global stable 1
|
| |
@@ -23,83 +12,52 @@
|
| |
%global system_unit_dir %{pkgdir}/system
|
| |
%global user_unit_dir %{pkgdir}/user
|
| |
|
| |
- %if 0%{?facebook}
|
| |
- %if 0%{?el7}
|
| |
- ### The version of meson and redhat-rpm-config is not in sync in C7.
|
| |
- ### Copied from the 'redhat-rpm-config-123-1' version of /usr/lib/rpm/redhat/macros
|
| |
- ### to support the building of systemd via meson that uses the
|
| |
- ### set_build_flags macro.
|
| |
- %global _ld_symbols_flags %{?_strict_symbol_defs_build:-Wl,-z,defs}
|
| |
-
|
| |
- #==============================================================================
|
| |
- # ---- compiler flags.
|
| |
-
|
| |
- # C compiler flags. This is traditionally called CFLAGS in makefiles.
|
| |
- # Historically also available as %%{optflags}, and %%build sets the
|
| |
- # environment variable RPM_OPT_FLAGS to this value.
|
| |
- %global build_cflags %{optflags}
|
| |
-
|
| |
- # C++ compiler flags. This is traditionally called CXXFLAGS in makefiles.
|
| |
- %global build_cxxflags %{optflags}
|
| |
-
|
| |
- # Fortran compiler flags. Makefiles use both FFLAGS and FCFLAGS as
|
| |
- # the corresponding variable names.
|
| |
- %global build_fflags %{optflags} -I%{_fmoddir}
|
| |
-
|
| |
- # Link editor flags. This is usually called LDFLAGS in makefiles.
|
| |
- # (Some makefiles use LFLAGS instead.) The default value assumes that
|
| |
- # the flags, while intended for ld, are still passed through the gcc
|
| |
- # compiler driver. At the beginning of %%build, the environment
|
| |
- # variable RPM_LD_FLAGS to this value.
|
| |
- %global build_ldflags -Wl,-z,relro %{_ld_symbols_flags} %{_hardened_ldflags}
|
| |
-
|
| |
- # Expands to shell code to seot the compiler/linker environment
|
| |
- # variables CFLAGS, CXXFLAGS, FFLAGS, FCFLAGS, LDFLAGS if they have
|
| |
- # not been set already. RPM_OPT_FLAGS and RPM_LD_FLAGS have already
|
| |
- # been set implicitly at the start of the %%build section.
|
| |
- %global set_build_flags \
|
| |
- CFLAGS="${CFLAGS:-%{build_cflags}}" ; export CFLAGS ; \
|
| |
- CXXFLAGS="${CXXFLAGS:-%{build_cxxflags}}" ; export CXXFLAGS ; \
|
| |
- FFLAGS="${FFLAGS:-%{build_fflags}}" ; export FFLAGS ; \
|
| |
- FCFLAGS="${FCFLAGS:-%{build_fflags}}" ; export FCFLAGS ; \
|
| |
- LDFLAGS="${LDFLAGS:-%{build_ldflags}}" ; export LDFLAGS;
|
| |
-
|
| |
- ### Copied from the rpm-4.14.2-36 version of /usr/lib/rpm/platform/x86_64-linux/macros
|
| |
- ### to support the building of systemd via meson that uses the
|
| |
- ### _smp_build_ncpus macro
|
| |
- %global _smp_build_ncpus %([ -z "$RPM_BUILD_NCPUS" ] \\\
|
| |
- && RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\
|
| |
- ncpus_max=%{?_smp_ncpus_max}; \\\
|
| |
- if [ -n "$ncpus_max" ] && [ "$ncpus_max" -gt 0 ] && [ "$RPM_BUILD_NCPUS" -gt "$ncpus_max" ]; then RPM_BUILD_NCPUS="$ncpus_max"; fi; \\\
|
| |
- echo "$RPM_BUILD_NCPUS";)
|
| |
-
|
| |
- %global _smp_mflags -j%{_smp_build_ncpus}
|
| |
- %endif
|
| |
+ %if 0%{?__isa_bits} == 64
|
| |
+ %global elf_bits (64bit)
|
| |
+ %global elf_suffix ()%{elf_bits}
|
| |
%endif
|
| |
|
| |
# Bootstrap may be needed to break intercircular dependencies with
|
| |
# cryptsetup, e.g. when re-building cryptsetup on a json-c SONAME-bump.
|
| |
%bcond_with bootstrap
|
| |
%bcond_without tests
|
| |
+ %bcond_without lto
|
| |
+
|
| |
+ # Support for quick builds with rpmbuild --build-in-place.
|
| |
+ # See README.build-in-place.
|
| |
+ %bcond_with inplace
|
| |
+
|
| |
+ %if 0%{?facebook}
|
| |
+ %bcond_with selinux
|
| |
+ %else
|
| |
+ %bcond_without selinux
|
| |
+ %endif
|
| |
+
|
| |
+ # Remove this when the macro exists in CentOS
|
| |
+ %global version_no_tilde %(c=%{version}; echo ${c}|tr '~' '-')
|
| |
|
| |
Name: systemd
|
| |
Url: https://www.freedesktop.org/wiki/Software/systemd
|
| |
- Version: 246.1
|
| |
- Release: 1.fb6
|
| |
+ %if %{without inplace}
|
| |
+ Version: 249.4
|
| |
+ Release: 2.9%{?dist}
|
| |
+ %else
|
| |
+ # determine the build information from local checkout
|
| |
+ Version: %(tools/meson-vcs-tag.sh . error | sed -r 's/-([0-9])/.^\1/; s/-g/_g/')
|
| |
+ Release: 1
|
| |
+ %endif
|
| |
# For a breakdown of the licensing, see README
|
| |
License: LGPLv2+ and MIT and GPLv2+
|
| |
Summary: System and Service Manager
|
| |
|
| |
- %global github_version %(c=%{version}; echo ${c}|tr '~' '-')
|
| |
-
|
| |
# download tarballs with "spectool -g systemd.spec"
|
| |
%if %{defined commit}
|
| |
Source0: https://github.com/systemd/systemd%{?stable:-stable}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
| |
%else
|
| |
%if 0%{?stable}
|
| |
- Source0: https://github.com/systemd/systemd-stable/archive/v%{github_version}/%{name}-%{github_version}.tar.gz
|
| |
+ Source0: https://github.com/systemd/systemd-stable/archive/v%{version_no_tilde}/%{name}-%{version_no_tilde}.tar.gz
|
| |
%else
|
| |
- Source0: https://github.com/systemd/systemd/archive/v%{github_version}/%{name}-%{github_version}.tar.gz
|
| |
+ Source0: https://github.com/systemd/systemd/archive/v%{version_no_tilde}/%{name}-%{version_no_tilde}.tar.gz
|
| |
%endif
|
| |
%endif
|
| |
# This file must be available before %%prep.
|
| |
@@ -115,36 +73,80 @@
|
| |
Source10: systemd-udev-trigger-no-reload.conf
|
| |
Source11: 20-grubby.install
|
| |
Source12: systemd-user
|
| |
+ Source13: libsystemd-shared.abignore
|
| |
+
|
| |
+ Source14: 10-oomd-defaults.conf
|
| |
+ Source15: 10-oomd-root-slice-defaults.conf
|
| |
+ Source16: 10-oomd-user-service-defaults.conf
|
| |
|
| |
Source21: macros.sysusers
|
| |
Source22: sysusers.attr
|
| |
Source23: sysusers.prov
|
| |
Source24: sysusers.generate-pre.sh
|
| |
|
| |
+ # Needed for selinux subpackage
|
| |
+ Source100: Makefile.selinux
|
| |
+ Source101: systemd_hs.te
|
| |
+ Source102: systemd_hs.if
|
| |
+
|
| |
%if 0
|
| |
GIT_DIR=../../src/systemd/.git git format-patch-ab --no-signature -M -N v235..v235-stable
|
| |
i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done|xclip
|
| |
GIT_DIR=../../src/systemd/.git git diffab -M v233..master@{2017-06-15} -- hwdb/[67]* hwdb/parse_hwdb.py > hwdb.patch
|
| |
%endif
|
| |
|
| |
- Patch0002: 0001-Revert-test-path-increase-timeout.patch
|
| |
- Patch0003: 0002-test-path-do-not-fail-the-test-if-we-fail-to-start-s.patch
|
| |
+ # Backports of patches from upstream (0000–0499)
|
| |
+ #
|
| |
+ # Any patches which are "in preparation" upstream should be listed
|
| |
+ # here, rather than in the next section. Packit CI will drop any
|
| |
+ # patches in this range before applying upstream pull requests.
|
| |
+
|
| |
+ %if 0%{?facebook}
|
| |
+ Patch0001: 0001-rpm-don-t-specify-the-full-path-for-systemctl-and-ot.patch
|
| |
+ Patch0002: 0002-rpm-use-a-helper-script-to-actually-invoke-systemctl.patch
|
| |
+ Patch0003: 0003-rpm-call-needs-restart-in-parallel.patch
|
| |
+ Patch0004: 0004-rpm-restart-user-services-at-the-end-of-the-transact.patch
|
| |
+ Patch0005: 0005-update-helper-also-add-user-reexec-verb.patch
|
| |
+
|
| |
+ # PR 18621: FB variant of quieting "proc: Bad value for 'hidepid'" messages
|
| |
+ Patch0006: 18621-fb.patch
|
| |
+ %else
|
| |
+ # PR 18621: Quiet "proc: Bad value for 'hidepid'" messages
|
| |
+ Patch0006: https://github.com/systemd/systemd/pull/18621.patch
|
| |
+ %endif
|
| |
+
|
| |
+ # PRs to support additional systemd.network and systemd.link features
|
| |
+ Patch0007: https://github.com/systemd/systemd/pull/20743.patch
|
| |
+ Patch0008: https://github.com/systemd/systemd/pull/20458.patch
|
| |
+ Patch0009: https://github.com/systemd/systemd/pull/20472.patch
|
| |
+ Patch0010: https://github.com/systemd/systemd/pull/20477.patch
|
| |
+ Patch0011: https://github.com/systemd/systemd/pull/20484.patch
|
| |
+ Patch0012: https://github.com/systemd/systemd/pull/20489.patch
|
| |
+ Patch0013: https://github.com/systemd/systemd/pull/20450.patch
|
| |
+ Patch0014: https://github.com/systemd/systemd/pull/20541.patch
|
| |
+ Patch0015: https://github.com/systemd/systemd/pull/20729.patch
|
| |
+ Patch0016: https://github.com/systemd/systemd/pull/20828.patch
|
| |
+ # Part of PR #20892; it was difficult to backport the whole PR
|
| |
+ Patch0017: 50783f91d44b1978c0e4ba62283131fac75d3745_cherrypicked.patch
|
| |
+
|
| |
+ # PR 20875: allow verifying hidden (dot) files again
|
| |
+ Patch0018: https://github.com/systemd/systemd/pull/20875.patch
|
| |
|
| |
- Patch0004: 0001-test-acl-util-output-more-debug-info.patch
|
| |
- Patch0005: 0001-Do-not-assert-in-test_add_acls_for_user.patch
|
| |
+ # PR 20978: serialize bpf device programs across reloads/reexecs
|
| |
+ Patch0019: https://github.com/systemd/systemd/pull/20978.patch
|
| |
|
| |
- Patch1001: FB--Add-FusionIO-device--dev-fio-persistante-storage-udev-rule.patch
|
| |
+ # PR 20676: don't rewrite sysctls that are already set
|
| |
+ Patch0020: 20676_cherrypicked.patch
|
| |
|
| |
- Patch1002: 16838_16857_improve_path_search.patch
|
| |
- Patch1003: 16940_cleanup_socket_econn_handling.patch
|
| |
- Patch1004: 17031_propagate_start_limit_hit.patch
|
| |
- Patch1005: 17082_nspawn_tty_tweaks.patch
|
| |
+ # PR 21221: Fixes non-deterministic Slice= assignments
|
| |
+ Patch0021: 21221.patch
|
| |
|
| |
- Patch1006: 0001-bpf-pid1-Pin-reference-to-BPF-programs-for-post-cold.patch
|
| |
- Patch1007: 0002-core-clean-up-inactive-failed-service-scope-s-cgroup.patch
|
| |
- Patch1008: 0003-timer-add-new-feature-FixedRandomDelay.patch
|
| |
+ # Downstream-only patches (0500–9999)
|
| |
|
| |
- Patch1009: 16803_fix_asserts_conditions.patch
|
| |
+ # https://github.com/systemd/systemd/pull/17050
|
| |
+ Patch0501: https://github.com/systemd/systemd/pull/17050/commits/f58b96d3e8d1cb0dd3666bc74fa673918b586612.patch
|
| |
+ # Downgrade sysv-generator messages from warning to debug
|
| |
+ Patch0502: 0001-sysv-generator-downgrade-log-warning-about-autogener.patch
|
| |
|
| |
%ifarch %{ix86} x86_64 aarch64
|
| |
%global have_gnu_efi 1
|
| |
@@ -164,8 +166,9 @@
|
| |
BuildRequires: cryptsetup-devel
|
| |
%endif
|
| |
BuildRequires: dbus-devel
|
| |
+ BuildRequires: /usr/sbin/sfdisk
|
| |
# /usr/bin/getfacl is needed by test-acl-util
|
| |
- BuildRequires: acl
|
| |
+ BuildRequires: /usr/bin/getfacl
|
| |
BuildRequires: libacl-devel
|
| |
BuildRequires: gobject-introspection-devel
|
| |
BuildRequires: libblkid-devel
|
| |
@@ -183,10 +186,13 @@
|
| |
BuildRequires: libgcrypt-devel
|
| |
BuildRequires: libgpg-error-devel
|
| |
BuildRequires: gnutls-devel
|
| |
- BuildRequires: qrencode-devel
|
| |
BuildRequires: libmicrohttpd-devel
|
| |
BuildRequires: libxkbcommon-devel
|
| |
BuildRequires: iptables-devel
|
| |
+ BuildRequires: pkgconfig(tss2-esys)
|
| |
+ BuildRequires: pkgconfig(tss2-rc)
|
| |
+ BuildRequires: pkgconfig(tss2-mu)
|
| |
+ BuildRequires: systemtap-sdt-devel
|
| |
BuildRequires: libxslt
|
| |
BuildRequires: docbook-style-xsl
|
| |
BuildRequires: pkgconfig
|
| |
@@ -194,24 +200,24 @@
|
| |
BuildRequires: gawk
|
| |
BuildRequires: tree
|
| |
BuildRequires: hostname
|
| |
- %if 0%{?el7}
|
| |
- BuildRequires: python34-devel
|
| |
- BuildRequires: python34-lxml
|
| |
- %else
|
| |
BuildRequires: python3-devel
|
| |
BuildRequires: python3-lxml
|
| |
- %endif
|
| |
- BuildRequires: python3
|
| |
- %global __python3 /usr/bin/python3
|
| |
+ BuildRequires: python3-jinja2
|
| |
%if 0%{?have_gnu_efi}
|
| |
BuildRequires: gnu-efi gnu-efi-devel
|
| |
%endif
|
| |
BuildRequires: libseccomp-devel
|
| |
+ %if 0%{?el8}
|
| |
+ BuildRequires: meson >= 0.57
|
| |
+ %else
|
| |
BuildRequires: meson >= 0.43
|
| |
+ %endif
|
| |
BuildRequires: gettext
|
| |
# We use RUNNING_ON_VALGRIND in tests, so the headers need to be available
|
| |
BuildRequires: valgrind-devel
|
| |
BuildRequires: pkgconfig(bash-completion)
|
| |
+ BuildRequires: perl
|
| |
+ BuildRequires: perl(IPC::SysV)
|
| |
|
| |
Requires(post): coreutils
|
| |
Requires(post): sed
|
| |
@@ -220,14 +226,14 @@
|
| |
# systemd-machine-id-setup requires libssl
|
| |
Requires(post): openssl-libs
|
| |
Requires(pre): coreutils
|
| |
- Requires(pre): /usr/bin/getent
|
| |
- Requires(pre): /usr/sbin/groupadd
|
| |
Requires: dbus >= 1.9.18
|
| |
Requires: %{name}-pam = %{version}-%{release}
|
| |
- Requires: %{name}-rpm-macros = %{version}-%{release}
|
| |
+ Requires: (%{name}-rpm-macros = %{version}-%{release} if rpm-build)
|
| |
Requires: %{name}-libs = %{version}-%{release}
|
| |
+ %{?fedora:Recommends: %{name}-networkd = %{version}-%{release}}
|
| |
+ %{?fedora:Recommends: %{name}-resolved = %{version}-%{release}}
|
| |
Recommends: diffutils
|
| |
- Requires: util-linux
|
| |
+ Requires: (util-linux-core or util-linux)
|
| |
Recommends: libxkbcommon%{?_isa}
|
| |
Provides: /bin/systemctl
|
| |
Provides: /sbin/shutdown
|
| |
@@ -237,14 +243,33 @@
|
| |
Provides: system-setup-keyboard = 0.9
|
| |
# systemd-sysv-convert was removed in f20: https://fedorahosted.org/fpc/ticket/308
|
| |
Obsoletes: systemd-sysv < 206
|
| |
+ %if 0%{?facebook} == 0
|
| |
# self-obsoletes so that dnf will install new subpackages on upgrade (#1260394)
|
| |
- Obsoletes: %{name} < 229-5
|
| |
+ Obsoletes: %{name} < 249~~
|
| |
+ Conflicts: initscripts < 9.56.1
|
| |
+ %endif
|
| |
Provides: systemd-sysv = 206
|
| |
%if 0%{?fedora}
|
| |
Conflicts: fedora-release < 23-0.12
|
| |
%endif
|
| |
Obsoletes: timedatex < 0.6-3
|
| |
Provides: timedatex = 0.6-3
|
| |
+ Conflicts: %{name}-standalone-tmpfiles < %{version}-%{release}
|
| |
+ Obsoletes: %{name}-standalone-tmpfiles < %{version}-%{release}
|
| |
+ Conflicts: %{name}-standalone-sysusers < %{version}-%{release}
|
| |
+ Obsoletes: %{name}-standalone-sysusers < %{version}-%{release}
|
| |
+
|
| |
+ # Recommends to replace normal Requires deps for stuff that is dlopen()ed
|
| |
+ Recommends: libidn2.so.0%{?elf_suffix}
|
| |
+ Recommends: libidn2.so.0(IDN2_0.0.0)%{?elf_bits}
|
| |
+ Recommends: libpcre2-8.so.0%{?elf_suffix}
|
| |
+ Recommends: libpwquality.so.1%{?elf_suffix}
|
| |
+ Recommends: libpwquality.so.1(LIBPWQUALITY_1.0)%{?elf_bits}
|
| |
+
|
| |
+ %if %{with selinux}
|
| |
+ # Force the SELinux module to be installed
|
| |
+ Requires: %{name}-selinux = %{version}-%{release}
|
| |
+ %endif
|
| |
|
| |
%description
|
| |
systemd is a system and service manager that runs as PID 1 and starts
|
| |
@@ -324,16 +349,14 @@
|
| |
Requires(postun): systemd
|
| |
Requires(post): grep
|
| |
Requires: kmod >= 18-4
|
| |
- %if 0%{?facebook}
|
| |
- # obsolete parent package so that dnf will install new subpackage on upgrade (#1260394)
|
| |
- Obsoletes: %{name} < 229-5
|
| |
- %else
|
| |
+ %if 0%{?facebook} == 0
|
| |
# https://bodhi.fedoraproject.org/updates/FEDORA-2020-dd43dd05b1
|
| |
Obsoletes: systemd < 245.6-1
|
| |
%endif
|
| |
Provides: udev = %{version}
|
| |
Provides: udev%{_isa} = %{version}
|
| |
Obsoletes: udev < 183
|
| |
+
|
| |
# https://bugzilla.redhat.com/show_bug.cgi?id=1377733#c9
|
| |
Suggests: systemd-bootchart
|
| |
# https://bugzilla.redhat.com/show_bug.cgi?id=1408878
|
| |
@@ -385,6 +408,35 @@
|
| |
This package contains systemd-journal-gatewayd,
|
| |
systemd-journal-remote, and systemd-journal-upload.
|
| |
|
| |
+ %package networkd
|
| |
+ Summary: System daemon that manages network configurations
|
| |
+ Requires: %{name}%{?_isa} = %{version}-%{release}
|
| |
+ License: LGPLv2+
|
| |
+
|
| |
+ %description networkd
|
| |
+ systemd-networkd is a system service that manages networks. It detects
|
| |
+ and configures network devices as they appear, as well as creating virtual
|
| |
+ network devices.
|
| |
+
|
| |
+ %package resolved
|
| |
+ Summary: Network Name Resolution manager
|
| |
+ Requires: %{name}%{?_isa} = %{version}-%{release}
|
| |
+
|
| |
+ %description resolved
|
| |
+ systemd-resolved is a system service that provides network name resolution
|
| |
+ to local applications. It implements a caching and validating DNS/DNSSEC
|
| |
+ stub resolver, as well as an LLMNR and MulticastDNS resolver and responder.
|
| |
+
|
| |
+ %package oomd-defaults
|
| |
+ Summary: Configuration files for systemd-oomd
|
| |
+ Requires: %{name} = %{version}-%{release}
|
| |
+ License: LGPLv2+
|
| |
+ BuildArch: noarch
|
| |
+
|
| |
+ %description oomd-defaults
|
| |
+ A set of drop-in files for systemd units to enable action from systemd-oomd,
|
| |
+ a userspace out-of-memory (OOM) killer.
|
| |
+
|
| |
%package tests
|
| |
Summary: Internal unit tests for systemd
|
| |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
| |
@@ -394,24 +446,49 @@
|
| |
"Installed tests" that are usually run as part of the build system.
|
| |
They can be useful to test systemd internals.
|
| |
|
| |
+ %if %{with selinux}
|
| |
+ %package selinux
|
| |
+ Summary: SELinux module for systemd
|
| |
+ BuildArch: noarch
|
| |
+ BuildRequires: bzip2
|
| |
+ BuildRequires: make
|
| |
+ BuildRequires: selinux-policy
|
| |
+ BuildRequires: selinux-policy-devel
|
| |
+ Requires(post): selinux-policy-base >= %{_selinux_policy_version}
|
| |
+ Requires(post): policycoreutils
|
| |
+ Requires(post): policycoreutils-python-utils
|
| |
+ Requires(pre): libselinux-utils
|
| |
+ Requires(post): libselinux-utils
|
| |
+
|
| |
+ %description selinux
|
| |
+ This package provides the SELinux policy module to ensure systemd
|
| |
+ runs properly under an environment with SELinux enabled.
|
| |
+ %endif
|
| |
+
|
| |
%prep
|
| |
- %autosetup -n %{?commit:%{name}%{?stable:-stable}-%{commit}}%{!?commit:%{name}%{?stable:-stable}-%{github_version}} -p1
|
| |
+ %autosetup -n %{?commit:%{name}%{?stable:-stable}-%{commit}}%{!?commit:%{name}%{?stable:-stable}-%{version_no_tilde}} -p1
|
| |
+
|
| |
+ %if %{with selinux}
|
| |
+ mkdir selinux
|
| |
+ cp %SOURCE100 %SOURCE101 %SOURCE102 selinux
|
| |
+ %endif
|
| |
|
| |
%build
|
| |
%define ntpvendor %(source /etc/os-release; echo ${ID})
|
| |
%{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1}
|
| |
|
| |
CONFIGURE_OPTS=(
|
| |
+ -Dmode=release
|
| |
-Dsysvinit-path=/etc/rc.d/init.d
|
| |
-Drc-local=/etc/rc.d/rc.local
|
| |
-Dntp-servers='0.%{ntpvendor}.pool.ntp.org 1.%{ntpvendor}.pool.ntp.org 2.%{ntpvendor}.pool.ntp.org 3.%{ntpvendor}.pool.ntp.org'
|
| |
+ -Ddns-servers=
|
| |
-Duser-path=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
|
| |
-Dservice-watchdog=
|
| |
-Ddev-kvm-mode=0666
|
| |
-Dkmod=true
|
| |
-Dxkbcommon=true
|
| |
-Dblkid=true
|
| |
- -Dfdisk=true
|
| |
-Dseccomp=true
|
| |
-Dima=true
|
| |
-Dselinux=true
|
| |
@@ -425,6 +502,7 @@
|
| |
-Dpam=true
|
| |
-Dacl=true
|
| |
-Dsmack=true
|
| |
+ -Dopenssl=true
|
| |
-Dgcrypt=true
|
| |
-Daudit=true
|
| |
-Delfutils=true
|
| |
@@ -434,16 +512,15 @@
|
| |
-Dlibcryptsetup=false
|
| |
%endif
|
| |
-Delfutils=true
|
| |
- -Dpwquality=true
|
| |
- -Dqrencode=true
|
| |
-Dgnutls=true
|
| |
-Dmicrohttpd=true
|
| |
-Dlibidn2=true
|
| |
- -Dlibiptc=true
|
| |
+ -Dlibiptc=false
|
| |
-Dlibcurl=true
|
| |
-Defi=true
|
| |
-Dgnu-efi=%{?have_gnu_efi:true}%{?!have_gnu_efi:false}
|
| |
-Dtpm=true
|
| |
+ -Dtpm2=true
|
| |
-Dhwdb=true
|
| |
-Dsysusers=true
|
| |
-Ddefault-kill-user-processes=false
|
| |
@@ -453,39 +530,107 @@
|
| |
-Dusers-gid=100
|
| |
-Dnobody-user=nobody
|
| |
-Dnobody-group=nobody
|
| |
+ -Dcompat-mutable-uid-boundaries=true
|
| |
-Dsplit-usr=false
|
| |
-Dsplit-bin=true
|
| |
+ %if %{with lto}
|
| |
-Db_lto=true
|
| |
+ %else
|
| |
+ -Db_lto=false
|
| |
+ %endif
|
| |
-Db_ndebug=false
|
| |
-Dman=true
|
| |
-Dversion-tag=v%{version}-%{release}
|
| |
+ %if 0%{?fedora}
|
| |
+ -Dfallback-hostname=fedora
|
| |
+ %else
|
| |
+ -Dfallback-hostname=localhost
|
| |
+ %endif
|
| |
+ -Ddefault-dnssec=no
|
| |
+ -Ddefault-dns-over-tls=opportunistic
|
| |
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1867830
|
| |
+ -Ddefault-mdns=no
|
| |
+ -Ddefault-llmnr=resolve
|
| |
+ -Doomd=true
|
| |
+ -Dadm-gid=4
|
| |
+ -Daudio-gid=63
|
| |
+ -Dcdrom-gid=11
|
| |
+ -Ddialout-gid=18
|
| |
+ -Ddisk-gid=6
|
| |
+ -Dinput-gid=104 # https://pagure.io/setup/pull-request/27
|
| |
+ -Dkmem-gid=9
|
| |
+ -Dkvm-gid=36
|
| |
+ -Dlp-gid=7
|
| |
+ -Drender-gid=105 # https://pagure.io/setup/pull-request/27
|
| |
+ -Dsgx-gid=106 # https://pagure.io/setup/pull-request/27
|
| |
+ -Dtape-gid=33
|
| |
+ -Dtty-gid=5
|
| |
+ -Dusers-gid=100
|
| |
+ -Dutmp-gid=22
|
| |
+ -Dvideo-gid=39
|
| |
+ -Dwheel-gid=10
|
| |
+ -Dsystemd-journal-gid=190
|
| |
+ -Dsystemd-network-uid=192
|
| |
+ -Dsystemd-resolve-uid=193
|
| |
+ # -Dsystemd-timesync-uid=, not set yet
|
| |
+ # Need to set this for CentOS build
|
| |
-Ddocdir=%{_pkgdocdir}
|
| |
+ # CentOS is missing newer deps required to include these
|
| |
+ # But also these aren't as relevant for the hyperscale use case
|
| |
+ -Dp11kit=false
|
| |
+ -Duserdb=false
|
| |
+ -Dhomed=false
|
| |
+ -Drepart=false
|
| |
+ -Dfdisk=false
|
| |
+ -Dpwquality=false
|
| |
+ -Dqrencode=false
|
| |
+ -Dlibfido2=false
|
| |
+ # Old version of PAM might not support files in /usr/lib/pam.d/ so
|
| |
+ # stick with the old /etc/pam.d
|
| |
+ -Dpamconfdir=/etc/pam.d
|
| |
+ # Standalone binaries are only relevant on non-systemd systems
|
| |
+ -Dstandalone-binaries=false
|
| |
)
|
| |
|
| |
%if 0%{?facebook}
|
| |
- %if 0%{?el7}
|
| |
- %global _hierarchy legacy
|
| |
- %else
|
| |
- %global _hierarchy unified
|
| |
- %endif
|
| |
CONFIGURE_OPTS+=(
|
| |
-Dntp-servers='1.ntp.vip.facebook.com 2.ntp.vip.facebook.com 3.ntp.vip.facebook.com 4.ntp.vip.facebook.com'
|
| |
-Ddns-servers='10.127.255.51 10.191.255.51 2401:db00:eef0:a53:: 2401:db00:eef0:b53::'
|
| |
- -Dsupport-url='https://www.facebook.com/groups/prodos.users/'
|
| |
- -Ddefault-hierarchy=%{_hierarchy}
|
| |
+ -Dsupport-url='https://www.facebook.com/groups/systemd.and.friends/'
|
| |
-Dcontainer-uid-base-min=10485760
|
| |
- -Dp11kit=false
|
| |
- -Duserdb=false
|
| |
- -Dhomed=false
|
| |
- -Drepart=false
|
| |
)
|
| |
%endif
|
| |
|
| |
+ %if %{without lto}
|
| |
+ %global _lto_cflags %nil
|
| |
+ %endif
|
| |
+
|
| |
export LANG=en_US.UTF-8
|
| |
export LC_ALL=en_US.UTF-8
|
| |
- %meson "${CONFIGURE_OPTS[@]}"
|
| |
+ # Do configuration. If doing an inplace build, try to do
|
| |
+ # reconfiguration to pick up new options.
|
| |
+ %if %{with inplace}
|
| |
+ command -v ccache 2>/dev/null && { CC="${CC:-ccache %__cc}"; CXX="${CXX:-ccache %__cxx}"; }
|
| |
+
|
| |
+ [ -e %{_vpath_builddir}/build.ninja ] &&
|
| |
+ %__meson configure %{_vpath_builddir} "${CONFIGURE_OPTS[@]}" ||
|
| |
+ %endif
|
| |
+ { %meson "${CONFIGURE_OPTS[@]}"; }
|
| |
+
|
| |
%meson_build
|
| |
|
| |
+ new_triggers=%{_vpath_builddir}/src/rpm/triggers.systemd.sh
|
| |
+ if ! diff -u %{SOURCE1} ${new_triggers}; then
|
| |
+ echo -e "\n\n\nWARNING: triggers.systemd in Source1 is different!"
|
| |
+ echo -e " cp $PWD/${new_triggers} %{SOURCE1}\n\n\n"
|
| |
+ sleep 5
|
| |
+ fi
|
| |
+
|
| |
+ %if %{with selinux}
|
| |
+ cd selinux
|
| |
+ %{__make} -f Makefile.selinux SHARE="%{_datadir}" TARGETS="systemd_hs"
|
| |
+ %endif
|
| |
+
|
| |
%install
|
| |
export LANG=en_US.UTF-8
|
| |
export LC_ALL=en_US.UTF-8
|
| |
@@ -572,8 +717,15 @@
|
| |
|
| |
install -Dm0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE11}
|
| |
|
| |
+ install -Dm0644 -t %{buildroot}%{_prefix}/lib/systemd/ %{SOURCE13}
|
| |
+
|
| |
install -D -t %{buildroot}/usr/lib/systemd/ %{SOURCE3}
|
| |
|
| |
+ # systemd-oomd default configuration
|
| |
+ install -Dm0644 -t %{buildroot}%{_prefix}/lib/systemd/oomd.conf.d/ %{SOURCE14}
|
| |
+ install -Dm0644 -t %{buildroot}%{system_unit_dir}/-.slice.d/ %{SOURCE15}
|
| |
+ install -Dm0644 -t %{buildroot}%{system_unit_dir}/user@.service.d/ %{SOURCE16}
|
| |
+
|
| |
sed -i 's|#!/usr/bin/env python3|#!%{__python3}|' %{buildroot}/usr/lib/systemd/tests/run-unit-tests.py
|
| |
|
| |
install -m 0644 -D -t %{buildroot}%{_rpmconfigdir}/macros.d/ %{SOURCE21}
|
| |
@@ -587,7 +739,7 @@
|
| |
# Split files in build root into rpms. See split-files.py for the
|
| |
# rules towards the end, anything which is an exception needs a line
|
| |
# here.
|
| |
- %{__python3} %{SOURCE2} %buildroot <<EOF
|
| |
+ python3 %{SOURCE2} %buildroot <<EOF
|
| |
%ghost %config(noreplace) /etc/crypttab
|
| |
%ghost /etc/udev/hwdb.bin
|
| |
/etc/inittab
|
| |
@@ -596,11 +748,11 @@
|
| |
%ghost %config(noreplace) /etc/X11/xorg.conf.d/00-keyboard.conf
|
| |
%ghost %attr(0664,root,utmp) /run/utmp
|
| |
%ghost %attr(0664,root,utmp) /var/log/wtmp
|
| |
- %ghost %attr(0600,root,utmp) /var/log/btmp
|
| |
+ %ghost %attr(0660,root,utmp) /var/log/btmp
|
| |
%ghost %config(noreplace) /etc/hostname
|
| |
%ghost %config(noreplace) /etc/localtime
|
| |
%ghost %config(noreplace) /etc/locale.conf
|
| |
- %ghost %config(noreplace) /etc/machine-id
|
| |
+ %ghost %attr(0444,root,root) %config(noreplace) /etc/machine-id
|
| |
%ghost %config(noreplace) /etc/machine-info
|
| |
%ghost %attr(0700,root,root) %dir /var/cache/private
|
| |
%ghost %attr(0700,root,root) %dir /var/lib/private
|
| |
@@ -616,11 +768,18 @@
|
| |
%ghost %dir /var/lib/systemd/linger
|
| |
%ghost /var/lib/systemd/random-seed
|
| |
%ghost %dir /var/lib/systemd/rfkill
|
| |
- %ghost %dir /var/log/journal
|
| |
+ %ghost %dir %attr(2755, root, systemd-journal) %verify(not mode) /var/log/journal
|
| |
%ghost %dir /var/log/journal/remote
|
| |
%ghost %attr(0700,root,root) %dir /var/log/private
|
| |
EOF
|
| |
|
| |
+ %if %{with selinux}
|
| |
+ install -d -p %{buildroot}%{_datadir}/selinux/devel/include/contrib
|
| |
+ install -p -m 0644 selinux/systemd_hs.if %{buildroot}%{_datadir}/selinux/devel/include/contrib
|
| |
+ install -d -p %{buildroot}%{_datadir}/selinux/packages
|
| |
+ install -p -m 0644 selinux/systemd_hs.pp.bz2 %{buildroot}%{_datadir}/selinux/packages
|
| |
+ %endif
|
| |
+
|
| |
%check
|
| |
%if %{with tests}
|
| |
export LANG=en_US.UTF-8
|
| |
@@ -632,28 +791,18 @@
|
| |
|
| |
%include %{SOURCE1}
|
| |
|
| |
- %pre
|
| |
- getent group cdrom &>/dev/null || groupadd -r -g 11 cdrom &>/dev/null || :
|
| |
- getent group utmp &>/dev/null || groupadd -r -g 22 utmp &>/dev/null || :
|
| |
- getent group tape &>/dev/null || groupadd -r -g 33 tape &>/dev/null || :
|
| |
- getent group dialout &>/dev/null || groupadd -r -g 18 dialout &>/dev/null || :
|
| |
- getent group input &>/dev/null || groupadd -r input &>/dev/null || :
|
| |
- getent group kvm &>/dev/null || groupadd -r -g 36 kvm &>/dev/null || :
|
| |
- getent group render &>/dev/null || groupadd -r render &>/dev/null || :
|
| |
- getent group systemd-journal &>/dev/null || groupadd -r -g 190 systemd-journal 2>&1 || :
|
| |
-
|
| |
- getent group systemd-coredump &>/dev/null || groupadd -r systemd-coredump 2>&1 || :
|
| |
- getent passwd systemd-coredump &>/dev/null || useradd -r -l -g systemd-coredump -d / -s /sbin/nologin -c "systemd Core Dumper" systemd-coredump &>/dev/null || :
|
| |
-
|
| |
- getent group systemd-network &>/dev/null || groupadd -r -g 192 systemd-network 2>&1 || :
|
| |
- getent passwd systemd-network &>/dev/null || useradd -r -u 192 -l -g systemd-network -d / -s /sbin/nologin -c "systemd Network Management" systemd-network &>/dev/null || :
|
| |
-
|
| |
- getent group systemd-resolve &>/dev/null || groupadd -r -g 193 systemd-resolve 2>&1 || :
|
| |
- getent passwd systemd-resolve &>/dev/null || useradd -r -u 193 -l -g systemd-resolve -d / -s /sbin/nologin -c "systemd Resolver" systemd-resolve &>/dev/null || :
|
| |
-
|
| |
%post
|
| |
systemd-machine-id-setup &>/dev/null || :
|
| |
|
| |
+ # FIXME: move to %postun. We want to restart systemd *after* removing
|
| |
+ # files from the old rpm. Right now we may still have bits the old
|
| |
+ # setup if the files are not present in the new version. But before
|
| |
+ # implement restarting of *other* services after the transaction, moving
|
| |
+ # this would make things worse, increasing the number of warnings we get
|
| |
+ # about needed daemon-reload.
|
| |
+
|
| |
+ oomd_state=$(systemctl is-active systemd-oomd 2>/dev/null || :)
|
| |
+
|
| |
systemctl daemon-reexec &>/dev/null || {
|
| |
# systemd v239 had bug #9553 in D-Bus authentication of the private socket,
|
| |
# which was later fixed in v240 by #9625.
|
| |
@@ -674,22 +823,19 @@
|
| |
fi
|
| |
}
|
| |
|
| |
- journalctl --update-catalog &>/dev/null || :
|
| |
- systemd-tmpfiles --create &>/dev/null || :
|
| |
+ if [ "$oomd_state" == "active" ]; then
|
| |
+ systemctl start -q systemd-oomd 2>/dev/null || :
|
| |
+ fi
|
| |
+
|
| |
+ [ $1 -eq 1 ] || exit 0
|
| |
|
| |
# create /var/log/journal only on initial installation,
|
| |
# and only if it's writable (it won't be in rpm-ostree).
|
| |
- if [ $1 -eq 1 ] && [ -w %{_localstatedir} ]; then
|
| |
- mkdir -p %{_localstatedir}/log/journal
|
| |
- fi
|
| |
-
|
| |
- # Make sure new journal files will be owned by the "systemd-journal" group
|
| |
- machine_id=$(cat /etc/machine-id 2>/dev/null)
|
| |
- chgrp systemd-journal /{run,var}/log/journal/{,${machine_id}} &>/dev/null || :
|
| |
- chmod g+s /{run,var}/log/journal/{,${machine_id}} &>/dev/null || :
|
| |
+ [ -w %{_localstatedir} ] && mkdir -p %{_localstatedir}/log/journal
|
| |
|
| |
- # Apply ACL to the journal directory
|
| |
- setfacl -Rnm g:wheel:rx,d:g:wheel:rx,g:adm:rx,d:g:adm:rx /var/log/journal/ &>/dev/null || :
|
| |
+ [ -w %{_localstatedir} ] && journalctl --update-catalog || :
|
| |
+ systemd-sysusers || :
|
| |
+ systemd-tmpfiles --create &>/dev/null || :
|
| |
|
| |
# We reset the enablement of all services upon initial installation
|
| |
# https://bugzilla.redhat.com/show_bug.cgi?id=1118740#c23
|
| |
@@ -698,37 +844,25 @@
|
| |
# https://bugzilla.redhat.com/show_bug.cgi?id=1647172.
|
| |
# We also do this for user units, see
|
| |
# https://fedoraproject.org/wiki/Changes/Systemd_presets_for_user_units.
|
| |
- if [ $1 -eq 1 ] ; then
|
| |
- systemctl preset-all &>/dev/null || :
|
| |
- systemctl --global preset-all &>/dev/null || :
|
| |
- fi
|
| |
+ systemctl preset-all &>/dev/null || :
|
| |
+ systemctl --global preset-all &>/dev/null || :
|
| |
|
| |
- %preun
|
| |
- if [ $1 -eq 0 ] ; then
|
| |
- systemctl disable --quiet \
|
| |
- remote-fs.target \
|
| |
- getty@.service \
|
| |
- serial-getty@.service \
|
| |
- console-getty.service \
|
| |
- debug-shell.service \
|
| |
- systemd-networkd.service \
|
| |
- systemd-networkd-wait-online.service \
|
| |
- systemd-resolved.service \
|
| |
- systemd-homed.service \
|
| |
- >/dev/null || :
|
| |
+ %postun
|
| |
+ if [ $1 -eq 1 ]; then
|
| |
+ [ -w %{_localstatedir} ] && journalctl --update-catalog || :
|
| |
+ systemd-tmpfiles --create &>/dev/null || :
|
| |
fi
|
| |
|
| |
- %triggerun -- systemd < 246.1-1
|
| |
- # This is for upgrades from previous versions before systemd-resolved became the default.
|
| |
- systemctl --no-reload preset systemd-resolved.service &>/dev/null || :
|
| |
+ %systemd_postun_with_restart systemd-timedated.service systemd-portabled.service systemd-homed.service systemd-hostnamed.service systemd-journald.service systemd-localed.service systemd-userdbd.service systemd-oomd.service
|
| |
|
| |
- if systemctl is-enabled systemd-resolved.service &>/dev/null; then
|
| |
- grep -q 'Generated by NetworkManager' /etc/resolv.conf 2>/dev/null && \
|
| |
- echo -e '/etc/resolv.conf was generated by NetworkManager.\nRemoving it to let systemd-resolved manage this file.' && \
|
| |
- mv -v /etc/resolv.conf /etc/resolv.conf.orig-with-nm || :
|
| |
+ # FIXME: systemd-logind.service is excluded (https://github.com/systemd/systemd/pull/17558)
|
| |
+ # FIXME: user@*.service needs to be restarted, but using systemctl --user daemon-reexec
|
| |
|
| |
- systemctl start systemd-resolved.service &>/dev/null || :
|
| |
- fi
|
| |
+ %triggerpostun -- systemd < 247.3-2
|
| |
+ # This is for upgrades from previous versions before oomd-defaults is available.
|
| |
+ # We use %%triggerpostun here because rpm doesn't allow a second %%triggerun with
|
| |
+ # a different package version.
|
| |
+ systemctl --no-reload preset systemd-oomd.service &>/dev/null || :
|
| |
|
| |
%post libs
|
| |
%{?ldconfig}
|
| |
@@ -740,12 +874,6 @@
|
| |
sed -i.bak -r -e '
|
| |
s/^(passwd|group):(.*)/\1:\2 systemd/
|
| |
' "$1" &>/dev/null || :
|
| |
-
|
| |
- # Add nss-resolve to hosts
|
| |
- grep -E -q '^hosts:.* resolve' "$1" ||
|
| |
- sed -i.bak -r -e '
|
| |
- s/^(hosts):(.*) files( mdns4_minimal .NOTFOUND=return.)? dns myhostname/\1:\2 resolve [!UNAVAIL=return] myhostname files\3 dns/
|
| |
- ' "$1" &>/dev/null || :
|
| |
fi
|
| |
}
|
| |
|
| |
@@ -780,10 +908,6 @@
|
| |
|
| |
%global udev_services systemd-udev{d,-settle,-trigger}.service systemd-udevd-{control,kernel}.socket systemd-timesyncd.service
|
| |
|
| |
- %pre udev
|
| |
- getent group systemd-timesync &>/dev/null || groupadd -r systemd-timesync 2>&1 || :
|
| |
- getent passwd systemd-timesync &>/dev/null || useradd -r -l -g systemd-timesync -d / -s /sbin/nologin -c "systemd Time Synchronization" systemd-timesync &>/dev/null || :
|
| |
-
|
| |
%post udev
|
| |
# Move old stuff around in /var/lib
|
| |
mv %{_localstatedir}/lib/random-seed %{_localstatedir}/lib/systemd/random-seed &>/dev/null
|
| |
@@ -798,8 +922,12 @@
|
| |
fi
|
| |
|
| |
udevadm hwdb --update &>/dev/null
|
| |
+
|
| |
%systemd_post %udev_services
|
| |
- /usr/lib/systemd/systemd-random-seed save 2>&1
|
| |
+
|
| |
+ # Try to save the random seed, but don't complain if /dev/urandom is unavailable
|
| |
+ /usr/lib/systemd/systemd-random-seed save 2>&1 | \
|
| |
+ grep -v 'Failed to open /dev/urandom' || :
|
| |
|
| |
# Replace obsolete keymaps
|
| |
# https://bugzilla.redhat.com/show_bug.cgi?id=1151958
|
| |
@@ -810,23 +938,17 @@
|
| |
%systemd_preun %udev_services
|
| |
|
| |
%postun udev
|
| |
- # Only restart systemd-udev, to run the upgraded dameon.
|
| |
+ # Restart some services.
|
| |
# Others are either oneshot services, or sockets, and restarting them causes issues (#1378974)
|
| |
- %systemd_postun_with_restart systemd-udevd.service
|
| |
-
|
| |
- %pre journal-remote
|
| |
- getent group systemd-journal-remote &>/dev/null || groupadd -r systemd-journal-remote 2>&1 || :
|
| |
- getent passwd systemd-journal-remote &>/dev/null || useradd -r -l -g systemd-journal-remote -d %{_localstatedir}/log/journal/remote -s /sbin/nologin -c "Journal Remote" systemd-journal-remote &>/dev/null || :
|
| |
+ %systemd_postun_with_restart systemd-udevd.service systemd-timesyncd.service
|
| |
|
| |
+ %global journal_remote_units_restart systemd-journal-gatewayd.service systemd-journal-remote.service systemd-journal-upload.service
|
| |
+ %global journal_remote_units_norestart systemd-journal-gatewayd.socket systemd-journal-remote.socket
|
| |
%post journal-remote
|
| |
- %systemd_post systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
|
| |
- %systemd_post systemd-journal-remote.socket systemd-journal-remote.service
|
| |
- %systemd_post systemd-journal-upload.service
|
| |
+ %systemd_post %journal_remote_units_restart %journal_remote_units_norestart
|
| |
|
| |
%preun journal-remote
|
| |
- %systemd_preun systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
|
| |
- %systemd_preun systemd-journal-remote.socket systemd-journal-remote.service
|
| |
- %systemd_preun systemd-journal-upload.service
|
| |
+ %systemd_preun %journal_remote_units_restart %journal_remote_units_norestart
|
| |
if [ $1 -eq 1 ] ; then
|
| |
if [ -f %{_localstatedir}/lib/systemd/journal-upload/state -a ! -L %{_localstatedir}/lib/systemd/journal-upload ] ; then
|
| |
mkdir -p %{_localstatedir}/lib/private/systemd/journal-upload
|
| |
@@ -836,9 +958,82 @@
|
| |
fi
|
| |
|
| |
%postun journal-remote
|
| |
- %systemd_postun_with_restart systemd-journal-gatewayd.service
|
| |
- %systemd_postun_with_restart systemd-journal-remote.service
|
| |
- %systemd_postun_with_restart systemd-journal-upload.service
|
| |
+ %systemd_postun_with_restart %journal_remote_units_restart
|
| |
+
|
| |
+ %post networkd
|
| |
+ # systemd-networkd was split out in systemd-246.6-2.
|
| |
+ # Ideally, we would have a trigger scriptlet to record enablement
|
| |
+ # state when upgrading from systemd <= systemd-246.6-1. But, AFAICS,
|
| |
+ # rpm doesn't allow us to trigger on another package, short of
|
| |
+ # querying the rpm database ourselves, which seems risky. For rpm,
|
| |
+ # systemd and systemd-networkd are completely unrelated. So let's use
|
| |
+ # a hack to detect if an old systemd version is currently present in
|
| |
+ # the file system.
|
| |
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1943263
|
| |
+ if [ $1 -eq 1 ] && ls /usr/lib/systemd/libsystemd-shared-24[0-6].so &>/dev/null; then
|
| |
+ echo "Skipping presets for systemd-networkd.service, seems we are upgrading from old systemd."
|
| |
+ else
|
| |
+ %systemd_post systemd-networkd.service systemd-networkd-wait-online.service
|
| |
+ fi
|
| |
+
|
| |
+ %preun networkd
|
| |
+ %systemd_preun systemd-networkd.service systemd-networkd-wait-online.service
|
| |
+
|
| |
+ %preun resolved
|
| |
+ if [ $1 -eq 0 ] ; then
|
| |
+ systemctl disable --quiet \
|
| |
+ systemd-resolved.service \
|
| |
+ >/dev/null || :
|
| |
+ fi
|
| |
+
|
| |
+ %post resolved
|
| |
+ [ $1 -gt 1 ] && exit 0
|
| |
+
|
| |
+ # Related to https://bugzilla.redhat.com/show_bug.cgi?id=1943263
|
| |
+ if ls /usr/lib/systemd/libsystemd-shared-24[0-8].so &>/dev/null; then
|
| |
+ echo "Skipping presets for systemd-resolved.service, seems we are upgrading from old systemd."
|
| |
+ exit 0
|
| |
+ fi
|
| |
+
|
| |
+ %systemd_post systemd-resolved.service
|
| |
+
|
| |
+ # Create /etc/resolv.conf symlink.
|
| |
+ # We would also create it using tmpfiles, but let's do this here
|
| |
+ # too before NetworkManager gets a chance. (systemd-tmpfiles invocation above
|
| |
+ # does not do this, because it's marked with ! and we don't specify --boot.)
|
| |
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1873856
|
| |
+ #
|
| |
+ # If systemd is not running, don't overwrite the symlink because that
|
| |
+ # will immediately break DNS resolution, since systemd-resolved is
|
| |
+ # also not running (https://bugzilla.redhat.com/show_bug.cgi?id=1891847).
|
| |
+ #
|
| |
+ # Also don't create the symlink to the stub when the stub is disabled (#1891847 again).
|
| |
+ if test -d /run/systemd/system/ &&
|
| |
+ systemctl -q is-enabled systemd-resolved.service &>/dev/null &&
|
| |
+ ! mountpoint /etc/resolv.conf &>/dev/null &&
|
| |
+ ! systemd-analyze cat-config systemd/resolved.conf 2>/dev/null | \
|
| |
+ grep -qE '^DNSStubListener\s*=\s*([nN][oO]?|[fF]|[fF][aA][lL][sS][eE]|0|[oO][fF][fF])$'; then
|
| |
+ ln -fsv ../run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
|
| |
+ fi
|
| |
+
|
| |
+ %if %{with selinux}
|
| |
+ %pre selinux
|
| |
+ %selinux_relabel_pre
|
| |
+
|
| |
+ %post selinux
|
| |
+ %selinux_modules_install %{_datadir}/selinux/packages/systemd_hs.pp.bz2
|
| |
+ %selinux_relabel_post
|
| |
+
|
| |
+ %posttrans selinux
|
| |
+ %selinux_relabel_post
|
| |
+
|
| |
+ %postun selinux
|
| |
+ %selinux_modules_uninstall systemd_hs
|
| |
+
|
| |
+ if [ $1 -eq 0 ]; then
|
| |
+ %selinux_relabel_post
|
| |
+ fi
|
| |
+ %endif
|
| |
|
| |
%global _docdir_fmt %{name}
|
| |
|
| |
@@ -870,6 +1065,8 @@
|
| |
|
| |
%files rpm-macros -f .file-list-rpm-macros
|
| |
|
| |
+ %files resolved -f .file-list-resolve
|
| |
+
|
| |
%files devel -f .file-list-devel
|
| |
|
| |
%files udev -f .file-list-udev
|
| |
@@ -878,12 +1075,332 @@
|
| |
|
| |
%files journal-remote -f .file-list-remote
|
| |
|
| |
+ %files networkd -f .file-list-networkd
|
| |
+
|
| |
+ %files oomd-defaults -f .file-list-oomd-defaults
|
| |
+
|
| |
%files tests -f .file-list-tests
|
| |
|
| |
+ %if %{with selinux}
|
| |
+ %files selinux
|
| |
+ %{_datadir}/selinux/devel/include/contrib/systemd_hs.if
|
| |
+ %{_datadir}/selinux/packages/systemd_hs.pp.bz2
|
| |
+ %endif
|
| |
+
|
| |
%changelog
|
| |
+ * Wed Nov 24 2021 Davide Cavalca <dcavalca@centosproject.org> - 249.4-2.9
|
| |
+ - Disable legacy iptables support
|
| |
+
|
| |
+ * Thu Nov 11 2021 Anita Zhang <the.anitazha@gmail.com> - 249.4-2.8
|
| |
+ - Remove revert_d219a2b07cc5dc8ffd5010f08561fab2780d8616.patch and replace with
|
| |
+ proper fix (PR #21221)
|
| |
+
|
| |
+ * Wed Nov 10 2021 Anita Zhang <the.anitazha@gmail.com> - 249.4-2.7
|
| |
+ - Add meson >= 0.57 for el8 builds. This version uses python 3.8.
|
| |
+
|
| |
+ * Wed Oct 20 2021 Anita Zhang <the.anitazha@gmail.com> - 249.4-2.6
|
| |
+ - Revert d219a2b because it creates non-determinisitic Slice= assignments
|
| |
+
|
| |
+ * Mon Oct 11 2021 Anita Zhang <the.anitazha@gmail.com> - 249.4-2.5
|
| |
+ - Remove duplicate Address= properties in network configs (part of PR #20892)
|
| |
+ - Serialize bpf device programs across reloads/reexecs (PR #20978)
|
| |
+ - Don't rewrite sysctls that are already set (PR #20676)
|
| |
+
|
| |
+ * Wed Oct 06 2021 Davide Cavalca <dcavalca@centosproject.org> - 249.4-2.4
|
| |
+ - Drop qrencode-devel from BuildRequires as it's not actually used
|
| |
+
|
| |
+ * Wed Sep 29 2021 Anita Zhang <the.anitazha@gmail.com> - 249.4-2.3
|
| |
+ - Fix to allow verifying hidden (dot) files again (PR #20875)
|
| |
+
|
| |
+ * Fri Sep 24 2021 Anita Zhang <the.anitazha@gmail.com> - 249.4-2.2
|
| |
+ - Backport more feature support for systemd-networkd
|
| |
+ (#20450, #20541, #20729, #20828)
|
| |
+
|
| |
+ * Wed Sep 22 2021 Anita Zhang <the.anitazha@gmail.com> - 249.4-2.1
|
| |
+ - Sync changes from Fedora
|
| |
+ - Backport one more feature for systemd-networkd (#20489)
|
| |
+
|
| |
+ * Mon Sep 20 2021 Anita Zhang <the.anitazha@gmail.com> - 249.4-1.1
|
| |
+ - New stable point release
|
| |
+ - Backport optimization for read_virtual_file() (#20743)
|
| |
+ - Backport new features for systemd-networkd (#20743, #20472, #20477, #20484)
|
| |
+
|
| |
+ * Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com>
|
| |
+ - Rebuilt with OpenSSL 3.0.0
|
| |
+
|
| |
+ * Tue Aug 24 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 249.4-1
|
| |
+ - Latest bugfix release: various fixes for systemd-networkd,
|
| |
+ systemd-resolved, systemd, systemd-boot.
|
| |
+ - Backport of macros to restart systemd user units (#1993244)
|
| |
+
|
| |
+ * Fri Aug 6 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 249.3-1
|
| |
+ - Latest bugfix release: improved compatibility with latest glibc,
|
| |
+ various small documentation fixes, and fixes for systemd-networkd bridging,
|
| |
+ other minor fixes.
|
| |
+ - systemctl set-property accepts glob patterns now (#1986258)
|
| |
+
|
| |
+ * Thu Jul 29 2021 Anita Zhang <the.anitazha@gmail.com> - 249.2-1.2
|
| |
+ - Remove Obsoletes lines on systemd-resolved and systemd-networkd since we don't
|
| |
+ want to install these by default.
|
| |
+
|
| |
+ * Wed Jul 28 2021 Anita Zhang <the.anitazha@gmail.com> - 249.2-1.1
|
| |
+ - New release for 249
|
| |
+ - Drop merged patches
|
| |
+ - Split networkd and resolved into their own subpackages.
|
| |
+
|
| |
+ * Tue Jul 27 2021 Davide Cavalca <dcavalca@centosproject.org> - 248.5-1.3
|
| |
+ - Add missing SELinux rules for the GNOME and KDE LiveDVD spins
|
| |
+ (https://pagure.io/centos-sig-hyperscale/package-bugs/issue/7)
|
| |
+
|
| |
+ * Fri Jul 23 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 249.2-1
|
| |
+ - Latest bugfix release (a minor hwdb regression bugfix, and correction
|
| |
+ to kernel commandline handling when reexecuting PID 1 in a container)
|
| |
+
|
| |
+ * Fri Jul 23 2021 Michael Catanzaro <mcatanzaro@redhat.com> - 249.2-1
|
| |
+ - Build with -Ddefault-dns-over-tls=opportunistic
|
| |
+ (https://fedoraproject.org/wiki/Changes/DNS_Over_TLS, #1889901)
|
| |
+
|
| |
+ * Wed Jul 21 2021 Davide Cavalca <dcavalca@centosproject.org> - 248.5-1.2
|
| |
+ - Add missing SELinux rules for 248
|
| |
+ (https://pagure.io/centos-sig-hyperscale/package-bugs/issue/1)
|
| |
+
|
| |
+ * Wed Jul 21 2021 Anita Zhang <anitazha@fb.com> - 248.5-1.1
|
| |
+ - Update to systemd-stable 248.5 (includes fix for CVE-2021-33910)
|
| |
+
|
| |
+ * Tue Jul 20 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248.5-1
|
| |
+ - Various minor documentation and correctness fixes.
|
| |
+ - CVE-2021-33910, #1984020: an unchecked stack allocation could be used to
|
| |
+ crash systemd and cause the system to reboot by creating a very long
|
| |
+ fuse mountpoint path.
|
| |
+
|
| |
+ * Mon Jul 12 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248.4-1
|
| |
+ - Assorted fixes (some systemd-resolved crashes, invalid
|
| |
+ systemd-tmpfiles assertion, etc.)
|
| |
+ - systemd-networkd workaround for TALOS-2020-1142, CVE-2020-13529.
|
| |
+ - A big update of hardware descriptions.
|
| |
+
|
| |
+ * Wed Jul 7 2021 Neal Gompa <ngompa13@gmail.com> - 249-2
|
| |
+ - Use correct NEWS URLs for systemd 249 releases in changelog entries
|
| |
+
|
| |
+ * Wed Jul 7 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 249-1
|
| |
+ - Latest upstream release with minor bugfixes, see
|
| |
+ https://github.com/systemd/systemd/blob/v249/NEWS.
|
| |
+ - systemd-oomd cpu usage is reduced (#1944646)
|
| |
+
|
| |
+ * Thu Jul 1 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 249~rc3-1
|
| |
+ - Latest upstream prerelease with various bugfixes, see
|
| |
+ https://github.com/systemd/systemd/blob/v249-rc3/NEWS.
|
| |
+
|
| |
+ * Fri Jun 25 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 249~rc2-1
|
| |
+ - Latest upstream prerelease with various bugfixes, see
|
| |
+ https://github.com/systemd/systemd/blob/v249-rc2/NEWS.
|
| |
+ - Ignore FORCERENEW DHCP packets (TALOS-2020-1142, CVE-2020-13529, #1959398)
|
| |
+
|
| |
+ * Thu Jun 17 2021 Adam Williamson <awilliam@redhat.com> - 249~rc1-2
|
| |
+ - Stop systemd providing systemd-resolved, now the subpackage exists (#1973462)
|
| |
+
|
| |
+ * Wed Jun 16 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 249~rc1-1
|
| |
+ - Latest upstream prerelease, see
|
| |
+ https://github.com/systemd/systemd/blob/v249-rc1/NEWS.
|
| |
+ Fixes #1963428.
|
| |
+ - Use systemd-sysusers to create users (#1965815)
|
| |
+ - Move systemd-resolved into systemd-resolved subpackage (#1923727)
|
| |
+ [patch from Petr Menšík]
|
| |
+
|
| |
+ * Mon Jun 14 2021 Anita Zhang <anitazha@fb.com> - 248.2-1.5
|
| |
+ - Remove backport PR #19811 since it's still buggy
|
| |
+ - Remove d586f642fd90e3bb378f7b6d3e3a64a753e51756 to fix rate limiting instead
|
| |
+ (at least until sd-event rate limiting is fixed in 249).
|
| |
+
|
| |
+ * Thu Jun 10 2021 Anita Zhang <anitazha@fb.com> - 248.2-1.4
|
| |
+ - Backport PR #19811 to fix issues with mount sd-event rate limiting
|
| |
+
|
| |
+ * Wed May 19 2021 Davide Cavalca <dcavalca@centosproject.org> - 248.2-1.3
|
| |
+ - Add BuildRequires for python-jinja2 in preparation for 249 (see PR#19630)
|
| |
+
|
| |
+ * Mon May 17 2021 Davide Cavalca <dcavalca@centosproject.org> - 248.2-1.2
|
| |
+ - Add systemd-oomd-defaults subpackage from Fedora
|
| |
+
|
| |
+ * Sat May 15 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248.3-1
|
| |
+ - A fix for resolved crashes (#1946386, #1960227, #1950241)
|
| |
+ - Some minor fixes for documentation, systemd-networkd, systemd-run, bootctl.
|
| |
+
|
| |
+ * Mon May 10 2021 Anita Zhang <anitazha@fb.com> - 248.2-1.1
|
| |
+ - New release for 248
|
| |
+ - Drop patches merged in 248.2
|
| |
+ - FB only backport PR #13496 (Extend bpf cgroup program support)
|
| |
+
|
| |
+ * Fri May 7 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248.2-1
|
| |
+ - Pull in some more patches from upstream (#1944646, #1885090, #1941340)
|
| |
+ - Adjust modes of some %%ghost files (#1956059)
|
| |
+
|
| |
+ * Thu May 6 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248.1-1
|
| |
+ - Latest stable version: a long list of minor correctness fixes all around
|
| |
+ (#1955475, #911766, #1958167, #1952919)
|
| |
+ - Enable tpm2-tss dependency (#1949505)
|
| |
+
|
| |
+ * Wed Apr 14 2021 Anita Zhang <anitazha@fb.com> - 247.3-10
|
| |
+ - Remove systemd-resolved enablement
|
| |
+
|
| |
+ * Wed Apr 7 2021 Davide Cavalca <dcavalca@fb.com> - 247.3-9
|
| |
+ - Reenable LTO now that binutils has been fixed
|
| |
+ - Update FB configure options
|
| |
+
|
| |
+ * Tue Apr 6 2021 Adam Williamson <awilliam@redhat.com> - 248-2
|
| |
+ - Re-enable resolved caching, we hope all major bugs are resolved now
|
| |
+
|
| |
+ * Thu Apr 1 2021 Davide Cavalca <dcavalca@fb.com> - 247.3-8
|
| |
+ - Backport https://github.com/SELinuxProject/refpolicy/pull/308 to fix
|
| |
+ systemd-hostnamed and systemd-localed when SELinux is enabled.
|
| |
+
|
| |
+ * Thu Apr 1 2021 Anita Zhang <anitazha@fb.com> - 247.3-7
|
| |
+ - Downgrade sysv-generator warning even more (to debug)
|
| |
+
|
| |
+ * Wed Mar 31 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248-1
|
| |
+ - Latest upstream release, see
|
| |
+ https://github.com/systemd/systemd/blob/v248/NEWS.
|
| |
+ - The changes since -rc4 are rather small, various fixes all over the place.
|
| |
+ A fix to how systemd-oomd selects a candidate to kill, and more debug logging
|
| |
+ to make this more transparent.
|
| |
+
|
| |
+ * Wed Mar 31 2021 Anita Zhang <anitazha@fb.com> - 247.3-6
|
| |
+ - Backport PR#18621 (Ignore attempts at hidepid and subset for older kernels)
|
| |
+ - Downgrade sysv-generator warning about missing native systemd unit
|
| |
+
|
| |
+ * Wed Mar 31 2021 Davide Cavalca <dcavalca@fb.com> - 247.3-5
|
| |
+ - Add selinux subpackage
|
| |
+
|
| |
+ * Tue Mar 30 2021 Anita Zhang <the.anitazha@gmail.com> - 248~rc4-6
|
| |
+ - Increase oomd user memory pressure limit to 50% (#1941170)
|
| |
+
|
| |
+ * Fri Mar 26 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248~rc4-5
|
| |
+ - Do not preset systemd-networkd.service and systemd-networkd-wait-online.service
|
| |
+ on upgrades from before systemd-networkd was split out (#1943263)
|
| |
+ - In nsswitch.conf, move nss-myhostname to the front, before nss-mdns4 (#1943199)
|
| |
+
|
| |
+ * Wed Mar 24 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248~rc4-4
|
| |
+ - Revert patch that seems to cause problems with dns resolution
|
| |
+ (see comments on https://bodhi.fedoraproject.org/updates/FEDORA-2021-1c1a870ceb)
|
| |
+
|
| |
+ * Mon Mar 22 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248~rc4-3
|
| |
+ - Fix hang when processing timers during DST switch in Europe/Dublin timezone (#1941335)
|
| |
+ - Fix returning combined IPv4/IPv6 responses from systemd-resolved cache (#1940715)
|
| |
+ (But note that the disablement of caching added previously is
|
| |
+ retained until we can do more testing.)
|
| |
+ - Minor fix to interface naming by udev
|
| |
+ - Fix for systemd-repart --size
|
| |
+
|
| |
+ * Fri Mar 19 2021 Adam Williamson <awilliam@redhat.com> - 248~rc4-2
|
| |
+ - Disable resolved cache via config snippet (#1940715)
|
| |
+
|
| |
+ * Thu Mar 18 2021 Yu Watanabe <yuwatana@redhat.com> - 248~rc4-1
|
| |
+ - Latest upstream prerelease, see
|
| |
+ https://github.com/systemd/systemd/blob/v248-rc4/NEWS.
|
| |
+ - A bunch of documentation updates, and correctness fixes.
|
| |
+
|
| |
+ * Wed Mar 17 2021 Anita Zhang <anitazha@fb.com> - 247.3-4
|
| |
+ - Backport PR #18955 (Fixes fstab parsing)
|
| |
+ - FB only backport PR #18886 (systemd-shutdown logs to /dev/console not stderr)
|
| |
+ - Reenable tests by disabling LTO (work around binutils bug)
|
| |
+
|
| |
+ * Tue Mar 16 2021 Adam Williamson <awilliam@redhat.com> - 248~rc3-2
|
| |
+ - Backport PR #19009 to fix CNAME redirect resolving some more (#1933433)
|
| |
+
|
| |
+ * Thu Mar 11 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248~rc3-1
|
| |
+ - Latest upstream prerelease, see
|
| |
+ https://github.com/systemd/systemd/blob/v248-rc3/NEWS.
|
| |
+ - A bunch of documentation updates, correctness fixes, and systemd-networkd
|
| |
+ features.
|
| |
+ - Resolves #1933137, #1935084, #1933873, #1931181, #1933335, #1935062, #1927148.
|
| |
+
|
| |
+ * Thu Mar 11 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248~rc2-5
|
| |
+ - Fix crash in pid1 during daemon-reexec (#1931034)
|
| |
+
|
| |
+ * Fri Mar 05 2021 Adam Williamson <awilliam@redhat.com> - 248~rc2-3
|
| |
+ - Fix stub resolver CNAME chain resolving (#1933433)
|
| |
+
|
| |
+ * Mon Mar 01 2021 Josh Boyer <jwboyer@fedoraproject.org> - 248~rc2-2
|
| |
+ - Don't set the fallback hostname to Fedora on non-Fedora OSes
|
| |
+
|
| |
+ * Wed Feb 24 2021 Davide Cavalca <dcavalca@fb.com> - 247.3-3
|
| |
+ - Remove careinversion usage to make the package usable on older mock versions
|
| |
+
|
| |
+ * Tue Feb 23 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248~rc2-1
|
| |
+ - Latest upstream prelease, just a bunch of small fixes.
|
| |
+ - Fixes #1931957.
|
| |
+
|
| |
+ * Tue Feb 23 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 248~rc1-2
|
| |
+ - Rebuild with the newest scriptlets
|
| |
+
|
| |
+ * Fri Feb 19 2021 Davide Cavalca <dcavalca@fb.com> - 247.3-2
|
| |
+ - Disable some tests to workaround a binutils bug triggered by enabling audit
|
| |
+ - Refresh patches
|
| |
+
|
| |
+ * Wed Feb 17 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 247.3-3
|
| |
+ - Increase oomd user memory pressure limit to 10% (#1929856)
|
| |
+
|
| |
+ * Wed Feb 17 2021 Anita Zhang <anitazha@fb.com> - 247.3-1
|
| |
+ - New release for 247
|
| |
+ - Backport PR #18211 (Fixes ExecCondition= dependency bug)
|
| |
+ - Backport PR #17872 (Fixes PrivateUsers=yes with other sandboxing properties)
|
| |
+ - FB only backport PR #17495 (Fixes BPF pinning post-coldplug)
|
| |
+ - Reenable audit support
|
| |
+
|
| |
+ * Sun Feb 7 2021 Davide Cavalca <dcavalca@fb.com> - 246.1-2
|
| |
+ - Initial Hyperscale SIG package
|
| |
+ - Update release to use %%dist macro
|
| |
+ - Drop el7 logic
|
| |
+ - Explicitly default non-FB built to the legacy hierarchy
|
| |
+ - Drop no longer needed FB FusionIO patch
|
| |
+ - Temporarily disable audit support while debugging a link issue
|
| |
+
|
| |
+ * Fri Feb 5 2021 Anita Zhang <the.anitazha@gmail.com> - 247.3-2
|
| |
+ - Changes for https://fedoraproject.org/wiki/Changes/EnableSystemdOomd.
|
| |
+ - Backports consist primarily of PR #18361, #18444, and #18401 (plus some
|
| |
+ additional ones to handle merge conflicts).
|
| |
+ - Create systemd-oomd-defaults subpackage to install unit drop-ins that will
|
| |
+ configure systemd-oomd to monitor and act.
|
| |
+
|
| |
+ * Tue Feb 2 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 247.3-1
|
| |
+ - Minor stable release
|
| |
+ - Fixes #1895937, #1813219, #1903106.
|
| |
+
|
| |
+ * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org>
|
| |
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
| |
+
|
| |
* Mon Jan 25 2021 Anita Zhang <anitazha@fb.com> - 246.1-1.fb6
|
| |
- Backport PR #16803 to fix ConditionEnvironment=
|
| |
|
| |
+ * Wed Jan 13 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 247.2-2
|
| |
+ - Fix bfq patch again (#1813219)
|
| |
+
|
| |
+ * Wed Dec 23 2020 Jonathan Underwood <jonathan.underwood@gmail.com> - 247.2-2
|
| |
+ - Add patch to enable crypttab to support disabling of luks read and
|
| |
+ write workqueues (corresponding to
|
| |
+ https://github.com/systemd/systemd/pull/18062/).
|
| |
+
|
| |
+ * Wed Dec 16 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 247.2-1
|
| |
+ - Minor stable release
|
| |
+ - Fixes #1908071.
|
| |
+
|
| |
+ * Tue Dec 8 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 247.1-3
|
| |
+ - Rebuild with fallback hostname change reverted.
|
| |
+
|
| |
+ * Fri Dec 4 2020 Bastien Nocera <bnocera@redhat.com> - 247.1-2
|
| |
+ - Unset fallback-hostname as plenty of applications expected localhost
|
| |
+ to mean "default hostname" without ever standardising it (#1892235)
|
| |
+
|
| |
+ * Tue Dec 1 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 247.1-1
|
| |
+ - Latest stable release
|
| |
+ - Fixes #1902819.
|
| |
+ - Files to configure networking with systemd-networkd in a VM or container are
|
| |
+ moved to systemd-networkd subpackage. (They were previously in the -container
|
| |
+ subpackage, which is for container/VM management.)
|
| |
+
|
| |
+ * Thu Nov 26 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 247-1
|
| |
+ - Update to the latest version
|
| |
+ - #1900878 should be fixed
|
| |
+
|
| |
* Thu Nov 19 2020 Chris Down <cdown@fb.com> - 246.1-1.fb5
|
| |
- Updated version of PR #17495 to fix program leak
|
| |
|
| |
@@ -892,12 +1409,68 @@
|
| |
- Backport PR #17422 to clean up cgroups more reliably after exit
|
| |
- Backport PR #17497 to add FixedRandomDelay= support
|
| |
|
| |
+ * Tue Oct 20 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 247~rc2
|
| |
+ - New upstream pre-release. See
|
| |
+ https://github.com/systemd/systemd/blob/v247-rc1/NEWS.
|
| |
+ Many smaller and bigger improvements and features are introduced.
|
| |
+ (#1885101, #1890632, #1879216)
|
| |
+
|
| |
+ A backwards-incompatible change affects PCI network devices which
|
| |
+ are connected through a bridge which is itself associated with a
|
| |
+ slot. When more than one device was associated with the same slot,
|
| |
+ one of the devices would pseudo-randomly get named after the slot.
|
| |
+ That name is now not generated at all. This changed behaviour is
|
| |
+ causes the net naming scheme to be changed to "v247". To restore
|
| |
+ previous behaviour, specify net.naming-scheme=v245.
|
| |
+
|
| |
+ systemd-oomd is built, but should not be considered "production
|
| |
+ ready" at this point. Testing and bug reports are welcome.
|
| |
+
|
| |
+ * Wed Sep 30 2020 Dusty Mabe <dusty@dustymabe.com> - 246.6-3
|
| |
+ - Try to make files in subpackages (especially the networkd subpackage)
|
| |
+ more appropriate.
|
| |
+
|
| |
+ * Thu Sep 24 2020 Filipe Brandenburger <filbranden@gmail.com> - 246.6-2
|
| |
+ - Build a package with standalone binaries for non-systemd systems.
|
| |
+ For now, only systemd-sysusers is included.
|
| |
+
|
| |
+ * Thu Sep 24 2020 Christian Glombek <lorbus@fedoraproject.org> - 246.6-2
|
| |
+ - Split out networkd sub-package and add to main package as recommended dependency
|
| |
+
|
| |
+ * Sun Sep 20 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 246.6-1
|
| |
+ - Update to latest stable release (various minor fixes: manager,
|
| |
+ networking, bootct, kernel-install, systemd-dissect, systemd-homed,
|
| |
+ fstab-generator, documentation) (#1876905)
|
| |
+ - Do not fail in test because of kernel bug (#1803070)
|
| |
+
|
| |
* Fri Sep 18 2020 Anita Zhang <anitazha@fb.com> - 246.1-1.fb3
|
| |
- Backport PR #16838 and #16857 to improve $PATH handling
|
| |
- Backport PR #16940 to fix ECONN handling in sockets
|
| |
- Backport PR #17031 to fix rate limiting on units in restart loop
|
| |
- Backport PR #17082 to get nspawn TTY tweaks
|
| |
|
| |
+ * Sun Sep 13 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 246.5-1
|
| |
+ - Update to latest stable release (a bunch of small network-related
|
| |
+ fixes in systemd-networkd and socket handling, documentation updates,
|
| |
+ a bunch of fixes for error handling).
|
| |
+ - Also remove existing file when creating /etc/resolv.conf symlink
|
| |
+ upon installation (#1873856 again)
|
| |
+
|
| |
+ * Wed Sep 2 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 246.4-1
|
| |
+ - Update to latest stable version: a rework of how the unit cache mtime works
|
| |
+ (hopefully #1872068, #1871327, #1867930), plus various fixes to
|
| |
+ systemd-resolved, systemd-dissect, systemd-analyze, systemd-ask-password-agent,
|
| |
+ systemd-networkd, systemd-homed, systemd-machine-id-setup, presets for
|
| |
+ instantiated units, documentation and shell completions.
|
| |
+ - Create /etc/resolv.conf symlink upon installation (#1873856)
|
| |
+ - Move nss-mdns before nss-resolve in /etc/nsswitch.conf and disable
|
| |
+ mdns by default in systemd-resolved (#1867830)
|
| |
+
|
| |
+ * Wed Aug 26 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 246.3-1
|
| |
+ - Update to bugfix version (some networkd fixes, minor documentation
|
| |
+ fixes, relax handling of various error conditions, other fixlets for
|
| |
+ bugs without bugzilla numbers).
|
| |
+
|
| |
* Tue Aug 18 2020 Anita Zhang <anitazha@fb.com> - 246.1-1.fb2
|
| |
- Gate "Obsoletes: systemd < 245.6-1" out due to dependency issues on Facebook
|
| |
systems
|
| |
This is a test to see if PRs work properly now