X-Git-Url: http://git.pld-linux.org/?p=packages%2Fsystemd.git;a=blobdiff_plain;f=systemd.spec;h=c2e6496876f2a81d18c3bba27f75f91c0b970d9e;hp=dab32b3956f6f77ac3e4c4411b7221be3e26d882;hb=5ff24aa;hpb=6406acd61907c0bb2c40acfd98757dcd44294cde diff --git a/systemd.spec b/systemd.spec index dab32b3..c2e6496 100644 --- a/systemd.spec +++ b/systemd.spec @@ -18,6 +18,8 @@ %bcond_without qrencode # QRencode support %bcond_without selinux # SELinux support %bcond_without efi # EFI boot support +%bcond_without fido2 # FIDO2 support +%bcond_without tpm2 # TPM2 support %bcond_with tests # "make check" (requires systemd already installed) %ifnarch %{ix86} %{x8664} aarch64 @@ -28,14 +30,14 @@ Summary: A System and Service Manager Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa Name: systemd # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often) -Version: 241 -Release: 1 +Version: 248.2 +Release: 0.1 Epoch: 1 License: GPL v2+ (udev), LGPL v2.1+ (the rest) Group: Base #Source0Download: https://github.com/systemd/systemd/releases -Source0: https://github.com/systemd/systemd/archive/v%{version}/%{name}-%{version}.tar.gz -# Source0-md5: c5953c24c850b44fcf714326e567dc37 +Source0: https://github.com/systemd/systemd-stable/archive/v%{version}/%{name}-%{version}.tar.gz +# Source0-md5: a9ef37089c45cd9c80802c30152a7485 Source1: %{name}-sysv-convert Source2: %{name}_booted.c Source3: network.service @@ -55,6 +57,7 @@ Source102: udev.rules Source103: udev-links.conf Source104: udev-uinput.rules Source105: udev-steam_controller.rules +Source106: udev-i2c.rules # scripts / helpers Source110: udev-net.helper Source111: start_udev @@ -66,8 +69,9 @@ Patch1: config-pld.patch Patch2: pld-sysv-network.patch Patch3: tmpfiles-not-fatal.patch Patch4: udev-ploop-rules.patch -Patch5: udevadm-in-sbin.patch + Patch6: net-rename-revert.patch +Patch7: %{name}-completion.patch Patch8: proc-hidepid.patch Patch9: %{name}-configfs.patch Patch10: pld-boot_efi_mount.patch @@ -75,7 +79,7 @@ Patch11: optional-tmp-on-tmpfs.patch Patch12: uids_gids.patch Patch13: sysctl.patch Patch14: pld-pam-%{name}-user.patch -Patch15: %{name}-seccomp_disable_on_i386.patch +Patch15: %{name}-x32.patch URL: https://www.freedesktop.org/wiki/Software/systemd/ BuildRequires: acl-devel %{?with_audit:BuildRequires: audit-libs-devel} @@ -83,31 +87,35 @@ BuildRequires: binutils >= 3:2.22.52.0.1-2 BuildRequires: bzip2-devel # ln --relative BuildRequires: coreutils >= 8.16 -%{?with_cryptsetup:BuildRequires: cryptsetup-devel >= 1.6.0} +%{?with_cryptsetup:BuildRequires: cryptsetup-devel >= 2.3.0} BuildRequires: curl-devel >= 7.32.0 BuildRequires: dbus-devel >= 1.9.18 +BuildRequires: docbook-dtd42-xml BuildRequires: docbook-dtd45-xml -BuildRequires: docbook-style-xsl +BuildRequires: docbook-style-xsl-nons BuildRequires: elfutils-devel >= 0.158 BuildRequires: gettext-tools BuildRequires: glib2-devel >= 1:2.22.0 BuildRequires: glibc-misc %{?with_efi:BuildRequires: gnu-efi} -BuildRequires: gnutls-devel >= 3.1.4 +BuildRequires: gnutls-devel >= 3.6.0 BuildRequires: gperf BuildRequires: intltool >= 0.40.0 # pkgconfig(libiptc) BuildRequires: iptables-devel BuildRequires: kmod-devel >= 15 -BuildRequires: libapparmor-devel +BuildRequires: libapparmor-devel >= 1:2.13 BuildRequires: libblkid-devel >= 2.24 BuildRequires: libcap-devel +BuildRequires: libfdisk-devel >= 2.33 +%{?with_fido2:BuildRequires: libfido2-devel} BuildRequires: libgcrypt-devel >= 1.4.5 BuildRequires: libgpg-error-devel >= 1.12 BuildRequires: libidn2-devel %{?with_microhttpd:BuildRequires: libmicrohttpd-devel >= 0.9.33} BuildRequires: libmount-devel >= 2.30 -BuildRequires: libseccomp-devel >= 2.3.1 +BuildRequires: libpwquality-devel +BuildRequires: libseccomp-devel >= 2.4.0 %{?with_selinux:BuildRequires: libselinux-devel >= 2.6} BuildRequires: libtool >= 2:2.2 BuildRequires: libxslt-progs @@ -115,20 +123,23 @@ BuildRequires: lz4-devel >= 1:1.3.0 BuildRequires: m4 BuildRequires: meson >= 0.46 BuildRequires: ninja +BuildRequires: p11-kit-devel >= 0.23.3 %{?with_pam:BuildRequires: pam-devel >= 1.1.2} BuildRequires: pcre2-8-devel -BuildRequires: pkgconfig >= 0.9.0 +BuildRequires: pkgconfig >= 1:0.9.0 BuildRequires: polkit-devel >= 0.106 BuildRequires: python3 BuildRequires: python3-lxml -%{?with_qrencode:BuildRequires: qrencode-devel} -BuildRequires: rpmbuild(macros) >= 1.728 +%{?with_qrencode:BuildRequires: qrencode-devel >= 4} +BuildRequires: rpmbuild(macros) >= 1.752 BuildRequires: sed >= 4.0 %{?with_tests:BuildRequires: systemd} +%{?with_tpm2:BuildRequires: tpm2-tss-devel} BuildRequires: usbutils >= 0.82 BuildRequires: xorg-lib-libxkbcommon-devel >= 0.5.0 BuildRequires: xz-devel BuildRequires: zlib-devel +BuildRequires: zstd-devel >= 1.4.0 Requires(post,postun): %{name}-units = %{epoch}:%{version}-%{release} Requires(postun): /usr/sbin/groupdel Requires(postun): /usr/sbin/userdel @@ -143,24 +154,29 @@ Requires: %{name}-tools = %{epoch}:%{version}-%{release} Requires: /etc/os-release Requires: SysVinit-tools Requires: agetty -%{?with_cryptsetup:Requires: cryptsetup >= 1.6.0} Requires: curl-libs >= 7.32.0 Requires: dbus >= 1.9.18 Requires: filesystem >= 4.0-39 Requires: glibc >= 2.16 -Requires: gnutls-libs >= 3.1.4 +Requires: gnutls-libs >= 3.6.0 Requires: kmod >= 25-2 Requires: libgpg-error >= 1.12 %{?with_microhttpd:Requires: libmicrohttpd >= 0.9.33} Requires: libutempter Requires: polkit >= 0.106 Requires: rc-scripts >= 0.4.5.3-7 -Requires: setup >= 2.8.0-2 +Requires: setup >= 2.10.1 Requires: udev-core = %{epoch}:%{version}-%{release} Requires: udev-libs = %{epoch}:%{version}-%{release} Requires: uname(release) >= 3.13 Requires: util-linux >= 2.30 +%{?with_cryptsetup:Suggests: cryptsetup >= 2.3.0} Suggests: fsck >= 2.25.0 +%{?with_fido2:Suggests: libfido2} +Suggests: libidn2 +Suggests: libpwquality +Suggests: pcre2-8 +%{?with_qrencode:Suggests: qrencode-libs >= 4} Suggests: service(klogd) Suggests: service(syslog) Suggests: xorg-lib-libxkbcommon >= 0.5.0 @@ -169,6 +185,7 @@ Provides: group(systemd-journal) Provides: group(systemd-journal-remote) Provides: group(systemd-journal-upload) Provides: group(systemd-network) +Provides: group(systemd-oom) Provides: group(systemd-resolve) Provides: group(systemd-timesync) Provides: udev-acl = %{epoch}:%{version}-%{release} @@ -176,6 +193,7 @@ Provides: user(systemd-coredump) Provides: user(systemd-journal-remote) Provides: user(systemd-journal-upload) Provides: user(systemd-network) +Provides: user(systemd-oom) Provides: user(systemd-resolve) Provides: user(systemd-timesync) # kde4 still can't live without ConsoleKit @@ -310,11 +328,9 @@ Summary: systemd /sbin/init and LSB/SysV compatibility symlinks Summary(pl.UTF-8): /sbin/init z systemd i dowiązania dla kompatybilności z LSB/SysV Group: Base Requires: systemd -Provides: readahead = 1:1.5.7-3 -Provides: virtual(init-daemon) +Provides: virtual-init-daemon Obsoletes: SysVinit -Obsoletes: readahead < 1:1.5.7-3 -Obsoletes: virtual(init-daemon) +Obsoletes: virtual-init-daemon Conflicts: rc-scripts < 0.4.5.5-2 Conflicts: upstart # systemd takes care of that and causes problems @@ -335,6 +351,7 @@ Summary(pl.UTF-8): Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla Group: Base Requires(post): coreutils Requires(post): /bin/awk +Requires: less >= 568 %description units Basic configuration files, directories and installation tool for the @@ -385,6 +402,24 @@ HTTP. systemd-journal-gatewayd serwuje zdarzenia dziennika po sieci poprzez HTTP. +%package homed +Summary: systemd home area/user account manager +Summary(pl.UTF-8): Zarządca obszarów domowych/kont użytkownika dla systemd +Group: Base +Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: libfdisk >= 2.33 + +%description homed +systemd-homed is a system service that may be used to create, remove, +change or inspect home areas (directories and network mounts and real +or loopback block devices with a filesystem, optionally encrypted). + +%description homed -l pl.UTF-8 +systemd-homed to usługa systemowa służąca do tworzenia, usuwania, +zmiany lub dozorowania obszarów domowych (katalogów, montowań +sieciowych oraz prawdziwych lub symulowanych urządzeń blokowych z +systemami plików, opcjonalnie szyfrowanymi). + %package networkd Summary: systemd network manager Summary(pl.UTF-8): Zarządca sieci systemd @@ -402,6 +437,17 @@ systemd-networkd to usługa systemowa zarządzająca siecią. Wykrywa i konfiguruje interfejsy sieciowe gdy się pojawiają, a także tworzy wirtualne urządzenia sieciowe. +%package oomd +Summary: systemd userspace oom killer service +Group: Base +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description oomd +systemd-oomd is a system service which monitors resource contention +for selected parts of the unit hierarchy using the PSI information +reported by the kernel, and kills processes when memory or swap +pressure is above configured limits. + %package portabled Summary: systemd portable service images service Summary(pl.UTF-8): Usługa systemd do obrazów usług przenośnych @@ -416,6 +462,21 @@ detach and inspect portable service images. systemd-portabled to usługa systemowa służąca do podłączania, odłączania i badania obrazów usług przenośnych. +%package repart +Summary: systemd service to automatically grow and add partitions +Summary(pl.UTF-8): Usługa systemd do automatycznego powiększania lub dodawania partycji +Group: Base +Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: libfdisk >= 2.33 + +%description repart +systemd-repart grows and adds partitions to a partition table, based +on the configuration files. + +%description repart -l pl.UTF-8 +systemd-repart powiększa i dodaje partycje do tablicy partycji w +oparciu o pliki konfiguracyjne. + %package resolved Summary: systemd network name resolution manager Summary(pl.UTF-8): Zarządca rozwiązywania nazw sieciowych systemd @@ -487,9 +548,10 @@ Summary: Shared systemd libraries Summary(pl.UTF-8): Biblioteki współdzielone systemd Group: Libraries Requires: libgcrypt >= 1.4.5 -Requires: libseccomp >= 2.3.1 +Requires: libseccomp >= 2.4.0 %{?with_selinux:Requires: libselinux >= 2.6} Requires: lz4-libs >= 1:1.3.0 +Requires: zstd >= 1.4.0 Obsoletes: nss_myhostname %description libs @@ -519,9 +581,7 @@ Group: Applications/Shells Requires: %{name} = %{epoch}:%{version}-%{release} Requires: bash-completion >= 2.0 Obsoletes: bash-completion-elogind -%if "%{_rpmversion}" >= "5" BuildArch: noarch -%endif %description -n bash-completion-systemd bash-completion for systemd. @@ -535,9 +595,7 @@ Summary(pl.UTF-8): Uzupełnianie parametrów w zsh dla poleceń systemd Group: Applications/Shells Requires: %{name} = %{epoch}:%{version}-%{release} Obsoletes: zsh-completion-elogind -%if "%{_rpmversion}" >= "5" BuildArch: noarch -%endif %description -n zsh-completion-systemd zsh completion for systemd commands. @@ -579,11 +637,12 @@ Requires: filesystem >= 3.0-45 Requires: kmod >= 15 Requires: libblkid >= 2.24 %{?with_selinux:Requires: libselinux >= 2.6} -Requires: setup >= 2.9.0-3 +Requires: setup >= 2.10.1 +Requires: systemd-libs = %{epoch}:%{version}-%{release} Requires: udev-libs = %{epoch}:%{version}-%{release} Requires: uname(release) >= 3.13 Obsoletes: udev-compat -Obsoletes: udev-initrd < %{epoch}:%{version}-%{release}} +Obsoletes: udev-initrd < %{epoch}:%{version}-%{release} Conflicts: geninitrd < 12639 Conflicts: rc-scripts < 0.4.5.3-1 Conflicts: systemd-units < 1:183 @@ -627,9 +686,7 @@ Summary(pl.UTF-8): Bashowe dopełnianie składni dla udev Group: Applications/Shells Requires: bash-completion >= 2.0 Requires: udev = %{epoch}:%{version}-%{release} -%if "%{_rpmversion}" >= "5" BuildArch: noarch -%endif %description -n bash-completion-udev bash-completion for udev. @@ -642,9 +699,7 @@ Summary: zsh completion for udev commands Summary(pl.UTF-8): Uzupełnianie parametrów w zsh dla poleceń udev Group: Applications/Shells Requires: %{name} = %{epoch}:%{version}-%{release} -%if "%{_rpmversion}" >= "5" BuildArch: noarch -%endif %description -n zsh-completion-udev zsh completion for udev commands. @@ -653,15 +708,16 @@ zsh completion for udev commands. Uzupełnianie parametrów w zsh dla poleceń udev. %prep -%setup -q +%setup -q -n systemd-stable-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 -%patch5 -p1 + # rejected upstream (do not disable!) %patch6 -p1 +%patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 @@ -673,20 +729,23 @@ Uzupełnianie parametrów w zsh dla poleceń udev. cp -p %{SOURCE2} src/systemd_booted.c +grep -rlZ -0 '#!/usr/bin/env bash' . | xargs -0 sed -i -e 's,#!/usr/bin/env bash,#!/bin/bash,g' + %build %meson build \ -Daudit=%{__true_false audit} \ + -Ddefault-hierarchy=hybrid \ -Ddefault-kill-user-processes=false \ %{?debug:--buildtype=debug} \ -Defi=%{__true_false efi} \ - -Dhalt-local=/sbin/halt.local \ + -Dfido2=%{__true_false fido2} \ -Dkexec-path=/sbin/kexec \ - -Dkill-path=/bin/kill \ -Dkmod-path=/sbin/kmod \ -Dlibcryptsetup=%{__true_false cryptsetup} \ -Dlibidn2=true \ -Dloadkeys-path=/usr/bin/loadkeys \ -Dlz4=true \ + -Dman=true \ -Dmicrohttpd=%{__true_false microhttpd} \ -Dmount-path=/bin/mount \ -Dnobody-user="nobody" \ @@ -700,7 +759,6 @@ cp -p %{SOURCE2} src/systemd_booted.c -Drc-local=/etc/rc.d/rc.local \ -Drootlibdir=/%{_lib} \ -Drootprefix="" \ - -Drootsbindir=%{_rootsbindir} \ -Dselinux=%{__true_false selinux} \ -Dsetfont-path=/bin/setfont \ -Dsplit-bin=true \ @@ -708,14 +766,15 @@ cp -p %{SOURCE2} src/systemd_booted.c -Dsulogin-path=/sbin/sulogin \ -Dsysvinit-path=/etc/rc.d/init.d \ -Dsysvrcnd-path=/etc/rc.d \ + -Dtpm2=%{__true_false tpm2} \ -Dumount-path=/bin/umount \ -Dusers-gid=1000 \ -%meson_build -C build +%ninja_build -C build -%{__cc} %{rpmcppflags} %{rpmcflags} -o build/systemd_booted %{rpmldflags} src/systemd_booted.c -L. -lsystemd +%{__cc} %{rpmcppflags} %{rpmcflags} -o build/systemd_booted %{rpmldflags} src/systemd_booted.c -Lbuild -lsystemd -%{?with_tests:%meson_test -C build} +%{?with_tests:%ninja_test -C build} %install rm -rf $RPM_BUILD_ROOT @@ -723,20 +782,21 @@ install -d $RPM_BUILD_ROOT/var/lib/{%{name}/{catalog,coredump},machines} \ $RPM_BUILD_ROOT%{_rootsbindir} \ $RPM_BUILD_ROOT%{_sysconfdir}/{modprobe.d,systemd/system-preset} \ $RPM_BUILD_ROOT%{systemduserunitdir}/sockets.target.wants \ - $RPM_BUILD_ROOT%{systemdunitdir}/{final,sound,system-update}.target.wants + $RPM_BUILD_ROOT%{systemdunitdir}/{final,sound,system-update}.target.wants \ + $RPM_BUILD_ROOT%{systemdunitdir}/systemd-udevd.service.d \ + $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-environment-generators -%meson_install -C build +%ninja_install -C build touch $RPM_BUILD_ROOT/var/lib/%{name}/random-seed install -p -m755 build/systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted # target-pld.patch supplements -rm $RPM_BUILD_ROOT%{systemdunitdir}/sysinit.target.wants/sys-kernel-config.mount +%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/sysinit.target.wants/sys-kernel-config.mount ln -s %{systemdunitdir}/prefdm.service $RPM_BUILD_ROOT%{systemdunitdir}/graphical.target.wants/display-manager.service ln -s prefdm.service $RPM_BUILD_ROOT%{systemdunitdir}/display-manager.service ln -s rescue.service $RPM_BUILD_ROOT%{systemdunitdir}/single.service -ln -s %{systemdunitdir}/halt-local.service $RPM_BUILD_ROOT%{systemdunitdir}/final.target.wants/halt-local.service ln -s %{systemdunitdir}/rc-local.service $RPM_BUILD_ROOT%{systemdunitdir}/multi-user.target.wants/rc-local.service # compatibility symlinks to udevd binary @@ -745,7 +805,7 @@ ln -s /lib/udev/udevd $RPM_BUILD_ROOT/lib/systemd/systemd-udevd ln -s /lib/udev/udevd $RPM_BUILD_ROOT%{_rootsbindir}/udevd # compat symlinks for "/ merged into /usr" programs -ln -s %{_rootsbindir}/udevadm $RPM_BUILD_ROOT/bin +ln -s ../bin/udevadm $RPM_BUILD_ROOT%{_rootsbindir} ln -s /lib/udev $RPM_BUILD_ROOT%{_prefix}/lib # install custom udev rules from pld package @@ -753,6 +813,7 @@ cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.ru cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules cp -a %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-uinput.rules cp -a %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-steam_controller.rules +cp -a %{SOURCE106} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-i2c.rules # http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/80-net-setup-link.rules @@ -826,7 +887,8 @@ cp -p %{SOURCE19} $RPM_BUILD_ROOT%{systemdunitdir}/prefdm.service $RPM_BUILD_ROOT%{_mandir}/man8/systemd-rc-local-generator.8 # provided by rc-scripts -%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/rc-local.service +%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/rc-local.service \ + $RPM_BUILD_ROOT%{_mandir}/man8/rc-local.service.8 # Make sure these directories are properly owned: # - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd, @@ -846,11 +908,6 @@ install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir} # Create directory for service helper scripts install -d $RPM_BUILD_ROOT/lib/systemd/pld-helpers.d -# to be enabled only when the packages are installed -%{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/*.target.wants/systemd-networkd.service \ - $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/*.target.wants/systemd-networkd.socket \ - $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/*.target.wants/systemd-resolved.service - install -d $RPM_BUILD_ROOT/var/log :> $RPM_BUILD_ROOT/var/log/btmp :> $RPM_BUILD_ROOT/var/log/wtmp @@ -876,6 +933,8 @@ rm -rf $RPM_BUILD_ROOT %useradd -u 320 -g 320 -d /var/log/journal -s /bin/false -c "Systemd Journal Upload" systemd-journal-upload %groupadd -g 333 systemd-coredump %useradd -u 333 -g 333 -d /var/log/journal -s /bin/false -c "Systemd Core Dumper" systemd-coredump +%groupadd -g 341 systemd-oom +%useradd -u 341 -g 341 -d /var/log/journal -s /bin/false -c "Systemd Userspace OOM Killer" systemd-oom %post /bin/systemd-machine-id-setup || : @@ -894,6 +953,8 @@ if [ "$1" = "0" ]; then %groupremove systemd-coredump %userremove systemd-network %groupremove systemd-network + %userremove systemd-oom + %groupremove systemd-oom %userremove systemd-resolve %groupremove systemd-resolve %userremove systemd-timesync @@ -905,11 +966,11 @@ if [ "$1" = "0" ]; then %groupremove systemd-journal fi -%triggerpostun -- systemd < 1:208-1 +%triggerpostun -- systemd < 1:220-1 +# systemd < 1:208-1 chgrp -R systemd-journal /var/log/journal chmod g+s /var/log/journal - -%triggerpostun -- systemd < 1:220-1 +# systemd < 1:220-1 # https://bugs.freedesktop.org/show_bug.cgi?id=89202 /bin/getfacl -p /var/log/journal/$(cat /etc/machine-id) | grep -v '^#' | sort -u | /bin/setfacl -R --set-file=- /var/log/journal/$(cat /etc/machine-id) || : @@ -949,8 +1010,6 @@ if [ $1 -eq 1 ]; then /bin/systemctl enable \ network.service \ remote-fs.target \ - systemd-readahead-replay.service \ - systemd-readahead-collect.service \ systemd-udev-settle.service || : fi @@ -959,8 +1018,6 @@ if [ $1 -eq 0 ] ; then /bin/systemctl disable \ network.service \ remote-fs.target \ - systemd-readahead-replay.service \ - systemd-readahead-collect.service \ systemd-udev-settle.service || : %{__rm} -f %{_sysconfdir}/systemd/system/default.target || : @@ -971,14 +1028,14 @@ if [ $1 -ge 1 ]; then /bin/systemctl daemon-reload || : fi -%triggerpostun units -- systemd-units < 43-7 +%triggerpostun units -- systemd-units < 1:242 +# systemd-units < 43-7 # Remove design fialures %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service || : %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service || : %{__rm} -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service || : /bin/systemctl reenable network.service || : - -%triggerpostun units -- systemd-units < 1:183 +# systemd-units < 1:183 /bin/systemctl --quiet enable systemd-udev-settle.service || : %{__rm} -f /etc/systemd/system/basic.target.wants/udev-settle.service || : # preserve renamed configs @@ -990,20 +1047,22 @@ if [ -f /etc/systemd/systemd-logind.conf.rpmsave ]; then %{__mv} /etc/systemd/logind.conf{,.rpmnew} %{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf fi - -%triggerpostun units -- systemd-units < 1:187-3 +# systemd-units < 1:187-3 if [ -f /etc/sysconfig/rpm ]; then . /etc/sysconfig/rpm if [ ${RPM_ENABLE_SYSTEMD_SERVICE:-yes} = no ]; then echo "disable *" >>%{_sysconfdir}/systemd/system-preset/default.preset fi fi - -%triggerpostun units -- systemd-units < 1:208-9 +# systemd-units < 1:208-9 # remove buggy symlink if [ -L /etc/systemd/system/getty.target.wants/getty@.service ] ; then rm -f /etc/systemd/system/getty.target.wants/getty@.service || : fi +# systemd-units < 1:242 +if [ -L /var/lib/systemd/timesync ] ; then + rm -f /var/lib/systemd/timesync || : +fi %post inetd %systemd_reload @@ -1058,21 +1117,22 @@ if [ "$2" = 0 ]; then /sbin/start_udev || exit 0 fi -%triggerpostun -n udev-core -- udev < 108 +%triggerpostun -n udev-core -- udev < 165 +# udev < 108 %{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules %if "%{_lib}" != "lib" %{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules %endif -%triggerpostun -n udev-core -- udev < 165 -/sbin/udevadm info --convert-db +# udev < 165 +/bin/udevadm info --convert-db %post -n udev-core -/sbin/udevadm hwdb --update || : +/bin/udevadm hwdb --update || : if [ $1 -gt 1 ]; then if [ ! -x /bin/systemd_booted ] || ! /bin/systemd_booted; then if grep -qs devtmpfs /proc/mounts && [ -n "$(pidof udevd)" ]; then - /sbin/udevadm control --exit + /bin/udevadm control --exit /lib/udev/udevd --daemon fi else @@ -1092,7 +1152,7 @@ fi %files -f %{name}.lang %defattr(644,root,root,755) -%doc docs/{AUTOMATIC_BOOT_ASSESSMENT,BLOCK_DEVICE_LOCKING,BOOT_LOADER_INTERFACE,BOOT_LOADER_SPECIFICATION,DISTRO_PORTING,ENVIRONMENT,PREDICTABLE_INTERFACE_NAMES,TRANSIENT-SETTINGS,UIDS-GIDS}.md NEWS README TODO +%doc docs/{AUTOMATIC_BOOT_ASSESSMENT,BLOCK_DEVICE_LOCKING,BOOT_LOADER_INTERFACE,BOOT_LOADER_SPECIFICATION,DISTRO_PORTING,ENVIRONMENT,GROUP_RECORD,PREDICTABLE_INTERFACE_NAMES,TRANSIENT-SETTINGS,UIDS-GIDS,USER_GROUP_API,USER_RECORD}.md NEWS README TODO %{_datadir}/dbus-1/system.d/org.freedesktop.hostname1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.import1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.locale1.conf @@ -1116,22 +1176,14 @@ fi %endif %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journald.conf %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/logind.conf +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/pstore.conf %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/sleep.conf %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system.conf %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/timesyncd.conf %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/user.conf %dir %{_sysconfdir}/systemd/user -%dir %{_sysconfdir}/systemd/system/getty.target.wants -%dir %{_sysconfdir}/systemd/system/multi-user.target.wants -%dir %{_sysconfdir}/systemd/system/sockets.target.wants -%dir %{_sysconfdir}/systemd/system/sysinit.target.wants -%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/getty.target.wants/getty@tty1.service -%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/multi-user.target.wants/machines.target -%{?with_cryptsetup:%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/multi-user.target.wants/remote-cryptsetup.target} -%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/multi-user.target.wants/remote-fs.target - -%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/sysinit.target.wants/systemd-timesyncd.service -%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/systemd-user + +%config(noreplace) %verify(not md5 mtime size) /usr/lib/pam.d/systemd-user /etc/xdg/systemd %attr(755,root,root) /bin/journalctl %attr(755,root,root) /bin/loginctl @@ -1143,8 +1195,10 @@ fi %attr(755,root,root) /bin/systemd-inhibit %attr(755,root,root) /bin/systemd-machine-id-setup %attr(755,root,root) /bin/systemd-notify +%attr(755,root,root) /bin/systemd-sysext %attr(755,root,root) /bin/systemd-sysusers %attr(755,root,root) /bin/systemd-tty-ask-password-agent +%attr(755,root,root) /bin/userdbctl %{?with_efi:%attr(755,root,root) %{_bindir}/bootctl} %attr(755,root,root) %{_bindir}/busctl %attr(755,root,root) %{_bindir}/coredumpctl @@ -1152,8 +1206,10 @@ fi %attr(755,root,root) %{_bindir}/kernel-install %attr(755,root,root) %{_bindir}/localectl %attr(755,root,root) %{_bindir}/systemd-cat +%{?with_cryptsetup:%attr(755,root,root) %{_bindir}/systemd-cryptenroll} %attr(755,root,root) %{_bindir}/systemd-delta %attr(755,root,root) %{_bindir}/systemd-detect-virt +%attr(755,root,root) %{_bindir}/systemd-dissect %attr(755,root,root) %{_bindir}/systemd-id128 %attr(755,root,root) %{_bindir}/systemd-mount %attr(755,root,root) %{_bindir}/systemd-nspawn @@ -1177,7 +1233,6 @@ fi %attr(755,root,root) /lib/systemd/systemd-cgroups-agent %attr(755,root,root) /lib/systemd/systemd-coredump %{?with_cryptsetup:%attr(755,root,root) /lib/systemd/systemd-cryptsetup} -%attr(755,root,root) /lib/systemd/systemd-dissect %attr(755,root,root) /lib/systemd/systemd-export %attr(755,root,root) /lib/systemd/systemd-fsck %attr(755,root,root) /lib/systemd/systemd-growfs @@ -1197,6 +1252,7 @@ fi %attr(755,root,root) /lib/systemd/systemd-machined %attr(755,root,root) /lib/systemd/systemd-makefs %attr(755,root,root) /lib/systemd/systemd-modules-load +%attr(755,root,root) /lib/systemd/systemd-pstore %attr(755,root,root) /lib/systemd/systemd-pull %attr(755,root,root) /lib/systemd/systemd-quotacheck %attr(755,root,root) /lib/systemd/systemd-random-seed @@ -1216,9 +1272,12 @@ fi %attr(755,root,root) /lib/systemd/systemd-update-done %attr(755,root,root) /lib/systemd/systemd-user-runtime-dir %attr(755,root,root) /lib/systemd/systemd-user-sessions +%attr(755,root,root) /lib/systemd/systemd-userdbd +%attr(755,root,root) /lib/systemd/systemd-userwork %attr(755,root,root) /lib/systemd/systemd-vconsole-setup %attr(755,root,root) /lib/systemd/systemd-veritysetup %attr(755,root,root) /lib/systemd/systemd-volatile-root +%attr(755,root,root) /lib/systemd/systemd-xdg-autostart-condition %attr(755,root,root) /lib/systemd/systemd %{?with_cryptsetup:%attr(755,root,root) /lib/systemd/system-generators/systemd-cryptsetup-generator} %{?with_efi:%attr(755,root,root) /lib/systemd/system-generators/systemd-bless-boot-generator} @@ -1243,6 +1302,7 @@ fi %{_prefix}/lib/environment.d/99-environment.conf %dir %{_prefix}/lib/kernel %dir %{_prefix}/lib/kernel/install.d +%{_prefix}/lib/kernel/install.d/00-entry-directory.install %{_prefix}/lib/kernel/install.d/50-depmod.install %{_prefix}/lib/kernel/install.d/90-loaderentry.install %if %{with efi} @@ -1283,13 +1343,20 @@ fi %{_prefix}/lib/tmpfiles.d/home.conf %{_prefix}/lib/tmpfiles.d/journal-nocow.conf %{_prefix}/lib/tmpfiles.d/legacy.conf +%{_prefix}/lib/tmpfiles.d/static-nodes-permissions.conf %{_prefix}/lib/tmpfiles.d/systemd.conf %{_prefix}/lib/tmpfiles.d/systemd-nologin.conf %{_prefix}/lib/tmpfiles.d/systemd-nspawn.conf +%{_prefix}/lib/tmpfiles.d/systemd-pstore.conf +%{_prefix}/lib/tmpfiles.d/systemd-tmp.conf %{_prefix}/lib/tmpfiles.d/tmp.conf %{_prefix}/lib/tmpfiles.d/var.conf %{_prefix}/lib/tmpfiles.d/x11.conf %{_prefix}/lib/sysctl.d/50-coredump.conf +# if cc.sizeof('long') > 4 +%ifarch %{x8664} aarch64 +%{_prefix}/lib/sysctl.d/50-pid-max.conf +%endif %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service %{_datadir}/dbus-1/system-services/org.freedesktop.import1.service @@ -1311,6 +1378,7 @@ fi %{?with_microhttpd:%{_datadir}/systemd/gatewayd} %{_datadir}/systemd/kbd-model-map %{_datadir}/systemd/language-fallback-map +%{_datadir}/factory/etc/issue %{_datadir}/factory/etc/nsswitch.conf %{_datadir}/factory/etc/pam.d/other %{_datadir}/factory/etc/pam.d/system-auth @@ -1325,8 +1393,10 @@ fi %{_mandir}/man1/systemd.1* %{_mandir}/man1/systemd-ask-password.1* %{_mandir}/man1/systemd-cat.1* +%{?with_cryptsetup:%{_mandir}/man1/systemd-cryptenroll.1*} %{_mandir}/man1/systemd-delta.1* %{_mandir}/man1/systemd-detect-virt.1* +%{_mandir}/man1/systemd-dissect.1* %{_mandir}/man1/systemd-escape.1* %{_mandir}/man1/systemd-firstboot.1* %{_mandir}/man1/systemd-firstboot.service.1* @@ -1342,11 +1412,13 @@ fi %{_mandir}/man1/systemd-tty-ask-password-agent.1* %{_mandir}/man1/systemd-umount.1* %{_mandir}/man1/timedatectl.1* +%{_mandir}/man1/userdbctl.1* %{_mandir}/man5/binfmt.d.5* %{_mandir}/man5/coredump.conf.5* %{_mandir}/man5/coredump.conf.d.5* %{_mandir}/man5/dnssec-trust-anchors.d.5* %{_mandir}/man5/hostname.5* +%{_mandir}/man5/journald@.conf.5* %{?with_efi:%{_mandir}/man5/loader.conf.5*} %if %{with microhttpd} %{_mandir}/man5/journal-remote.conf.5* @@ -1363,7 +1435,17 @@ fi %{_mandir}/man5/machine-id.5* %{_mandir}/man5/machine-info.5* %{_mandir}/man5/modules-load.d.5* +%{_mandir}/man5/org.freedesktop.LogControl1.5* +%{_mandir}/man5/org.freedesktop.hostname1.5* +%{_mandir}/man5/org.freedesktop.import1.5* +%{_mandir}/man5/org.freedesktop.locale1.5* +%{_mandir}/man5/org.freedesktop.login1.5* +%{_mandir}/man5/org.freedesktop.machine1.5* +%{_mandir}/man5/org.freedesktop.systemd1.5* +%{_mandir}/man5/org.freedesktop.timedate1.5* %{_mandir}/man5/os-release.5* +%{_mandir}/man5/pstore.conf.5* +%{_mandir}/man5/pstore.conf.d.5* %{_mandir}/man5/sleep.conf.d.5* %{_mandir}/man5/sysctl.d.5* %{_mandir}/man5/system.conf.d.5* @@ -1371,6 +1453,7 @@ fi %{_mandir}/man5/systemd-sleep.conf.5* %{_mandir}/man5/systemd-system.conf.5* %{_mandir}/man5/systemd-user.conf.5* +%{_mandir}/man5/systemd-user-runtime-dir.5* %{_mandir}/man5/sysusers.d.5* %{_mandir}/man5/timesyncd.conf.5* %{_mandir}/man5/timesyncd.conf.d.5* @@ -1398,7 +1481,11 @@ fi %{_mandir}/man8/nss-mymachines.8* %{_mandir}/man8/systemd-backlight.8* %{_mandir}/man8/systemd-binfmt.8* -%{?with_efi:%{_mandir}/man8/systemd-bless-boot-generator.8*} +%if %{with efi} +%{_mandir}/man8/systemd-bless-boot.8* +%{_mandir}/man8/systemd-bless-boot-generator.8* +%endif +%{_mandir}/man8/systemd-boot-check-no-failures.8* %{_mandir}/man8/systemd-coredump.8* %{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup-generator.8*} %{_mandir}/man8/systemd-debug-generator.8* @@ -1415,7 +1502,10 @@ fi %{_mandir}/man8/systemd-importd.8* %{_mandir}/man8/systemd-initctl.8* %{_mandir}/man8/systemd-journald-dev-log.socket.8* +%{_mandir}/man8/systemd-journald-varlink@.socket.8* %{_mandir}/man8/systemd-journald.8* +%{_mandir}/man8/systemd-journald@.service.8* +%{_mandir}/man8/systemd-journald@.socket.8* %if %{with microhttpd} %{_mandir}/man8/systemd-journal-remote.8* %{_mandir}/man8/systemd-journal-upload.8* @@ -1426,8 +1516,10 @@ fi %{_mandir}/man8/systemd-machine-id-commit.service.8* %{_mandir}/man8/systemd-makefs.8* %{_mandir}/man8/systemd-makefs@.service.8* -%{_mandir}/man8/systemd-makeswap@.service.8* +%{_mandir}/man8/systemd-mkswap@.service.8* %{_mandir}/man8/systemd-modules-load.8* +%{_mandir}/man8/systemd-pstore.8* +%{_mandir}/man8/systemd-pstore.service.8* %{_mandir}/man8/systemd-quotacheck.8* %{_mandir}/man8/systemd-random-seed.8* %{_mandir}/man8/systemd-remount-fs.8* @@ -1438,6 +1530,7 @@ fi %{_mandir}/man8/systemd-sleep.8* %{_mandir}/man8/systemd-socket-proxyd.8* %{_mandir}/man8/systemd-sysctl.8* +%{_mandir}/man8/systemd-sysext.8* %{_mandir}/man8/systemd-system-update-generator.8* %{_mandir}/man8/systemd-sysusers.8* %{_mandir}/man8/systemd-sysusers.service.8* @@ -1451,12 +1544,14 @@ fi %{_mandir}/man8/systemd-update-done.service.8* %{_mandir}/man8/systemd-update-utmp.8* %{_mandir}/man8/systemd-user-sessions.8* +%{_mandir}/man8/systemd-userdbd.8* %{_mandir}/man8/systemd-vconsole-setup.8* %{_mandir}/man8/systemd-veritysetup.8* %{_mandir}/man8/systemd-veritysetup-generator.8* %{_mandir}/man8/systemd-veritysetup@.service.8* %{_mandir}/man8/systemd-volatile-root.8* %{_mandir}/man8/systemd-volatile-root.service.8* +%{_mandir}/man8/systemd-xdg-autostart-generator.8* %attr(700,root,root) %dir /var/lib/machines %dir /var/lib/%{name} %dir /var/lib/%{name}/coredump @@ -1482,7 +1577,10 @@ fi %attr(755,root,root) /sbin/shutdown %attr(755,root,root) /sbin/telinit %{_mandir}/man1/init.1* -%{?with_cryptsetup:%{_mandir}/man5/crypttab.5*} +%if %{with cryptsetup} +%{_mandir}/man5/crypttab.5* +%{_mandir}/man5/veritytab.5* +%endif %{_mandir}/man8/halt.8* %{_mandir}/man8/poweroff.8* %{_mandir}/man8/reboot.8* @@ -1511,12 +1609,15 @@ fi %dir %{_prefix}/lib/systemd/system-shutdown %dir %{_prefix}/lib/systemd/system-sleep %dir %{_prefix}/lib/systemd/user +%{_prefix}/lib/systemd/user/app.slice +%{_prefix}/lib/systemd/user/background.slice %{_prefix}/lib/systemd/user/basic.target %{_prefix}/lib/systemd/user/bluetooth.target %{_prefix}/lib/systemd/user/default.target %{_prefix}/lib/systemd/user/exit.target %{_prefix}/lib/systemd/user/paths.target %{_prefix}/lib/systemd/user/printer.target +%{_prefix}/lib/systemd/user/session.slice %{_prefix}/lib/systemd/user/shutdown.target %{_prefix}/lib/systemd/user/smartcard.target %{_prefix}/lib/systemd/user/sockets.target @@ -1526,11 +1627,16 @@ fi %{_prefix}/lib/systemd/user/systemd-tmpfiles-setup.service %{_prefix}/lib/systemd/user/timers.target %{_prefix}/lib/systemd/user/systemd-exit.service +%{_prefix}/lib/systemd/user/xdg-desktop-autostart.target %dir %{_prefix}/lib/systemd/user-generators +%attr(755,root,root) %{_prefix}/lib/systemd/user-generators/systemd-xdg-autostart-generator %dir %{_prefix}/lib/systemd/user-environment-generators %attr(755,root,root) %{_prefix}/lib/systemd/user-environment-generators/30-systemd-environment-d-generator %dir %{_prefix}/lib/systemd/user-preset %{_prefix}/lib/systemd/user-preset/90-systemd.preset +%dir %{_prefix}/lib/systemd/system-environment-generators +%dir /lib/systemd/ntp-units.d +/lib/systemd/ntp-units.d/80-systemd-timesync.list %dir /lib/systemd/pld-helpers.d %dir /lib/systemd/system-generators %dir /lib/systemd/system-preset @@ -1555,9 +1661,11 @@ fi %{systemdunitdir}/sys-fs-fuse-connections.mount %{systemdunitdir}/sys-kernel-config.mount %{systemdunitdir}/sys-kernel-debug.mount +%{systemdunitdir}/sys-kernel-tracing.mount %{systemdunitdir}/systemd-coredump@.service %{systemdunitdir}/systemd-coredump.socket %{systemdunitdir}/systemd-exit.service +%{systemdunitdir}/systemd-pstore.service %{systemdunitdir}/systemd-rfkill.socket %{systemdunitdir}/tmp.mount %{systemdunitdir}/var-lib-machines.mount @@ -1581,7 +1689,6 @@ fi %{systemdunitdir}/display-manager.service %{systemdunitdir}/emergency.service %{systemdunitdir}/getty@.service -%{systemdunitdir}/halt-local.service %{systemdunitdir}/initrd-cleanup.service %{systemdunitdir}/initrd-parse-etc.service %{systemdunitdir}/initrd-switch-root.service @@ -1589,6 +1696,7 @@ fi %{systemdunitdir}/killall.service %{systemdunitdir}/kmod-static-nodes.service %{systemdunitdir}/ldconfig.service +%{systemdunitdir}/modprobe@.service %{systemdunitdir}/netfs.service %{systemdunitdir}/network.service %{systemdunitdir}/pld-clean-tmp.service @@ -1608,6 +1716,7 @@ fi %{systemdunitdir}/systemd-backlight@.service %{systemdunitdir}/systemd-binfmt.service %{?with_efi:%{systemdunitdir}/systemd-bless-boot.service} +%{?with_efi:%{systemdunitdir}/systemd-boot-system-token.service} %{systemdunitdir}/systemd-boot-check-no-failures.service %{systemdunitdir}/systemd-firstboot.service %{systemdunitdir}/systemd-fsck-root.service @@ -1626,6 +1735,7 @@ fi %{systemdunitdir}/systemd-journal-remote.service %{systemdunitdir}/systemd-journal-upload.service %{systemdunitdir}/systemd-journald.service +%{systemdunitdir}/systemd-journald@.service %{systemdunitdir}/systemd-kexec.service %{systemdunitdir}/systemd-localed.service %{systemdunitdir}/systemd-logind.service @@ -1642,6 +1752,7 @@ fi %{systemdunitdir}/systemd-suspend.service %{systemdunitdir}/systemd-suspend-then-hibernate.service %{systemdunitdir}/systemd-sysctl.service +%{systemdunitdir}/systemd-sysext.service %{systemdunitdir}/systemd-sysusers.service %{systemdunitdir}/systemd-time-wait-sync.service %{systemdunitdir}/systemd-timedated.service @@ -1652,15 +1763,19 @@ fi %{systemdunitdir}/systemd-udev-settle.service %{systemdunitdir}/systemd-udev-trigger.service %{systemdunitdir}/systemd-udevd.service +%dir %{systemdunitdir}/systemd-udevd.service.d %{systemdunitdir}/systemd-update-done.service %{systemdunitdir}/systemd-update-utmp-runlevel.service %{systemdunitdir}/systemd-update-utmp.service %{systemdunitdir}/systemd-user-sessions.service +%{systemdunitdir}/systemd-userdbd.service +%{systemdunitdir}/systemd-userdbd.socket %{systemdunitdir}/systemd-vconsole-setup.service %{systemdunitdir}/systemd-volatile-root.service %{systemdunitdir}/user@.service %{systemdunitdir}/machine.slice #%{systemdunitdir}/system.slice +%{?with_cryptsetup:%{systemdunitdir}/system-systemd\x2dcryptsetup.slice} %dir %{systemdunitdir}/user-.slice.d %{systemdunitdir}/user-.slice.d/10-defaults.conf %{systemdunitdir}/user-runtime-dir@.service @@ -1671,19 +1786,27 @@ fi %{systemdunitdir}/systemd-journal-remote.socket %{systemdunitdir}/systemd-journald-audit.socket %{systemdunitdir}/systemd-journald-dev-log.socket +%{systemdunitdir}/systemd-journald-varlink@.socket %{systemdunitdir}/systemd-journald.socket +%{systemdunitdir}/systemd-journald@.socket %{systemdunitdir}/systemd-udevd-control.socket %{systemdunitdir}/systemd-udevd-kernel.socket %{systemdunitdir}/basic.target +%{systemdunitdir}/blockdev@.target %{systemdunitdir}/bluetooth.target %{systemdunitdir}/boot-complete.target -%{?with_cryptsetup:%{systemdunitdir}/cryptsetup-pre.target} -%{?with_cryptsetup:%{systemdunitdir}/cryptsetup.target} +%if %{with cryptsetup} +%{systemdunitdir}/cryptsetup-pre.target +%{systemdunitdir}/cryptsetup.target +%{systemdunitdir}/veritysetup-pre.target +%{systemdunitdir}/veritysetup.target +%endif %{systemdunitdir}/ctrl-alt-del.target %{systemdunitdir}/default.target %{systemdunitdir}/emergency.target %{systemdunitdir}/exit.target %{systemdunitdir}/final.target +%{systemdunitdir}/first-boot-complete.target %{systemdunitdir}/getty.target %{systemdunitdir}/getty-pre.target %{systemdunitdir}/graphical.target @@ -1712,6 +1835,7 @@ fi %{systemdunitdir}/remote-fs.target %if %{with cryptsetup} %{systemdunitdir}/remote-cryptsetup.target +%{systemdunitdir}/remote-veritysetup.target %endif %{systemdunitdir}/rescue.target %{systemdunitdir}/rpcbind.target @@ -1733,9 +1857,11 @@ fi %{systemdunitdir}/swap.target %{systemdunitdir}/sysinit.target %{systemdunitdir}/system-update.target +%{systemdunitdir}/time-set.target %{systemdunitdir}/time-sync.target %{systemdunitdir}/timers.target %{systemdunitdir}/umount.target +%{systemdunitdir}/usb-gadget.target %{systemdunitdir}/systemd-tmpfiles-clean.timer %dir %{systemdunitdir}/basic.target.wants %dir %{systemdunitdir}/dbus.target.wants @@ -1743,6 +1869,8 @@ fi %dir %{systemdunitdir}/graphical.target.wants %dir %{systemdunitdir}/halt.target.wants %dir %{systemdunitdir}/initrd.target.wants +%dir %{systemdunitdir}/initrd-root-device.target.wants +%dir %{systemdunitdir}/initrd-root-fs.target.wants %dir %{systemdunitdir}/kexec.target.wants %dir %{systemdunitdir}/local-fs.target.wants %dir %{systemdunitdir}/machines.target.wants @@ -1760,11 +1888,13 @@ fi %dir %{systemdunitdir}/syslog.target.wants %dir %{systemdunitdir}/system-update.target.wants %dir %{systemdunitdir}/timers.target.wants -%{systemdunitdir}/final.target.wants/halt-local.service +%if %{with cryptsetup} +%{systemdunitdir}/initrd-root-device.target.wants/remote-cryptsetup.target +%{systemdunitdir}/initrd-root-device.target.wants/remote-veritysetup.target +%endif %{systemdunitdir}/graphical.target.wants/display-manager.service %{systemdunitdir}/graphical.target.wants/systemd-update-utmp-runlevel.service %{systemdunitdir}/local-fs.target.wants/pld-clean-tmp.service -%{systemdunitdir}/local-fs.target.wants/systemd-remount-fs.service %{systemdunitdir}/local-fs.target.wants/var-lock.mount %{systemdunitdir}/local-fs.target.wants/var-run.mount %{systemdunitdir}/machines.target.wants/var-lib-machines.mount @@ -1783,7 +1913,10 @@ fi %{systemdunitdir}/sockets.target.wants/systemd-journald.socket %{systemdunitdir}/sockets.target.wants/systemd-udevd-control.socket %{systemdunitdir}/sockets.target.wants/systemd-udevd-kernel.socket -%{?with_cryptsetup:%{systemdunitdir}/sysinit.target.wants/cryptsetup.target} +%if %{with cryptsetup} +%{systemdunitdir}/sysinit.target.wants/cryptsetup.target +%{systemdunitdir}/sysinit.target.wants/veritysetup.target +%endif %{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount %{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount %{systemdunitdir}/sysinit.target.wants/kmod-static-nodes.service @@ -1791,8 +1924,10 @@ fi %{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount %{systemdunitdir}/sysinit.target.wants/sys-fs-fuse-connections.mount %{systemdunitdir}/sysinit.target.wants/sys-kernel-debug.mount +%{systemdunitdir}/sysinit.target.wants/sys-kernel-tracing.mount %{systemdunitdir}/sysinit.target.wants/systemd-ask-password-console.path %{systemdunitdir}/sysinit.target.wants/systemd-binfmt.service +%{?with_efi:%{systemdunitdir}/sysinit.target.wants/systemd-boot-system-token.service} %{systemdunitdir}/sysinit.target.wants/systemd-firstboot.service %{systemdunitdir}/sysinit.target.wants/systemd-hwdb-update.service %{systemdunitdir}/sysinit.target.wants/systemd-journal-catalog-update.service @@ -1825,6 +1960,7 @@ fi %{_mandir}/man8/systemd-binfmt.service.8* %{?with_efi:%{_mandir}/man8/systemd-bless-boot.service.8*} %{_mandir}/man8/systemd-boot-check-no-failures.service.8* +%{?with_efi:%{_mandir}/man8/systemd-boot-system-token.service.8*} %{_mandir}/man8/systemd-coredump.socket.8* %{_mandir}/man8/systemd-coredump@.service.8* %{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup.8*} @@ -1858,18 +1994,21 @@ fi %{_mandir}/man8/systemd-suspend.service.8* %{_mandir}/man8/systemd-suspend-then-hibernate.service.8* %{_mandir}/man8/systemd-sysctl.service.8* +%{_mandir}/man8/systemd-sysext.service.8* %{_mandir}/man8/systemd-time-wait-sync.service.8* %{_mandir}/man8/systemd-timedated.service.8* %{_mandir}/man8/systemd-tmpfiles-clean.service.8* %{_mandir}/man8/systemd-tmpfiles-clean.timer.8* %{_mandir}/man8/systemd-tmpfiles-setup.service.8* %{_mandir}/man8/systemd-tmpfiles-setup-dev.service.8* +%{_mandir}/man8/systemd-udev-settle.service.8* %{_mandir}/man8/systemd-udevd.service.8* %{_mandir}/man8/systemd-udevd-control.socket.8* %{_mandir}/man8/systemd-udevd-kernel.socket.8* %{_mandir}/man8/systemd-update-utmp-runlevel.service.8* %{_mandir}/man8/systemd-update-utmp.service.8* %{_mandir}/man8/systemd-user-sessions.service.8* +%{_mandir}/man8/systemd-userdbd.service.8* %{_mandir}/man8/systemd-vconsole-setup.service.8* %files tools @@ -1889,32 +2028,73 @@ fi %{_mandir}/man8/systemd-journal-gatewayd.socket.8* %endif +%files homed +%defattr(644,root,root,755) +%attr(755,root,root) /bin/homectl +%attr(755,root,root) /lib/systemd/systemd-homed +%attr(755,root,root) /lib/systemd/systemd-homework +%attr(755,root,root) /%{_lib}/security/pam_systemd_home.so +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/homed.conf +%{systemdunitdir}/systemd-homed.service +%{systemdunitdir}/systemd-homed-activate.service +%{_datadir}/dbus-1/system-services/org.freedesktop.home1.service +%{_datadir}/dbus-1/system.d/org.freedesktop.home1.conf +%{_datadir}/polkit-1/actions/org.freedesktop.home1.policy +%{_mandir}/man1/homectl.1* +%{_mandir}/man5/homed.conf.5* +%{_mandir}/man5/homed.conf.d.5* +%{_mandir}/man5/org.freedesktop.home1.5* +%{_mandir}/man8/pam_systemd_home.8* +%{_mandir}/man8/systemd-homed.8* +%{_mandir}/man8/systemd-homed.service.8* + %files networkd %defattr(644,root,root,755) %{_datadir}/dbus-1/system.d/org.freedesktop.network1.conf %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/networkd.conf %dir %{_sysconfdir}/systemd/network -%dir %{_sysconfdir}/systemd/system/network-online.target.wants -%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service /lib/systemd/network/80-container-host0.network /lib/systemd/network/80-container-ve.network /lib/systemd/network/80-container-vz.network -/etc/systemd/system/dbus-org.freedesktop.network1.service +/lib/systemd/network/80-vm-vt.network +/lib/systemd/network/80-wifi-adhoc.network +%{systemdunitdir}/systemd-network-generator.service %{systemdunitdir}/systemd-networkd-wait-online.service %{systemdunitdir}/systemd-networkd.service %{systemdunitdir}/systemd-networkd.socket %{_datadir}/dbus-1/system-services/org.freedesktop.network1.service +%{_datadir}/polkit-1/actions/org.freedesktop.network1.policy %attr(755,root,root) /bin/networkctl +%attr(755,root,root) /lib/systemd/systemd-network-generator %attr(755,root,root) /lib/systemd/systemd-networkd %attr(755,root,root) /lib/systemd/systemd-networkd-wait-online %{_mandir}/man1/networkctl.1* %{_mandir}/man5/networkd.conf.5* %{_mandir}/man5/networkd.conf.d.5* +%{_mandir}/man7/systemd.net-naming-scheme.7* +%{_mandir}/man8/systemd-network-generator.8* +%{_mandir}/man8/systemd-network-generator.service.8* %{_mandir}/man8/systemd-networkd-wait-online.8* %{_mandir}/man8/systemd-networkd-wait-online.service.8* %{_mandir}/man8/systemd-networkd.8* %{_mandir}/man8/systemd-networkd.service.8* +%files oomd +%defattr(644,root,root,755) +%attr(755,root,root) /bin/oomctl +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/oomd.conf +%attr(755,root,root) /lib/systemd/systemd-oomd +%{systemdunitdir}/dbus-org.freedesktop.oom1.service +%{systemdunitdir}/systemd-oomd.service +%{_datadir}/dbus-1/system-services/org.freedesktop.oom1.service +%{_datadir}/dbus-1/system.d/org.freedesktop.oom1.conf +%{_mandir}/man1/oomctl.1* +%{_mandir}/man5/oomd.conf.5* +%{_mandir}/man5/oomd.conf.d.5* +%{_mandir}/man5/org.freedesktop.oom1.5* +%{_mandir}/man8/systemd-oomd.8* +%{_mandir}/man8/systemd-oomd.service.8* + %files portabled %defattr(644,root,root,755) %doc docs/PORTABLE_SERVICES.md @@ -1937,13 +2117,23 @@ fi %{_datadir}/dbus-1/system.d/org.freedesktop.portable1.conf %{_datadir}/polkit-1/actions/org.freedesktop.portable1.policy %{_mandir}/man1/portablectl.1* +%{_mandir}/man5/org.freedesktop.portable1.5* %{_mandir}/man8/systemd-portabled.8* %{_mandir}/man8/systemd-portabled.service.8* +%files repart +%defattr(644,root,root,755) +%attr(755,root,root) /bin/systemd-repart +%{systemdunitdir}/systemd-repart.service +%{systemdunitdir}/initrd-root-fs.target.wants/systemd-repart.service +%{systemdunitdir}/sysinit.target.wants/systemd-repart.service +%{_mandir}/man5/repart.d.5* +%{_mandir}/man8/systemd-repart.8* +%{_mandir}/man8/systemd-repart.service.8* + %files resolved %defattr(644,root,root,755) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/resolved.conf -%config(noreplace,missingok) %verify(not md5 mtime size) /etc/systemd/system/dbus-org.freedesktop.resolve1.service %{_datadir}/dbus-1/system.d/org.freedesktop.resolve1.conf %{_datadir}/dbus-1/system-services/org.freedesktop.resolve1.service %{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy @@ -1953,6 +2143,7 @@ fi %attr(755,root,root) /lib/systemd/systemd-resolved %{_mandir}/man1/resolvconf.1* %{_mandir}/man1/resolvectl.1* +%{_mandir}/man5/org.freedesktop.resolve1.5* %{_mandir}/man5/resolved.conf.5* %{_mandir}/man5/resolved.conf.d.5* %{_mandir}/man8/systemd-resolved.8* @@ -1992,9 +2183,10 @@ fi %files -n bash-completion-systemd %defattr(644,root,root,755) -%{?with_efi:%{bash_compdir}/bootctl} +%{bash_compdir}/bootctl %{bash_compdir}/busctl %{bash_compdir}/coredumpctl +%{bash_compdir}/homectl %{bash_compdir}/hostnamectl %{bash_compdir}/journalctl %{bash_compdir}/kernel-install @@ -2011,6 +2203,7 @@ fi %{bash_compdir}/systemd-cgtop %{bash_compdir}/systemd-delta %{bash_compdir}/systemd-detect-virt +%{bash_compdir}/systemd-id128 %{bash_compdir}/systemd-nspawn %{bash_compdir}/systemd-path %{bash_compdir}/systemd-resolve @@ -2019,7 +2212,7 @@ fi %files -n zsh-completion-systemd %defattr(644,root,root,755) -%{?with_efi:%{zsh_compdir}/_bootctl} +%{zsh_compdir}/_bootctl %{zsh_compdir}/_busctl %{zsh_compdir}/_coredumpctl %{zsh_compdir}/_hostnamectl @@ -2029,6 +2222,7 @@ fi %{zsh_compdir}/_loginctl %{zsh_compdir}/_machinectl %{zsh_compdir}/_networkctl +%{zsh_compdir}/_resolvectl %{zsh_compdir}/_sd_hosts_or_user_at_host %{zsh_compdir}/_sd_machines %{zsh_compdir}/_sd_outputmodes @@ -2039,7 +2233,7 @@ fi %{zsh_compdir}/_systemd-delta %{zsh_compdir}/_systemd-inhibit %{zsh_compdir}/_systemd-nspawn -%{zsh_compdir}/_systemd-resolve +%{zsh_compdir}/_systemd-path %{zsh_compdir}/_systemd-run %{zsh_compdir}/_systemd-tmpfiles %{zsh_compdir}/_timedatectl @@ -2059,6 +2253,8 @@ fi %attr(755,root,root) /lib/udev/ata_id %attr(755,root,root) /lib/udev/cdrom_id +%attr(755,root,root) /lib/udev/dmi_memory_id +%attr(755,root,root) /lib/udev/fido_id %attr(755,root,root) /lib/udev/mtd_probe %attr(755,root,root) /lib/udev/scsi_id %attr(755,root,root) /lib/udev/v4l_id @@ -2067,6 +2263,7 @@ fi /lib/udev/hwdb.d/20-acpi-vendor.hwdb /lib/udev/hwdb.d/20-bluetooth-vendor-product.hwdb +/lib/udev/hwdb.d/20-dmi-id.hwdb /lib/udev/hwdb.d/20-net-ifname.hwdb /lib/udev/hwdb.d/20-OUI.hwdb /lib/udev/hwdb.d/20-pci-classes.hwdb @@ -2076,7 +2273,11 @@ fi /lib/udev/hwdb.d/20-usb-classes.hwdb /lib/udev/hwdb.d/20-usb-vendor-model.hwdb /lib/udev/hwdb.d/20-vmbus-class.hwdb +/lib/udev/hwdb.d/60-autosuspend-chromiumos.hwdb +/lib/udev/hwdb.d/60-autosuspend-fingerprint-reader.hwdb +/lib/udev/hwdb.d/60-autosuspend.hwdb /lib/udev/hwdb.d/60-evdev.hwdb +/lib/udev/hwdb.d/60-input-id.hwdb /lib/udev/hwdb.d/60-keyboard.hwdb /lib/udev/hwdb.d/60-sensor.hwdb /lib/udev/hwdb.d/70-joystick.hwdb @@ -2102,16 +2303,19 @@ fi %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-uinput.rules %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-steam_controller.rules +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-i2c.rules %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/80-net-setup-link.rules %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf # rules below are NOT supposed to be changed by users /lib/udev/rules.d/50-udev-default.rules +/lib/udev/rules.d/60-autosuspend.rules /lib/udev/rules.d/60-block.rules /lib/udev/rules.d/60-cdrom_id.rules /lib/udev/rules.d/60-drm.rules /lib/udev/rules.d/60-evdev.rules +/lib/udev/rules.d/60-fido-id.rules /lib/udev/rules.d/60-persistent-alsa.rules /lib/udev/rules.d/60-persistent-input.rules /lib/udev/rules.d/60-persistent-storage.rules @@ -2119,6 +2323,7 @@ fi /lib/udev/rules.d/60-persistent-v4l.rules /lib/udev/rules.d/60-serial.rules /lib/udev/rules.d/64-btrfs.rules +/lib/udev/rules.d/70-memory.rules /lib/udev/rules.d/70-mouse.rules /lib/udev/rules.d/70-power-switch.rules /lib/udev/rules.d/70-touchpad.rules