]> git.pld-linux.org Git - packages/systemd.git/blame - systemd.spec
start upgrade to 247.3 (rel 0.1)
[packages/systemd.git] / systemd.spec
CommitLineData
d374e721 1# TODO:
d1ac392b 2# - consider providing the factory files via appropriate packages (setup, pam)
a4981830 3# - merge rpm macros provided by systemd with ours
63dba220
ER
4# - handle udev package removal:
5# - http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2014-March/023852.html
6# - restore (write) sane value for kernel.hotplug, i.e from rc-scripts: sysctl -q -e -w kernel.hotplug=/lib/firmware/firmware-loader.sh
47f64e1e
ER
7# - dev->udev upgrade:
8# - /dev/urandom remains missing, not created with start_udev anymore
d374e721 9#
9538a6a4 10#warning: Installed (but unpackaged) file(s) found:
7dfd6655 11# /usr/lib/rpm/macros.d/macros.systemd
9538a6a4 12#
c3037397 13# Conditional build:
14caeae7 14%bcond_without audit # audit support
14caeae7 15%bcond_without cryptsetup # cryptsetup support
f5bd7642 16%bcond_without microhttpd # use microhttpd for network journal access
23107006 17%bcond_without pam # PAM authentication support
f8d07093 18%bcond_without qrencode # QRencode support
14caeae7
JB
19%bcond_without selinux # SELinux support
20%bcond_without efi # EFI boot support
bb76a18a 21%bcond_with tests # "make check" (requires systemd already installed)
9c0b975d 22
21224350
JB
23%ifnarch %{ix86} %{x8664} aarch64
24# x32 disabled - maybe it's possible to build x64 EFI, but it requires some hacking (add -m64 to EFI gcc command line?)
14caeae7
JB
25%undefine with_efi
26%endif
c3037397 27Summary: A System and Service Manager
ede8d3e5 28Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa
29Name: systemd
30121190 30# Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
0a794686
JP
31Version: 247.3
32Release: 0.1
30121190 33Epoch: 1
e03b3ba9 34License: GPL v2+ (udev), LGPL v2.1+ (the rest)
ede8d3e5 35Group: Base
a8a1a634 36#Source0Download: https://github.com/systemd/systemd/releases
42a9c6e9 37Source0: https://github.com/systemd/systemd-stable/archive/v%{version}/%{name}-%{version}.tar.gz
0a794686 38# Source0-md5: 5be57c584847b161c67577f2d997903a
4f25b6ac 39Source1: %{name}-sysv-convert
b0980573 40Source2: %{name}_booted.c
a3a953ae 41Source3: network.service
870fdd3d
JR
42Source4: var-lock.mount
43Source5: var-run.mount
50b8f452
ER
44Source14: pld-clean-tmp.service
45Source15: pld-clean-tmp.sh
bb6fb962
JR
46Source16: pld-rc-inetd-generator.sh
47Source17: rc-inetd.service
a98a12d9 48Source18: default.preset
2be4d5dc 49Source19: prefdm.service
e5f31a34
MK
50Source20: sigpwr-container-shutdown.service
51
30121190
JR
52# rules
53Source101: udev-alsa.rules
54Source102: udev.rules
55Source103: udev-links.conf
dcbc26d0 56Source104: udev-uinput.rules
27e7ee7d 57Source105: udev-steam_controller.rules
30121190
JR
58# scripts / helpers
59Source110: udev-net.helper
60Source111: start_udev
61# misc
62Source120: udev.blacklist
63Source121: fbdev.blacklist
7619c097 64Patch0: target-pld.patch
252e1bad 65Patch1: config-pld.patch
d034a897
JR
66Patch2: pld-sysv-network.patch
67Patch3: tmpfiles-not-fatal.patch
68Patch4: udev-ploop-rules.patch
881358e5 69
d034a897 70Patch6: net-rename-revert.patch
973c0d94 71Patch7: %{name}-completion.patch
d034a897 72Patch8: proc-hidepid.patch
c50655d4 73Patch9: %{name}-configfs.patch
d034a897
JR
74Patch10: pld-boot_efi_mount.patch
75Patch11: optional-tmp-on-tmpfs.patch
76Patch12: uids_gids.patch
d946c58e 77Patch13: sysctl.patch
a2e26a8b 78Patch14: pld-pam-%{name}-user.patch
e9483529 79Patch15: %{name}-x32.patch
a8a1a634 80URL: https://www.freedesktop.org/wiki/Software/systemd/
5b9bde26 81BuildRequires: acl-devel
6c89bbd4 82%{?with_audit:BuildRequires: audit-libs-devel}
e4c66821 83BuildRequires: binutils >= 3:2.22.52.0.1-2
82b9d951
JB
84BuildRequires: bzip2-devel
85# ln --relative
86BuildRequires: coreutils >= 8.16
0a12352a 87%{?with_cryptsetup:BuildRequires: cryptsetup-devel >= 2.3.0}
82b9d951 88BuildRequires: curl-devel >= 7.32.0
8e27187e 89BuildRequires: dbus-devel >= 1.9.18
b66163cf 90BuildRequires: docbook-dtd42-xml
11db4517 91BuildRequires: docbook-dtd45-xml
b66163cf 92BuildRequires: docbook-style-xsl-nons
70be5794 93BuildRequires: elfutils-devel >= 0.158
11db4517 94BuildRequires: gettext-tools
2c054955 95BuildRequires: glib2-devel >= 1:2.22.0
30121190 96BuildRequires: glibc-misc
d17ad128 97%{?with_efi:BuildRequires: gnu-efi}
bb8e7bde 98BuildRequires: gnutls-devel >= 3.6.0
3fc7a1cc 99BuildRequires: gperf
5b9bde26 100BuildRequires: intltool >= 0.40.0
82b9d951
JB
101# pkgconfig(libiptc)
102BuildRequires: iptables-devel
b91c66ed 103BuildRequires: kmod-devel >= 15
0a12352a 104BuildRequires: libapparmor-devel >= 1:2.13
b91c66ed 105BuildRequires: libblkid-devel >= 2.24
b82d0bf2 106BuildRequires: libcap-devel
bb8e7bde
JB
107BuildRequires: libfdisk-devel >= 2.33
108BuildRequires: libfido2-devel
f8d07093 109BuildRequires: libgcrypt-devel >= 1.4.5
82b9d951 110BuildRequires: libgpg-error-devel >= 1.12
2c054955 111BuildRequires: libidn2-devel
dbf0cb82 112%{?with_microhttpd:BuildRequires: libmicrohttpd-devel >= 0.9.33}
2c054955 113BuildRequires: libmount-devel >= 2.30
bb8e7bde 114BuildRequires: libpwquality-devel
c19c0cd4 115BuildRequires: libseccomp-devel >= 2.4.0
b034c4b7 116%{?with_selinux:BuildRequires: libselinux-devel >= 2.6}
6c89bbd4 117BuildRequires: libtool >= 2:2.2
6e34428f 118BuildRequires: libxslt-progs
a8a1a634 119BuildRequires: lz4-devel >= 1:1.3.0
961baf80 120BuildRequires: m4
a8a1a634 121BuildRequires: meson >= 0.46
6406acd6 122BuildRequires: ninja
bb8e7bde 123BuildRequires: p11-kit-devel >= 0.23.3
b91c66ed 124%{?with_pam:BuildRequires: pam-devel >= 1.1.2}
2c054955 125BuildRequires: pcre2-8-devel
a0d3acbd 126BuildRequires: pkgconfig >= 1:0.9.0
2c054955 127BuildRequires: polkit-devel >= 0.106
8e27187e
AM
128BuildRequires: python3
129BuildRequires: python3-lxml
0a794686 130%{?with_qrencode:BuildRequires: qrencode-devel >= 4}
010fe167 131BuildRequires: rpmbuild(macros) >= 1.752
30121190 132BuildRequires: sed >= 4.0
50ada2ab 133%{?with_tests:BuildRequires: systemd}
30121190 134BuildRequires: usbutils >= 0.82
82b9d951 135BuildRequires: xorg-lib-libxkbcommon-devel >= 0.5.0
58fd72e9 136BuildRequires: xz-devel
30121190 137BuildRequires: zlib-devel
0a12352a 138BuildRequires: zstd-devel >= 1.4.0
df9b2696 139Requires(post,postun): %{name}-units = %{epoch}:%{version}-%{release}
e0f956b2
JR
140Requires(postun): /usr/sbin/groupdel
141Requires(postun): /usr/sbin/userdel
3cfd9ace 142Requires(post): /bin/setfacl
e0f956b2
JR
143Requires(pre): /bin/id
144Requires(pre): /usr/bin/getgid
145Requires(pre): /usr/sbin/groupadd
146Requires(pre): /usr/sbin/useradd
250043f7
JB
147Requires: %{name}-libs = %{epoch}:%{version}-%{release}
148Requires: %{name}-units = %{epoch}:%{version}-%{release}
c2dd2200 149Requires: %{name}-tools = %{epoch}:%{version}-%{release}
58d6217a 150Requires: /etc/os-release
2ff27c26 151Requires: SysVinit-tools
37b8df82 152Requires: agetty
82b9d951 153Requires: curl-libs >= 7.32.0
8e27187e 154Requires: dbus >= 1.9.18
d1ac392b 155Requires: filesystem >= 4.0-39
b91c66ed 156Requires: glibc >= 2.16
bb8e7bde 157Requires: gnutls-libs >= 3.6.0
c06d9f8f 158Requires: kmod >= 25-2
82b9d951 159Requires: libgpg-error >= 1.12
dbf0cb82 160%{?with_microhttpd:Requires: libmicrohttpd >= 0.9.33}
ed5c41d4 161Requires: libutempter
2c054955 162Requires: polkit >= 0.106
a2018b66 163Requires: rc-scripts >= 0.4.5.3-7
56701781 164Requires: setup >= 2.8.0-2
cbba36f4
JR
165Requires: udev-core = %{epoch}:%{version}-%{release}
166Requires: udev-libs = %{epoch}:%{version}-%{release}
cd1a3782 167Requires: uname(release) >= 3.13
2c054955 168Requires: util-linux >= 2.30
0a794686 169%{?with_cryptsetup:Suggests: cryptsetup >= 2.3.0}
abea5afb 170Suggests: fsck >= 2.25.0
0a794686
JP
171Suggests: libidn2
172Suggests: libpwquality
173Suggests: pcre2-8
174%{?with_qrencode:Suggests: qrencode-libs >= 4}
c35aa49c 175Suggests: service(klogd)
1cdd35cf 176Suggests: service(syslog)
82b9d951 177Suggests: xorg-lib-libxkbcommon >= 0.5.0
c75f826c 178Provides: group(systemd-coredump)
e0f956b2 179Provides: group(systemd-journal)
565c6a39
JK
180Provides: group(systemd-journal-remote)
181Provides: group(systemd-journal-upload)
c50655d4
ER
182Provides: group(systemd-network)
183Provides: group(systemd-resolve)
184Provides: group(systemd-timesync)
185Provides: udev-acl = %{epoch}:%{version}-%{release}
250043f7 186Provides: user(systemd-coredump)
c50655d4
ER
187Provides: user(systemd-journal-remote)
188Provides: user(systemd-journal-upload)
565c6a39
JK
189Provides: user(systemd-network)
190Provides: user(systemd-resolve)
191Provides: user(systemd-timesync)
20737d08
JR
192# kde4 still can't live without ConsoleKit
193#Obsoletes: ConsoleKit
194#Obsoletes: ConsoleKit-x11
399af251 195Obsoletes: elogind
ca73092d 196Obsoletes: systemd-no-compat-tmpfiles
cbba36f4 197Obsoletes: udev-systemd
77352d20
JR
198# for storage detection / activation services
199Conflicts: dmraid < 1.0.0-0.rc16.3.3
200Conflicts: mdadm < 4.0-2
a6203073 201# sytemd wants pam with pam_systemd.so in system-auth...
3b292a99 202Conflicts: pam < 1:1.1.5-5
a6203073
JR
203# ...and sudo hates it
204Conflicts: sudo < 1:1.7.8p2-4
06d34666
JR
205# for prefdm script
206Conflicts: xinitrc-ng < 1.0
0fedd233 207# systemd scripts use options not present in older versions
77352d20
JR
208Conflicts: kpartx < 0.6.1-1
209Conflicts: multipath-tools < 0.6.1-1
d833377f
JR
210# no tmpfs on /media, use /run/media/$USER for mounting
211Conflicts: udisks2 < 1.92.0
ca73092d
JR
212# packages that have dirs under /var/run and/or /var/lock must provide tmpfiles configs
213Conflicts: ConsoleKit-dirs < 0.4.5-7
214Conflicts: NetworkManager < 2:0.9.2.0-3
215Conflicts: Zope < 2.11.8-2
216Conflicts: amavisd-new < 1:2.7.0-1
217Conflicts: apache-base < 2.2.21-4
218Conflicts: apache-mod_bw < 0.92-3
219Conflicts: apache-mod_fastcgi < 2.4.6-6
220Conflicts: apache1-base < 1.3.42-5
221Conflicts: apache1-mod_fastcgi < 2.4.6-2
222Conflicts: asterisk < 10.0.1-2
223Conflicts: autossh-init < 1.4b-3
224Conflicts: balance < 3.54-2
225Conflicts: bind < 7:9.8.1.P1-4
226Conflicts: bopm < 3.1.3-4
227Conflicts: callweaver < 1.2.1-9
228Conflicts: cassandra-bin < 0.8.9-2
229Conflicts: clamav < 0.97.3-3
230Conflicts: cups < 1:1.5.0-10
ca73092d
JR
231Conflicts: dovecot < 1:2.0.16-3
232Conflicts: dspam < 3.9.0-6
233Conflicts: fail2ban < 0.8.4-4
abea5afb 234Conflicts: fsck < 2.25.0
ca73092d
JR
235Conflicts: gammu-smsd < 1:1.31.0-3
236# Break gdm2.20 installs
237#Conflicts: gdm < 2:3.2.1.1-9
238Conflicts: greylistd < 0.8.8-2
239Conflicts: inn < 2.4.6-7
240Conflicts: ipsec-tools < 0.8.0-3
241Conflicts: jabber-common < 0-9
242Conflicts: laptop-mode-tools < 1.58-2
243Conflicts: libgpod < 0.8.0-6
244Conflicts: libvirt-utils < 0.9.9-4
245Conflicts: lighttpd < 1.4.30-5
246Conflicts: lirc < 0.9.0-20
b91c66ed 247# Needed for vgscan --cache ( perhaps < 2.02.96 would be enough, but not tested)
d2332887 248Conflicts: lvm2 < 2.02.132
ca73092d
JR
249Conflicts: mailman < 5:2.1.14-4
250Conflicts: memcached < 1.4.11-2
251Conflicts: mpd < 0.16.5-4
252Conflicts: mrtg < 2.17.0-3
253Conflicts: munin-common < 1.4.5-5
254Conflicts: nagios-nrpe < 2.13-2
255Conflicts: ndisc6-rdnssd < 1.0.1-3
256Conflicts: nscd < 6:2.14.1-5
257Conflicts: nss_ldapd-nslcd < 0.8.4-2
258Conflicts: openct < 0.6.20-3
259Conflicts: openl2tp < 1.8-3
260Conflicts: openldap-overlay-nssov < 2.4.28-4
261Conflicts: openldap-servers < 2.4.28-4
262Conflicts: openvpn < 2.2.2-2
263Conflicts: pam-pam_mount < 2.12-3
264Conflicts: pam-pam_ssh < 1.97-2
265Conflicts: pcsc-lite < 1.8.1-2
266Conflicts: php-dirs < 1.2-3
267Conflicts: policyd < 2.0.10-3
268Conflicts: pound < 2.6-2
269Conflicts: pptp < 1.7.2-3
270Conflicts: proftpd-common < 2:1.3.4a-2
271Conflicts: pulseaudio-server < 1.1-2
272Conflicts: quagga < 0.99.20-3
273Conflicts: radvd < 1.8.5-2
ca73092d
JR
274Conflicts: red5 < 0.9.0-2
275Conflicts: redis-server < 2.4.2-4
276Conflicts: smokeping < 2.4.2-10
277Conflicts: smtp-gated < 1.4.17-2
278Conflicts: socat < 1.7.2.0-2
279Conflicts: speech-dispatcher < 0.7.1-2
280Conflicts: sphinx < 2.0.3-4
281Conflicts: splashutils < 1.5.4.3-3
282Conflicts: stunnel < 4.50-2
283Conflicts: tenshi < 0.12-2
284Conflicts: tor < 0.2.2.35-2
285Conflicts: ucarp < 1.5.2-3
286Conflicts: udisks < 1.0.4-3
287Conflicts: util-vserver < 0.30.216-1.pre3002.3
288Conflicts: vpnc < 0.5.3-2
289Conflicts: web2ldap < 1.1.0rc1-2
290Conflicts: wesnoth-server < 1:1.10-2
291Conflicts: wpa_supplicant < 0.7.3-10
292Conflicts: xl2tpd < 1.3.0-2
293# end of tmpfiles conflicts
ede8d3e5 294BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
295
f06261ce 296%define _rootsbindir /sbin
85879912 297
ede8d3e5 298%description
1c239f8b 299systemd is a system and service manager for Linux, compatible with
ede8d3e5 300SysV and LSB init scripts. systemd provides aggressive parallelization
301capabilities, uses socket and D-Bus activation for starting services,
302offers on-demand starting of daemons, keeps track of processes using
303Linux cgroups, supports snapshotting and restoring of the system
304state, maintains mount and automount points and implements an
305elaborate transactional dependency-based service control logic. It can
1c239f8b 306work as a drop-in replacement for sysvinit.
ede8d3e5 307
308%description -l pl.UTF-8
309systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze
310skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności
311paralelizacji, do uruchamiania usług używa socketów oraz D-Busa,
312oferuje uruchamianie usług na życzenie, monitoruje procesy używając
313linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie
314(restore) stanu systemu, zarządza (auto)mount pointami oraz
315implementuje starannie opracowaną transakcjonalną, bazującą na
d45dfc3a 316zależnościach logikę kontroli usług. Może pracować jako zastępca dla
ede8d3e5 317sysvinit.
318
c97dacdd
TP
319%package init
320Summary: systemd /sbin/init and LSB/SysV compatibility symlinks
5b9bde26 321Summary(pl.UTF-8): /sbin/init z systemd i dowiązania dla kompatybilności z LSB/SysV
c97dacdd 322Group: Base
d6829efa 323Requires: systemd
24b62599 324Provides: virtual-init-daemon
c97dacdd 325Obsoletes: SysVinit
24b62599 326Obsoletes: virtual-init-daemon
8cb53aef 327Conflicts: rc-scripts < 0.4.5.5-2
4e1559fc 328Conflicts: upstart
1bb18b38
ER
329# systemd takes care of that and causes problems
330Conflicts: binfmt-detector
6ec71f81 331# for /lib/systemd/systemd-sysv-install
e7c16ffb 332Conflicts: chkconfig < 2:1.5-1
c97dacdd
TP
333
334%description init
335Install this package when you are ready to final switch to systemd.
336
5b9bde26
JB
337%description init -l pl.UTF-8
338Ten pakiet należy zainstalować po przygotowaniu się do ostatecznego
339przejścia na systemd.
340
c3037397
ER
341%package units
342Summary: Configuration files, directories and installation tool for systemd
5b9bde26 343Summary(pl.UTF-8): Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla systemd
c3037397 344Group: Base
c3037397 345Requires(post): coreutils
a8d86f01 346Requires(post): /bin/awk
c3037397
ER
347
348%description units
349Basic configuration files, directories and installation tool for the
350systemd system and service manager.
351
f341cd9b 352This is common config, use %{_sysconfdir}/systemd/system to override.
10ffdcd2 353
5b9bde26
JB
354%description units -l pl.UTF-8
355Podstawowe pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla
356zarządcy systemu i usług systemd.
357
358Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać
359poprzez katalog %{_sysconfdir}/systemd/system.
360
c2dd2200
AM
361%package tools
362Summary: Tools that work with and without systemd started
363Summary(pl.UTF-8): Narzędzia działające przy uruchomionym jak i bez systemd
364Group: Base
365Requires: %{name}-libs = %{epoch}:%{version}-%{release}
366
367%description tools
368Tools that work with and without systemd started.
369
370%description tools -l pl.UTF-8
371Narzędzia działające przy uruchomionym jak i bez systemd.
372
48066926
ER
373%package journal-gateway
374Summary: Gateway for serving journal events over the network using HTTP
9653a320 375Summary(pl.UTF-8): Bramka do serwowania zdarzeń dziennika po sieci poprzez HTTP
02f3a8f1 376License: LGPL v2.1+
48066926
ER
377Group: Base
378Requires: %{name} = %{epoch}:%{version}-%{release}
379Requires(postun): /usr/sbin/groupdel
380Requires(postun): /usr/sbin/userdel
381Requires(pre): /bin/id
382Requires(pre): /usr/bin/getgid
383Requires(pre): /usr/sbin/groupadd
384Requires(pre): /usr/sbin/useradd
385Provides: group(systemd-journal-gateway)
386Provides: user(systemd-journal-gateway)
387Conflicts: systemd < 1:206-3
388
389%description journal-gateway
390systemd-journal-gatewayd serves journal events over the network using
391HTTP.
392
9653a320
JB
393%description journal-gateway -l pl.UTF-8
394systemd-journal-gatewayd serwuje zdarzenia dziennika po sieci poprzez
395HTTP.
396
bb8e7bde
JB
397%package homed
398Summary: systemd home area/user account manager
399Summary(pl.UTF-8): Zarządca obszarów domowych/kont użytkownika dla systemd
400Group: Base
401Requires: %{name} = %{epoch}:%{version}-%{release}
402Requires: libfdisk >= 2.33
403
404%description homed
405systemd-homed is a system service that may be used to create, remove,
406change or inspect home areas (directories and network mounts and real
407or loopback block devices with a filesystem, optionally encrypted).
408
409%description homed -l pl.UTF-8
410systemd-homed to usługa systemowa służąca do tworzenia, usuwania,
411zmiany lub dozorowania obszarów domowych (katalogów, montowań
412sieciowych oraz prawdziwych lub symulowanych urządzeń blokowych z
413systemami plików, opcjonalnie szyfrowanymi).
414
909f05f5
JK
415%package networkd
416Summary: systemd network manager
417Summary(pl.UTF-8): Zarządca sieci systemd
418Group: Base
419Requires: %{name} = %{epoch}:%{version}-%{release}
420Suggests: %{name}-resolved = %{epoch}:%{version}-%{release}
421
422%description networkd
423systemd-networkd is a system service that manages networks. It detects
424and configures network devices as they appear, as well as creating
425virtual network devices.
426
427%description networkd -l pl.UTF-8
c50655d4
ER
428systemd-networkd to usługa systemowa zarządzająca siecią. Wykrywa i
429konfiguruje interfejsy sieciowe gdy się pojawiają, a także tworzy
909f05f5
JK
430wirtualne urządzenia sieciowe.
431
0a794686
JP
432%package oomd
433Summary: systemd userspace oom killer service
434Group: Base
435Requires: %{name} = %{epoch}:%{version}-%{release}
436
437%description oomd
438systemd-oomd is a system service which monitors resource contention
439for selected parts of the unit hierarchy using the PSI information
440reported by the kernel, and kills processes when memory or swap
441pressure is above configured limits.
442
be1d1ebd
JB
443%package portabled
444Summary: systemd portable service images service
445Summary(pl.UTF-8): Usługa systemd do obrazów usług przenośnych
446Group: Base
447Requires: %{name} = %{epoch}:%{version}-%{release}
448
449%description portabled
450systemd-portabled is a system service that may be used to attach,
451detach and inspect portable service images.
452
453%description portabled -l pl.UTF-8
454systemd-portabled to usługa systemowa służąca do podłączania,
455odłączania i badania obrazów usług przenośnych.
456
bb8e7bde
JB
457%package repart
458Summary: systemd service to automatically grow and add partitions
459Summary(pl.UTF-8): Usługa systemd do automatycznego powiększania lub dodawania partycji
460Group: Base
461Requires: %{name} = %{epoch}:%{version}-%{release}
462Requires: libfdisk >= 2.33
463
464%description repart
465systemd-repart grows and adds partitions to a partition table, based
466on the configuration files.
467
468%description repart -l pl.UTF-8
469systemd-repart powiększa i dodaje partycje do tablicy partycji w
470oparciu o pliki konfiguracyjne.
471
909f05f5
JK
472%package resolved
473Summary: systemd network name resolution manager
474Summary(pl.UTF-8): Zarządca rozwiązywania nazw sieciowych systemd
475Group: Base
476Requires: %{name} = %{epoch}:%{version}-%{release}
477
478%description resolved
479systemd-resolved is a system service that manages network name
480resolution. It implements a caching DNS stub resolver and an LLMNR
481resolver and responder.
de1f2a1e 482
909f05f5
JK
483It also generates /run/systemd/resolve/resolv.conf for compatibility
484which may be symlinked from /etc/resolv.conf.
485
486%description resolved -l pl.UTF-8
487systemd-resolved to usługa systemowa zarządzająca rozwiązywaniem nazw
de1f2a1e
JB
488sieciowych. Implementuje keszujący resolver DNS oraz resolver i
489responder LLMNR.
490
491Generuje także dla zgodności plik /run/systemd/resolve/resolv.conf,
492który można użyć do dowiązania symbolicznego z /etc/resolv.conf.
909f05f5 493
bb6fb962
JR
494%package inetd
495Summary: Native inet service support for systemd via socket activation
496Summary(pl.UTF-8): Natywna obsługa usług inet dla systemd
497Group: Base
498Requires: %{name} = %{epoch}:%{version}-%{release}
499Requires: rc-inetd
500Provides: inetdaemon
501Obsoletes: inetd
502Obsoletes: inetdaemon
503Obsoletes: rlinetd
504Obsoletes: xinetd
505
506%description inetd
507Native inet service support for systemd via socket activation.
508
fbd2881e
ER
509This package contains inet service generator that provides the
510functionality of rc-inetd service and replaces a separate inet daemon
511with systemd socket activation feature.
bb6fb962
JR
512
513%description inetd -l pl.UTF-8
514Natywna obsługa usług inet dla systemd.
515
516Ten pakiet zawiera generator usług inet udostępniający funkcjonalność
517serwisu rc-inetd i zastępujący osobny demon inet przez systemd i
518aktywację usług przez gniazda.
519
4e5e9c32
ER
520%package analyze
521Summary: Tool for processing systemd profiling information
86d3399e 522Summary(pl.UTF-8): Narzędzie do przetwarzania informacji profilujących systemd
4e5e9c32 523Group: Base
7e0e6b4e 524Requires: %{name} = %{epoch}:%{version}-%{release}
36c60baa 525Conflicts: systemd < 44-3
4e5e9c32
ER
526
527%description analyze
528'systemd-analyze blame' lists which systemd unit needed how much time
529to finish initialization at boot. 'systemd-analyze plot' renders an
530SVG visualizing the parallel start of units at boot.
531
86d3399e
JB
532%description analyze -l pl.UTF-8
533'systemd-analyze blame' wypisuje, ile czasu wymagały poszczególne
534jednostki systemd na zakończenie podczas rozruchu systemu.
535'systemd-analyze plot' tworzy wykres SVG wizualizujący równoległy
536start jednostek podczas rozruchu.
537
011bccb6 538%package libs
5b9bde26
JB
539Summary: Shared systemd libraries
540Summary(pl.UTF-8): Biblioteki współdzielone systemd
011bccb6 541Group: Libraries
f8d07093 542Requires: libgcrypt >= 1.4.5
c19c0cd4 543Requires: libseccomp >= 2.4.0
b034c4b7 544%{?with_selinux:Requires: libselinux >= 2.6}
a8a1a634 545Requires: lz4-libs >= 1:1.3.0
0a12352a 546Requires: zstd >= 1.4.0
e22b3018 547Obsoletes: nss_myhostname
011bccb6
BZ
548
549%description libs
5b9bde26
JB
550Shared systemd libraries.
551
552%description libs -l pl.UTF-8
553Biblioteki współdzielone systemd.
011bccb6 554
961baf80
AF
555%package devel
556Summary: Header files for systemd libraries
557Summary(pl.UTF-8): Pliki nagłówkowe bibliotek systemd
558Group: Development/Libraries
7e0e6b4e 559Requires: %{name}-libs = %{epoch}:%{version}-%{release}
947943f3 560Requires: %{name}-units = %{epoch}:%{version}-%{release}
f29c4a98 561Obsoletes: systemd-static
961baf80
AF
562
563%description devel
564Header files for systemd libraries.
565
566%description devel -l pl.UTF-8
567Pliki nagłówkowe bibliotek systemd.
568
5b9bde26
JB
569%package -n bash-completion-systemd
570Summary: bash-completion for systemd
571Summary(pl.UTF-8): Bashowe dopełnianie składni dla systemd
572Group: Applications/Shells
c8a3952f 573Requires: %{name} = %{epoch}:%{version}-%{release}
1a13d7a2 574Requires: bash-completion >= 2.0
399af251 575Obsoletes: bash-completion-elogind
010fe167 576%{?noarchpackage}
5b9bde26
JB
577
578%description -n bash-completion-systemd
579bash-completion for systemd.
580
581%description -n bash-completion-systemd -l pl.UTF-8
86d3399e 582Bashowe dopełnianie składni dla systemd.
5b9bde26 583
77d7e0b4
JR
584%package -n zsh-completion-systemd
585Summary: zsh completion for systemd commands
586Summary(pl.UTF-8): Uzupełnianie parametrów w zsh dla poleceń systemd
587Group: Applications/Shells
c8a3952f 588Requires: %{name} = %{epoch}:%{version}-%{release}
399af251 589Obsoletes: zsh-completion-elogind
010fe167 590%{?noarchpackage}
77d7e0b4
JR
591
592%description -n zsh-completion-systemd
593zsh completion for systemd commands.
594
595%description -n zsh-completion-systemd -l pl.UTF-8
596Uzupełnianie parametrów w zsh dla poleceń systemd.
597
30121190
JR
598%package -n udev
599Summary: Device manager for the Linux 2.6 kernel series
600Summary(pl.UTF-8): Zarządca urządzeń dla Linuksa 2.6
601Group: Base
602Requires: udev-core = %{epoch}:%{version}-%{release}
603Provides: dev = 3.5.0
604Obsoletes: dev
605Obsoletes: hotplug
606Obsoletes: hotplug-input
607Obsoletes: hotplug-net
608Obsoletes: hotplug-pci
30121190
JR
609Obsoletes: udev-dev
610Obsoletes: udev-extras < 20090628
611Obsoletes: udev-tools
612
613%description -n udev
614udev is the device manager for the Linux 2.6 kernel series. Its
615primary function is managing device nodes in /dev. It is the successor
616of devfs and hotplug.
617
618%description -n udev -l pl.UTF-8
619udev jest zarządcą urządzeń dla Linuksa 2.6. Jego główną funkcją jest
620zarządzanie węzłami urządzeń w katalogu /dev. Jest następcą devfs i
621hotpluga.
622
623%package -n udev-core
624Summary: A userspace implementation of devfs - core part of udev
625Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - główna część udev
626Group: Base
30121190
JR
627Requires: coreutils
628Requires: filesystem >= 3.0-45
b91c66ed
TP
629Requires: kmod >= 15
630Requires: libblkid >= 2.24
b034c4b7 631%{?with_selinux:Requires: libselinux >= 2.6}
5a32fc22 632Requires: setup >= 2.9.0-3
f04493d1 633Requires: systemd-libs = %{epoch}:%{version}-%{release}
fbd2881e 634Requires: udev-libs = %{epoch}:%{version}-%{release}
cd1a3782 635Requires: uname(release) >= 3.13
fbd2881e 636Obsoletes: udev-compat
24b62599 637Obsoletes: udev-initrd < %{epoch}:%{version}-%{release}
60c3e1b7 638Conflicts: geninitrd < 12639
30121190 639Conflicts: rc-scripts < 0.4.5.3-1
cbba36f4 640Conflicts: systemd-units < 1:183
30121190
JR
641Conflicts: udev < 1:118-1
642
643%description -n udev-core
644A userspace implementation of devfs - core part of udev.
645
646%description -n udev-core -l pl.UTF-8
647Implementacja devfs w przestrzeni użytkownika - główna część udev.
648
649%package -n udev-libs
650Summary: Shared library to access udev device information
651Summary(pl.UTF-8): Biblioteka współdzielona do dostępu do informacji o urządzeniach udev
652Group: Libraries
653
654%description -n udev-libs
655Shared libudev library to access udev device information.
656
657%description -n udev-libs -l pl.UTF-8
658Biblioteka współdzielona libudev służąca do dostępu do informacji o
659urządzeniach udev.
660
661%package -n udev-devel
662Summary: Header file for libudev library
663Summary(pl.UTF-8): Plik nagłówkowy biblioteki libudev
664Group: Development/Libraries
665Requires: udev-libs = %{epoch}:%{version}-%{release}
5c770713 666Obsoletes: udev-apidocs
f29c4a98 667Obsoletes: udev-static
30121190
JR
668
669%description -n udev-devel
670Header file for libudev library.
671
672%description -n udev-devel -l pl.UTF-8
673Plik nagłówkowy biblioteki libudev.
674
864041a0
JR
675%package -n bash-completion-udev
676Summary: bash-completion for udev
677Summary(pl.UTF-8): Bashowe dopełnianie składni dla udev
678Group: Applications/Shells
1a13d7a2 679Requires: bash-completion >= 2.0
c8a3952f 680Requires: udev = %{epoch}:%{version}-%{release}
010fe167 681%{?noarchpackage}
864041a0
JR
682
683%description -n bash-completion-udev
684bash-completion for udev.
685
686%description -n bash-completion-udev -l pl.UTF-8
687Bashowe dopełnianie składni dla udev.
688
77d7e0b4
JR
689%package -n zsh-completion-udev
690Summary: zsh completion for udev commands
691Summary(pl.UTF-8): Uzupełnianie parametrów w zsh dla poleceń udev
692Group: Applications/Shells
c8a3952f 693Requires: %{name} = %{epoch}:%{version}-%{release}
010fe167 694%{?noarchpackage}
77d7e0b4
JR
695
696%description -n zsh-completion-udev
697zsh completion for udev commands.
698
699%description -n zsh-completion-udev -l pl.UTF-8
700Uzupełnianie parametrów w zsh dla poleceń udev.
864041a0 701
ede8d3e5 702%prep
42a9c6e9 703%setup -q -n systemd-stable-%{version}
4c5b5ab6 704%patch0 -p1
252e1bad 705%patch1 -p1
d034a897 706%patch2 -p1
19e6c1c7 707%patch3 -p1
d374e721 708%patch4 -p1
881358e5 709
d034a897
JR
710# rejected upstream (do not disable!)
711%patch6 -p1
973c0d94 712%patch7 -p1
3be4738a 713%patch8 -p1
39e47c85 714%patch9 -p1
d3c9da06 715%patch10 -p1
2be4d5dc 716%patch11 -p1
fa700b62 717%patch12 -p1
d946c58e 718%patch13 -p1
9ccb342e 719%patch14 -p1
e9483529 720%patch15 -p1
2131d54e 721
b77423ae 722cp -p %{SOURCE2} src/systemd_booted.c
ede8d3e5 723
881358e5
AM
724grep -rlZ -0 '#!/usr/bin/env bash' . | xargs -0 sed -i -e 's,#!/usr/bin/env bash,#!/bin/bash,g'
725
ede8d3e5 726%build
f06261ce
AM
727%meson build \
728 -Daudit=%{__true_false audit} \
d43959e9 729 -Ddefault-hierarchy=hybrid \
f06261ce
AM
730 -Ddefault-kill-user-processes=false \
731 %{?debug:--buildtype=debug} \
732 -Defi=%{__true_false efi} \
f06261ce 733 -Dkexec-path=/sbin/kexec \
f06261ce
AM
734 -Dkmod-path=/sbin/kmod \
735 -Dlibcryptsetup=%{__true_false cryptsetup} \
2c054955 736 -Dlibidn2=true \
f06261ce
AM
737 -Dloadkeys-path=/usr/bin/loadkeys \
738 -Dlz4=true \
1bbe8306 739 -Dman=true \
f06261ce
AM
740 -Dmicrohttpd=%{__true_false microhttpd} \
741 -Dmount-path=/bin/mount \
7d414874
AM
742 -Dnobody-user="nobody" \
743 -Dnobody-group="nogroup" \
f06261ce
AM
744 -Dntp-servers='0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org' \
745 -Dpam=%{__true_false pam} \
746 -Dqrencode=%{__true_false qrencode} \
747 -Dquotacheck=true \
748 -Dquotacheck-path=/sbin/quotacheck \
749 -Dquotaon-path=/sbin/quotaon \
750 -Drc-local=/etc/rc.d/rc.local \
751 -Drootlibdir=/%{_lib} \
752 -Drootprefix="" \
f06261ce
AM
753 -Dselinux=%{__true_false selinux} \
754 -Dsetfont-path=/bin/setfont \
7d414874 755 -Dsplit-bin=true \
f06261ce
AM
756 -Dsplit-usr=true \
757 -Dsulogin-path=/sbin/sulogin \
758 -Dsysvinit-path=/etc/rc.d/init.d \
759 -Dsysvrcnd-path=/etc/rc.d \
7d414874
AM
760 -Dumount-path=/bin/umount \
761 -Dusers-gid=1000 \
f06261ce 762
bb8e7bde 763%ninja_build -C build
f06261ce 764
e8e56fa0 765%{__cc} %{rpmcppflags} %{rpmcflags} -o build/systemd_booted %{rpmldflags} src/systemd_booted.c -Lbuild -lsystemd
f06261ce 766
bb8e7bde 767%{?with_tests:%ninja_test -C build}
2a54abb3 768
ede8d3e5 769%install
770rm -rf $RPM_BUILD_ROOT
231314d2 771install -d $RPM_BUILD_ROOT/var/lib/{%{name}/{catalog,coredump},machines} \
c06d9f8f
JB
772 $RPM_BUILD_ROOT%{_rootsbindir} \
773 $RPM_BUILD_ROOT%{_sysconfdir}/{modprobe.d,systemd/system-preset} \
774 $RPM_BUILD_ROOT%{systemduserunitdir}/sockets.target.wants \
4975e634 775 $RPM_BUILD_ROOT%{systemdunitdir}/{final,sound,system-update}.target.wants \
e2e2785c 776 $RPM_BUILD_ROOT%{systemdunitdir}/systemd-udevd.service.d \
4975e634 777 $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-environment-generators
23107006 778
bb8e7bde 779%ninja_install -C build
ede8d3e5 780
231314d2
ER
781touch $RPM_BUILD_ROOT/var/lib/%{name}/random-seed
782
f06261ce
AM
783install -p -m755 build/systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted
784
785# target-pld.patch supplements
bb8e7bde 786%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/sysinit.target.wants/sys-kernel-config.mount
f06261ce
AM
787ln -s %{systemdunitdir}/prefdm.service $RPM_BUILD_ROOT%{systemdunitdir}/graphical.target.wants/display-manager.service
788ln -s prefdm.service $RPM_BUILD_ROOT%{systemdunitdir}/display-manager.service
789ln -s rescue.service $RPM_BUILD_ROOT%{systemdunitdir}/single.service
f06261ce 790ln -s %{systemdunitdir}/rc-local.service $RPM_BUILD_ROOT%{systemdunitdir}/multi-user.target.wants/rc-local.service
b77423ae 791
c75fd19d 792# compatibility symlinks to udevd binary
cbba36f4
JR
793mv $RPM_BUILD_ROOT/lib/{systemd/systemd-,udev/}udevd
794ln -s /lib/udev/udevd $RPM_BUILD_ROOT/lib/systemd/systemd-udevd
f06261ce 795ln -s /lib/udev/udevd $RPM_BUILD_ROOT%{_rootsbindir}/udevd
c75fd19d
JR
796
797# compat symlinks for "/ merged into /usr" programs
881358e5 798ln -s ../bin/udevadm $RPM_BUILD_ROOT%{_rootsbindir}
947943f3 799ln -s /lib/udev $RPM_BUILD_ROOT%{_prefix}/lib
c75fd19d
JR
800
801# install custom udev rules from pld package
802cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
803cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules
dcbc26d0 804cp -a %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-uinput.rules
27e7ee7d 805cp -a %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-steam_controller.rules
c75fd19d 806
e2ca78f3
MM
807# http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
808ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/80-net-setup-link.rules
809
c75fd19d
JR
810# install udev configs
811cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/udev/links.conf
812
813# install udev executables (scripts, helpers, etc.)
814install -p %{SOURCE110} $RPM_BUILD_ROOT/lib/udev/net_helper
f06261ce 815install -p %{SOURCE111} $RPM_BUILD_ROOT%{_rootsbindir}/start_udev
c75fd19d
JR
816
817# install misc udev stuff
818cp -a %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/udev_blacklist.conf
819cp -a %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
820
ba7dc07d
JR
821:>$RPM_BUILD_ROOT%{_sysconfdir}/udev/hwdb.bin
822
c06d9f8f 823%{__mv} $RPM_BUILD_ROOT%{_mandir}/man8/{systemd-,}udevd.8
579cb1fc 824echo ".so man8/udevd.8" >$RPM_BUILD_ROOT%{_mandir}/man8/systemd-udevd.8
c75fd19d 825
4389e6f9
JR
826# Main binary has been moved, but we don't want to break existing installs
827ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/bin/systemd
828
5d32f234 829ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf
44410185
JR
830
831# disable redundant SYSV services
832ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/allowlogin.service
4cc1cb1d 833ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/console.service
44410185
JR
834ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/cpusets.service
835ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/killall.service
836ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/netfs.service
837ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/random.service
5d32f234 838
f1586299 839# add static (non-NetworkManager) networking
216f25d7 840cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/network.service
f1586299 841
d833377f
JR
842# restore bind-mounts /var/run -> run and /var/lock -> /run/lock
843# we don't have those directories symlinked
870fdd3d
JR
844cp -p %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/var-lock.mount
845cp -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/var-run.mount
0e50d607
JR
846ln -s ../var-lock.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
847ln -s ../var-run.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
d833377f 848
5f97ec0f 849# and remove mounting tmp on tmpfs by default
183de3c2 850%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants/tmp.mount
d833377f 851
77352d20 852# add /tmp cleanup service
50b8f452 853cp -p %{SOURCE14} $RPM_BUILD_ROOT%{systemdunitdir}/pld-clean-tmp.service
50b8f452 854install -p %{SOURCE15} $RPM_BUILD_ROOT/lib/systemd/pld-clean-tmp
50b8f452 855ln -s ../pld-clean-tmp.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
c3037397 856
e5f31a34
MK
857# Add inside container only SIGPWR handler which is used by lxc-stop
858install -p %{SOURCE20} $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr-container-shutdown.service
859install -d $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr.target.wants
b91c66ed 860ln -s ../sigpwr-container-shutdown.service $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr.target.wants
e5f31a34 861
77d7e0b4
JR
862# As of 207 the systemd-sysctl tool no longer natively reads the file /etc/sysctl.conf.
863# If desired, the file should be symlinked from /etc/sysctl.d/99-sysctl.conf.
864ln -s /etc/sysctl.conf $RPM_BUILD_ROOT/etc/sysctl.d/99-sysctl.conf
865
bb6fb962 866# Install rc-inetd replacement
acd85388 867cp -p %{SOURCE16} $RPM_BUILD_ROOT%{systemdunitdir}-generators/pld-rc-inetd-generator
bb6fb962
JR
868cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdunitdir}/rc-inetd.service
869
a98a12d9
JR
870cp -p %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system-preset/default.preset
871
2be4d5dc
JR
872cp -p %{SOURCE19} $RPM_BUILD_ROOT%{systemdunitdir}/prefdm.service
873
216f25d7 874# handled by rc-local sysv service, no need for generator
c06d9f8f
JB
875%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}-generators/systemd-rc-local-generator \
876 $RPM_BUILD_ROOT%{_mandir}/man8/systemd-rc-local-generator.8
216f25d7 877
72e4d9f8 878# provided by rc-scripts
acd85388 879%{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/rc-local.service
72e4d9f8 880
2a61be78
TP
881# Make sure these directories are properly owned:
882# - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd,
883# - syslog _might_ be used by some syslog implementation (none for now),
884# - isn't dbus populated by dbus-systemd only (so to be moved there)?
1aed57ba 885install -d $RPM_BUILD_ROOT%{systemdunitdir}/{basic,dbus,halt,initrd,kexec,poweroff,reboot,shutdown,syslog}.target.wants
961baf80 886
acd85388 887# Make sure the shutdown/sleep drop-in dirs exist
c06d9f8f 888install -d $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-{shutdown,sleep}
acd85388 889
961baf80 890# Create new-style configuration files so that we can ghost-own them
e8e38afd 891touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,vconsole.conf}
4bbef33c 892
9d8b5dfe 893# Install SysV conversion tool for systemd
4f25b6ac 894install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
9d8b5dfe 895
5bb38820
JR
896# Create directory for service helper scripts
897install -d $RPM_BUILD_ROOT/lib/systemd/pld-helpers.d
898
9d8b5dfe 899install -d $RPM_BUILD_ROOT/var/log
5a65c84e
TP
900:> $RPM_BUILD_ROOT/var/log/btmp
901:> $RPM_BUILD_ROOT/var/log/wtmp
a761f93e 902
5d32f234 903%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
1d01bf93 904
995ed764
TR
905%find_lang %{name}
906
ede8d3e5 907%clean
908rm -rf $RPM_BUILD_ROOT
909
e0f956b2
JR
910%pre
911%groupadd -g 288 systemd-journal
565c6a39
JK
912%groupadd -g 316 systemd-network
913%useradd -u 316 -g 316 -d /var/log/journal -s /bin/false -c "Systemd Network Management" systemd-network
914%groupadd -g 317 systemd-resolve
915%useradd -u 317 -g 317 -d /var/log/journal -s /bin/false -c "Systemd Resolver" systemd-resolve
916%groupadd -g 318 systemd-timesync
917%useradd -u 318 -g 318 -d /var/log/journal -s /bin/false -c "Systemd Time Synchronization" systemd-timesync
918%groupadd -g 319 systemd-journal-remote
919%useradd -u 319 -g 319 -d /var/log/journal -s /bin/false -c "Systemd Journal Remote" systemd-journal-remote
920%groupadd -g 320 systemd-journal-upload
921%useradd -u 320 -g 320 -d /var/log/journal -s /bin/false -c "Systemd Journal Upload" systemd-journal-upload
c75f826c 922%groupadd -g 333 systemd-coredump
250043f7 923%useradd -u 333 -g 333 -d /var/log/journal -s /bin/false -c "Systemd Core Dumper" systemd-coredump
e0f956b2 924
9638c72f 925%post
ba7dc07d 926/bin/systemd-machine-id-setup || :
61652e98 927/lib/systemd/systemd-random-seed save || :
ba7dc07d
JR
928/bin/systemctl --system daemon-reexec || :
929/bin/journalctl --update-catalog || :
9792a84d 930/bin/systemd-sysusers || :
c3037397 931
961baf80 932%postun
85879912 933if [ $1 -ge 1 ]; then
ba7dc07d
JR
934 /bin/systemctl --system daemon-reload || :
935 /bin/systemctl try-restart systemd-logind.service || :
9638c72f 936fi
e0f956b2 937if [ "$1" = "0" ]; then
250043f7
JB
938 %userremove systemd-coredump
939 %groupremove systemd-coredump
940 %userremove systemd-network
941 %groupremove systemd-network
942 %userremove systemd-resolve
943 %groupremove systemd-resolve
944 %userremove systemd-timesync
945 %groupremove systemd-timesync
946 %userremove systemd-journal-remote
947 %groupremove systemd-journal-remote
948 %userremove systemd-journal-upload
949 %groupremove systemd-journal-upload
e0f956b2
JR
950 %groupremove systemd-journal
951fi
9638c72f 952
fd907fd5 953%triggerpostun -- systemd < 1:208-1
3d025d25
JR
954chgrp -R systemd-journal /var/log/journal
955chmod g+s /var/log/journal
956
fd907fd5 957%triggerpostun -- systemd < 1:220-1
4505f4b8
JR
958# https://bugs.freedesktop.org/show_bug.cgi?id=89202
959/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) || :
960
6db30c1e
JR
961%triggerpostun -- systemd-consoled < 1:232-1
962if [ -f %{_sysconfdir}/vconsole.conf.rpmsave ]; then
963 %{__mv} -f %{_sysconfdir}/vconsole.conf %{_sysconfdir}/vconsole.conf.rpmnew
964 %{__mv} -f %{_sysconfdir}/vconsole.conf.rpmsave %{_sysconfdir}/vconsole.conf
965fi
966
250043f7
JB
967%post libs -p /sbin/ldconfig
968%postun libs -p /sbin/ldconfig
011bccb6 969
961baf80 970%post units
85879912 971if [ $1 -eq 1 ]; then
961baf80 972 # Try to read default runlevel from the old inittab if it exists
ba7dc07d 973 runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2>/dev/null)
961baf80 974 if [ -z "$runlevel" ] ; then
4cc1cb1d 975 target="%{systemdunitdir}/graphical.target"
961baf80 976 else
4cc1cb1d 977 target="%{systemdunitdir}/runlevel$runlevel.target"
961baf80
AF
978 fi
979
980 # And symlink what we found to the new-style default.target
ba7dc07d 981 ln -s "$target" %{_sysconfdir}/systemd/system/default.target || :
cf819365 982
c457212c 983 # Setup hostname if not yet done so
007ebc13 984 if [ ! -s /etc/hostname ]; then
c457212c
ER
985 HOSTNAME=
986 [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
987 if [ -n "$HOSTNAME" -a "$HOSTNAME" != "pldmachine" ]; then
988 echo $HOSTNAME > /etc/hostname
989 chmod 644 /etc/hostname
990 fi
cf819365 991 fi
44410185
JR
992
993 # Enable the services we install by default.
994 /bin/systemctl enable \
44410185
JR
995 network.service \
996 remote-fs.target \
ba7dc07d 997 systemd-udev-settle.service || :
9638c72f 998fi
c3037397
ER
999
1000%preun units
961baf80
AF
1001if [ $1 -eq 0 ] ; then
1002 /bin/systemctl disable \
f1586299 1003 network.service \
961baf80 1004 remote-fs.target \
ba7dc07d 1005 systemd-udev-settle.service || :
961baf80 1006
ba7dc07d 1007 %{__rm} -f %{_sysconfdir}/systemd/system/default.target || :
c3037397 1008fi
9638c72f 1009
961baf80 1010%postun units
85879912 1011if [ $1 -ge 1 ]; then
ba7dc07d 1012 /bin/systemctl daemon-reload || :
9638c72f 1013fi
1014
2386bcb6 1015%triggerpostun units -- systemd-units < 43-7
44410185 1016# Remove design fialures
ba7dc07d
JR
1017%{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service || :
1018%{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service || :
1019%{__rm} -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service || :
1020/bin/systemctl reenable network.service || :
44410185 1021
cde7998d 1022%triggerpostun units -- systemd-units < 1:183
ba7dc07d
JR
1023/bin/systemctl --quiet enable systemd-udev-settle.service || :
1024%{__rm} -f /etc/systemd/system/basic.target.wants/udev-settle.service || :
6f109eab
JR
1025# preserve renamed configs
1026if [ -f /etc/systemd/systemd-journald.conf.rpmsave ]; then
1027 %{__mv} /etc/systemd/journald.conf{,.rpmnew}
1028 %{__mv} -f /etc/systemd/systemd-journald.conf.rpmsave /etc/systemd/journald.conf
1029fi
1030if [ -f /etc/systemd/systemd-logind.conf.rpmsave ]; then
1031 %{__mv} /etc/systemd/logind.conf{,.rpmnew}
1032 %{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf
1033fi
cbba36f4 1034
a98a12d9
JR
1035%triggerpostun units -- systemd-units < 1:187-3
1036if [ -f /etc/sysconfig/rpm ]; then
1037 . /etc/sysconfig/rpm
1038 if [ ${RPM_ENABLE_SYSTEMD_SERVICE:-yes} = no ]; then
1039 echo "disable *" >>%{_sysconfdir}/systemd/system-preset/default.preset
1040 fi
1041fi
1042
b45719fb
JK
1043%triggerpostun units -- systemd-units < 1:208-9
1044# remove buggy symlink
1045if [ -L /etc/systemd/system/getty.target.wants/getty@.service ] ; then
1046 rm -f /etc/systemd/system/getty.target.wants/getty@.service || :
1047fi
1048
aab2a6f9
JP
1049%triggerpostun units -- systemd-units < 1:242
1050if [ -L /var/lib/systemd/timesync ] ; then
1051 rm -f /var/lib/systemd/timesync || :
1052fi
1053
bb6fb962
JR
1054%post inetd
1055%systemd_reload
f96cfa86
JR
1056# Do not change it to restart, we only want to start new services here
1057%systemd_service_start sockets.target
bb6fb962
JR
1058
1059%postun inetd
1060%systemd_reload
1061
48066926
ER
1062%pre journal-gateway
1063%groupadd -g 287 systemd-journal-gateway
1064%useradd -u 287 -g 287 -d /var/log/journal -s /bin/false -c "Systemd Journal Gateway" systemd-journal-gateway
1065
1066%post journal-gateway
1067%systemd_post systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
1068
1069%preun journal-gateway
1070%systemd_preun systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
1071
1072%postun journal-gateway
1073%systemd_reload
1074
1075if [ "$1" = "0" ]; then
1076 %userremove systemd-journal-gateway
1077 %groupremove systemd-journal-gateway
1078fi
1079
909f05f5 1080%post networkd
2f2b39e6 1081%systemd_post systemd-networkd.socket systemd-networkd.service
909f05f5
JK
1082
1083%preun networkd
2f2b39e6 1084%systemd_preun systemd-networkd.socket systemd-networkd.service
909f05f5
JK
1085
1086%postun networkd
1087%systemd_reload
1088
1089%post resolved
1090%systemd_post systemd-resolved.service
1091
1092%preun resolved
1093%systemd_preun systemd-resolved.service
1094
1095%postun resolved
1096%systemd_reload
1097
30121190
JR
1098%triggerpostun -n udev-core -- dev
1099if [ "$2" = 0 ]; then
1100 # need to kill and restart udevd as after obsoleting dev package the
1101 # /dev tree will remain empty. umask is needed as otherwise udev will
1102 # create devices with strange permissions (udev bug probably)
1103 umask 000
1104 /sbin/start_udev || exit 0
1105fi
1106
1107%triggerpostun -n udev-core -- udev < 108
1108%{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules
1109%if "%{_lib}" != "lib"
1110%{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules
1111%endif
1112
1113%triggerpostun -n udev-core -- udev < 165
881358e5 1114/bin/udevadm info --convert-db
30121190 1115
30121190 1116%post -n udev-core
881358e5 1117/bin/udevadm hwdb --update || :
30121190
JR
1118if [ $1 -gt 1 ]; then
1119 if [ ! -x /bin/systemd_booted ] || ! /bin/systemd_booted; then
1120 if grep -qs devtmpfs /proc/mounts && [ -n "$(pidof udevd)" ]; then
881358e5 1121 /bin/udevadm control --exit
ac4b515a 1122 /lib/udev/udevd --daemon
30121190
JR
1123 fi
1124 else
1125 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
2bf49637 1126 /bin/systemctl --quiet try-restart systemd-udevd.service || :
30121190
JR
1127 fi
1128fi
30121190
JR
1129
1130%postun -n udev-core
cbba36f4
JR
1131if [ -x /bin/systemd_booted ] && /bin/systemd_booted; then
1132 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
1133 /bin/systemctl --quiet daemon-reload || :
1134fi
30121190
JR
1135
1136%post -n udev-libs -p /sbin/ldconfig
1137%postun -n udev-libs -p /sbin/ldconfig
1138
995ed764 1139%files -f %{name}.lang
ede8d3e5 1140%defattr(644,root,root,755)
0c0b940f 1141%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
8e27187e
AM
1142%{_datadir}/dbus-1/system.d/org.freedesktop.hostname1.conf
1143%{_datadir}/dbus-1/system.d/org.freedesktop.import1.conf
1144%{_datadir}/dbus-1/system.d/org.freedesktop.locale1.conf
1145%{_datadir}/dbus-1/system.d/org.freedesktop.login1.conf
1146%{_datadir}/dbus-1/system.d/org.freedesktop.machine1.conf
1147%{_datadir}/dbus-1/system.d/org.freedesktop.systemd1.conf
1148%{_datadir}/dbus-1/system.d/org.freedesktop.timedate1.conf
7dfd6655 1149%{_datadir}/dbus-1/system.d/org.freedesktop.timesync1.conf
b5bcdcf6 1150%attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh
e8e38afd 1151%attr(444,root,root) %ghost %config(noreplace) %{_sysconfdir}/machine-id
b77423ae
AF
1152%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname
1153%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf
1154%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info
b77423ae 1155%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf
c06d9f8f
JB
1156%dir %{_sysconfdir}/kernel
1157%dir %{_sysconfdir}/kernel/install.d
995ed764 1158%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/coredump.conf
f5bd7642 1159%if %{with microhttpd}
ed4d2b1f
AM
1160%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journal-remote.conf
1161%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journal-upload.conf
f5bd7642 1162%endif
c75fd19d
JR
1163%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journald.conf
1164%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/logind.conf
1bbe8306 1165%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/pstore.conf
a919bc1d 1166%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/sleep.conf
c75fd19d 1167%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system.conf
995ed764 1168%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/timesyncd.conf
c75fd19d 1169%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/user.conf
2a61be78 1170%dir %{_sysconfdir}/systemd/user
d482e20e 1171
0a794686 1172%config(noreplace) %verify(not md5 mtime size) /usr/lib/pam.d/systemd-user
abd479ee 1173/etc/xdg/systemd
c75fd19d
JR
1174%attr(755,root,root) /bin/journalctl
1175%attr(755,root,root) /bin/loginctl
1aed57ba 1176%attr(755,root,root) /bin/machinectl
1dcb74bb 1177%attr(755,root,root) /bin/systemd
1178%attr(755,root,root) /bin/systemd-ask-password
ed4d2b1f
AM
1179%attr(755,root,root) /bin/systemd-escape
1180%attr(755,root,root) /bin/systemd-firstboot
c75fd19d 1181%attr(755,root,root) /bin/systemd-inhibit
7a76bc86 1182%attr(755,root,root) /bin/systemd-machine-id-setup
1dcb74bb 1183%attr(755,root,root) /bin/systemd-notify
995ed764 1184%attr(755,root,root) /bin/systemd-sysusers
1dcb74bb 1185%attr(755,root,root) /bin/systemd-tty-ask-password-agent
0c0b940f 1186%attr(755,root,root) /bin/userdbctl
1ee0ca3d 1187%{?with_efi:%attr(755,root,root) %{_bindir}/bootctl}
995ed764
TR
1188%attr(755,root,root) %{_bindir}/busctl
1189%attr(755,root,root) %{_bindir}/coredumpctl
618c1d39 1190%attr(755,root,root) %{_bindir}/hostnamectl
be33f3c6 1191%attr(755,root,root) %{_bindir}/kernel-install
618c1d39 1192%attr(755,root,root) %{_bindir}/localectl
d374e721 1193%attr(755,root,root) %{_bindir}/systemd-cat
c75fd19d
JR
1194%attr(755,root,root) %{_bindir}/systemd-delta
1195%attr(755,root,root) %{_bindir}/systemd-detect-virt
0a794686 1196%attr(755,root,root) %{_bindir}/systemd-dissect
a919bc1d 1197%attr(755,root,root) %{_bindir}/systemd-id128
c75f826c 1198%attr(755,root,root) %{_bindir}/systemd-mount
57cd0d13 1199%attr(755,root,root) %{_bindir}/systemd-nspawn
995ed764 1200%attr(755,root,root) %{_bindir}/systemd-path
c75f826c 1201%attr(755,root,root) %{_bindir}/systemd-resolve
1aed57ba 1202%attr(755,root,root) %{_bindir}/systemd-run
c75f826c 1203%attr(755,root,root) %{_bindir}/systemd-socket-activate
57cd0d13 1204%attr(755,root,root) %{_bindir}/systemd-stdio-bridge
2a61be78 1205%attr(755,root,root) %{_bindir}/systemd-sysv-convert
9a2089f1 1206%attr(755,root,root) %{_bindir}/systemd-umount
f8d07093 1207%attr(755,root,root) %{_bindir}/timedatectl
c06d9f8f 1208/lib/modprobe.d/systemd.conf
2f2b39e6 1209/lib/systemd/import-pubring.gpg
14c009d9 1210/lib/systemd/resolv.conf
8a78a3e8 1211%attr(755,root,root) /lib/systemd/pld-clean-tmp
c75fd19d 1212%attr(755,root,root) /lib/systemd/systemd-ac-power
77d7e0b4 1213%attr(755,root,root) /lib/systemd/systemd-backlight
c75fd19d 1214%attr(755,root,root) /lib/systemd/systemd-binfmt
ff6d6f8f 1215%{?with_efi:%attr(755,root,root) /lib/systemd/systemd-bless-boot}
a919bc1d 1216%attr(755,root,root) /lib/systemd/systemd-boot-check-no-failures
c75fd19d
JR
1217%attr(755,root,root) /lib/systemd/systemd-cgroups-agent
1218%attr(755,root,root) /lib/systemd/systemd-coredump
657515ed 1219%{?with_cryptsetup:%attr(755,root,root) /lib/systemd/systemd-cryptsetup}
7edc5189 1220%attr(755,root,root) /lib/systemd/systemd-export
c75fd19d 1221%attr(755,root,root) /lib/systemd/systemd-fsck
c06d9f8f 1222%attr(755,root,root) /lib/systemd/systemd-growfs
ed4d2b1f 1223%attr(755,root,root) /lib/systemd/systemd-hibernate-resume
c75fd19d 1224%attr(755,root,root) /lib/systemd/systemd-hostnamed
7edc5189 1225%attr(755,root,root) /lib/systemd/systemd-import
a919bc1d 1226%attr(755,root,root) /lib/systemd/systemd-import-fs
2f2b39e6 1227%attr(755,root,root) /lib/systemd/systemd-importd
c75fd19d
JR
1228%attr(755,root,root) /lib/systemd/systemd-initctl
1229%attr(755,root,root) /lib/systemd/systemd-journald
f5bd7642 1230%if %{with microhttpd}
995ed764 1231%attr(755,root,root) /lib/systemd/systemd-journal-remote
ed4d2b1f 1232%attr(755,root,root) /lib/systemd/systemd-journal-upload
f5bd7642 1233%endif
c75fd19d
JR
1234%attr(755,root,root) /lib/systemd/systemd-localed
1235%attr(755,root,root) /lib/systemd/systemd-logind
1aed57ba 1236%attr(755,root,root) /lib/systemd/systemd-machined
c06d9f8f 1237%attr(755,root,root) /lib/systemd/systemd-makefs
c75fd19d 1238%attr(755,root,root) /lib/systemd/systemd-modules-load
1bbe8306 1239%attr(755,root,root) /lib/systemd/systemd-pstore
2f2b39e6 1240%attr(755,root,root) /lib/systemd/systemd-pull
c75fd19d
JR
1241%attr(755,root,root) /lib/systemd/systemd-quotacheck
1242%attr(755,root,root) /lib/systemd/systemd-random-seed
c75fd19d
JR
1243%attr(755,root,root) /lib/systemd/systemd-remount-fs
1244%attr(755,root,root) /lib/systemd/systemd-reply-password
995ed764 1245%attr(755,root,root) /lib/systemd/systemd-rfkill
c75fd19d 1246%attr(755,root,root) /lib/systemd/systemd-shutdown
c75fd19d 1247%attr(755,root,root) /lib/systemd/systemd-sleep
995ed764 1248%attr(755,root,root) /lib/systemd/systemd-socket-proxyd
9a2089f1 1249%attr(755,root,root) /lib/systemd/systemd-sulogin-shell
c75fd19d 1250%attr(755,root,root) /lib/systemd/systemd-sysctl
7dfd6655 1251%attr(755,root,root) /lib/systemd/systemd-time-wait-sync
c75fd19d 1252%attr(755,root,root) /lib/systemd/systemd-timedated
995ed764 1253%attr(755,root,root) /lib/systemd/systemd-timesyncd
cbba36f4 1254%attr(755,root,root) /lib/systemd/systemd-udevd
c75fd19d 1255%attr(755,root,root) /lib/systemd/systemd-update-utmp
995ed764 1256%attr(755,root,root) /lib/systemd/systemd-update-done
7dfd6655 1257%attr(755,root,root) /lib/systemd/systemd-user-runtime-dir
c75fd19d 1258%attr(755,root,root) /lib/systemd/systemd-user-sessions
0c0b940f
JP
1259%attr(755,root,root) /lib/systemd/systemd-userdbd
1260%attr(755,root,root) /lib/systemd/systemd-userwork
c75fd19d 1261%attr(755,root,root) /lib/systemd/systemd-vconsole-setup
9a2089f1
AM
1262%attr(755,root,root) /lib/systemd/systemd-veritysetup
1263%attr(755,root,root) /lib/systemd/systemd-volatile-root
0a12352a 1264%attr(755,root,root) /lib/systemd/systemd-xdg-autostart-condition
4389e6f9 1265%attr(755,root,root) /lib/systemd/systemd
2f2b39e6 1266%{?with_cryptsetup:%attr(755,root,root) /lib/systemd/system-generators/systemd-cryptsetup-generator}
ff6d6f8f 1267%{?with_efi:%attr(755,root,root) /lib/systemd/system-generators/systemd-bless-boot-generator}
2f2b39e6 1268%attr(755,root,root) /lib/systemd/system-generators/systemd-debug-generator
2f2b39e6
JR
1269%attr(755,root,root) /lib/systemd/system-generators/systemd-fstab-generator
1270%attr(755,root,root) /lib/systemd/system-generators/systemd-getty-generator
1271%attr(755,root,root) /lib/systemd/system-generators/systemd-gpt-auto-generator
1272%attr(755,root,root) /lib/systemd/system-generators/systemd-hibernate-resume-generator
a919bc1d 1273%attr(755,root,root) /lib/systemd/system-generators/systemd-run-generator
2f2b39e6
JR
1274%attr(755,root,root) /lib/systemd/system-generators/systemd-system-update-generator
1275%attr(755,root,root) /lib/systemd/system-generators/systemd-sysv-generator
8e27187e 1276%attr(755,root,root) /lib/systemd/system-generators/systemd-veritysetup-generator
083c9991
MM
1277%dir /lib/systemd/network
1278/lib/systemd/network/99-default.link
9a2089f1
AM
1279/lib/udev/rules.d/60-input-id.rules
1280/lib/udev/rules.d/60-sensor.rules
1281/lib/udev/rules.d/70-joystick.rules
961baf80
AF
1282/lib/udev/rules.d/70-uaccess.rules
1283/lib/udev/rules.d/71-seat.rules
1284/lib/udev/rules.d/73-seat-late.rules
f8d07093 1285/lib/udev/rules.d/99-systemd.rules
c06d9f8f
JB
1286%{_prefix}/lib/environment.d/99-environment.conf
1287%dir %{_prefix}/lib/kernel
1288%dir %{_prefix}/lib/kernel/install.d
d482e20e 1289%{_prefix}/lib/kernel/install.d/00-entry-directory.install
c06d9f8f
JB
1290%{_prefix}/lib/kernel/install.d/50-depmod.install
1291%{_prefix}/lib/kernel/install.d/90-loaderentry.install
14caeae7 1292%if %{with efi}
c06d9f8f
JB
1293%dir %{_prefix}/lib/systemd/boot
1294%dir %{_prefix}/lib/systemd/boot/efi
14caeae7 1295%ifarch %{ix86}
c06d9f8f
JB
1296%{_prefix}/lib/systemd/boot/efi/linuxia32.efi.stub
1297%{_prefix}/lib/systemd/boot/efi/systemd-bootia32.efi
14caeae7
JB
1298%endif
1299%ifarch %{x8664} x32
c06d9f8f
JB
1300%{_prefix}/lib/systemd/boot/efi/linuxx64.efi.stub
1301%{_prefix}/lib/systemd/boot/efi/systemd-bootx64.efi
14caeae7
JB
1302%endif
1303%ifarch aarch64
c06d9f8f
JB
1304%{_prefix}/lib/systemd/boot/efi/linuxaa64.efi.stub
1305%{_prefix}/lib/systemd/boot/efi/systemd-bootaa64.efi
14caeae7
JB
1306%endif
1307%endif
c06d9f8f
JB
1308%{_prefix}/lib/systemd/catalog/systemd.catalog
1309%lang(be) %{_prefix}/lib/systemd/catalog/systemd.be.catalog
1310%lang(be) %{_prefix}/lib/systemd/catalog/systemd.be@latin.catalog
1311%lang(bg) %{_prefix}/lib/systemd/catalog/systemd.bg.catalog
1312%lang(de) %{_prefix}/lib/systemd/catalog/systemd.de.catalog
1313%lang(fr) %{_prefix}/lib/systemd/catalog/systemd.fr.catalog
1314%lang(it) %{_prefix}/lib/systemd/catalog/systemd.it.catalog
1315%lang(pl) %{_prefix}/lib/systemd/catalog/systemd.pl.catalog
1316%lang(pt_BR) %{_prefix}/lib/systemd/catalog/systemd.pt_BR.catalog
1317%lang(ru) %{_prefix}/lib/systemd/catalog/systemd.ru.catalog
1318%lang(zh_CN) %{_prefix}/lib/systemd/catalog/systemd.zh_CN.catalog
1319%lang(zh_TW) %{_prefix}/lib/systemd/catalog/systemd.zh_TW.catalog
1320%dir %{_prefix}/lib/sysusers.d
1321%{_prefix}/lib/sysusers.d/basic.conf
1322%{_prefix}/lib/sysusers.d/systemd.conf
f5bd7642 1323%if %{with microhttpd}
c06d9f8f 1324%{_prefix}/lib/sysusers.d/systemd-remote.conf
f5bd7642 1325%endif
c06d9f8f
JB
1326%{_prefix}/lib/tmpfiles.d/etc.conf
1327%{_prefix}/lib/tmpfiles.d/home.conf
1328%{_prefix}/lib/tmpfiles.d/journal-nocow.conf
1329%{_prefix}/lib/tmpfiles.d/legacy.conf
1bbe8306 1330%{_prefix}/lib/tmpfiles.d/static-nodes-permissions.conf
c06d9f8f
JB
1331%{_prefix}/lib/tmpfiles.d/systemd.conf
1332%{_prefix}/lib/tmpfiles.d/systemd-nologin.conf
1333%{_prefix}/lib/tmpfiles.d/systemd-nspawn.conf
0a12352a 1334%{_prefix}/lib/tmpfiles.d/systemd-pstore.conf
1bbe8306 1335%{_prefix}/lib/tmpfiles.d/systemd-tmp.conf
c06d9f8f
JB
1336%{_prefix}/lib/tmpfiles.d/tmp.conf
1337%{_prefix}/lib/tmpfiles.d/var.conf
1338%{_prefix}/lib/tmpfiles.d/x11.conf
1339%{_prefix}/lib/sysctl.d/50-coredump.conf
5232d919 1340# if cc.sizeof('long') > 4
771be88c 1341%ifarch %{x8664} aarch64
1bbe8306 1342%{_prefix}/lib/sysctl.d/50-pid-max.conf
5232d919 1343%endif
51dfcf04 1344%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
6e34428f 1345%{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
2f2b39e6 1346%{_datadir}/dbus-1/system-services/org.freedesktop.import1.service
961baf80
AF
1347%{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
1348%{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
1aed57ba 1349%{_datadir}/dbus-1/system-services/org.freedesktop.machine1.service
51dfcf04 1350%{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
961baf80 1351%{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
7dfd6655 1352%{_datadir}/dbus-1/system-services/org.freedesktop.timesync1.service
6e34428f 1353%{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
2f2b39e6 1354%{_datadir}/polkit-1/actions/org.freedesktop.import1.policy
961baf80
AF
1355%{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
1356%{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
2f2b39e6 1357%{_datadir}/polkit-1/actions/org.freedesktop.machine1.policy
961baf80
AF
1358%{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
1359%{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
9a2089f1 1360%{_datadir}/polkit-1/rules.d/systemd-networkd.rules
961baf80 1361%dir %{_datadir}/systemd
f8d07093 1362%{?with_microhttpd:%{_datadir}/systemd/gatewayd}
961baf80 1363%{_datadir}/systemd/kbd-model-map
2f2b39e6 1364%{_datadir}/systemd/language-fallback-map
1bbe8306 1365%{_datadir}/factory/etc/issue
d1ac392b
JK
1366%{_datadir}/factory/etc/nsswitch.conf
1367%{_datadir}/factory/etc/pam.d/other
1368%{_datadir}/factory/etc/pam.d/system-auth
1ee0ca3d 1369%{?with_efi:%{_mandir}/man1/bootctl.1*}
995ed764
TR
1370%{_mandir}/man1/busctl.1*
1371%{_mandir}/man1/coredumpctl.1*
618c1d39 1372%{_mandir}/man1/hostnamectl.1*
c75fd19d 1373%{_mandir}/man1/journalctl.1*
f8d07093 1374%{_mandir}/man1/localectl.1*
c75fd19d 1375%{_mandir}/man1/loginctl.1*
11fa1d33 1376%{_mandir}/man1/machinectl.1*
7a76bc86 1377%{_mandir}/man1/systemd.1*
c75fd19d
JR
1378%{_mandir}/man1/systemd-ask-password.1*
1379%{_mandir}/man1/systemd-cat.1*
c75fd19d
JR
1380%{_mandir}/man1/systemd-delta.1*
1381%{_mandir}/man1/systemd-detect-virt.1*
0a794686 1382%{_mandir}/man1/systemd-dissect.1*
ed4d2b1f
AM
1383%{_mandir}/man1/systemd-escape.1*
1384%{_mandir}/man1/systemd-firstboot.1*
1385%{_mandir}/man1/systemd-firstboot.service.1*
a919bc1d 1386%{_mandir}/man1/systemd-id128.1*
c75fd19d
JR
1387%{_mandir}/man1/systemd-inhibit.1*
1388%{_mandir}/man1/systemd-machine-id-setup.1*
c75f826c 1389%{_mandir}/man1/systemd-mount.1*
c75fd19d
JR
1390%{_mandir}/man1/systemd-notify.1*
1391%{_mandir}/man1/systemd-nspawn.1*
995ed764 1392%{_mandir}/man1/systemd-path.1*
11fa1d33 1393%{_mandir}/man1/systemd-run.1*
c75f826c 1394%{_mandir}/man1/systemd-socket-activate.1*
4400c575 1395%{_mandir}/man1/systemd-tty-ask-password-agent.1*
9a2089f1 1396%{_mandir}/man1/systemd-umount.1*
f8d07093 1397%{_mandir}/man1/timedatectl.1*
0c0b940f 1398%{_mandir}/man1/userdbctl.1*
6e34428f 1399%{_mandir}/man5/binfmt.d.5*
995ed764 1400%{_mandir}/man5/coredump.conf.5*
7dffbad7 1401%{_mandir}/man5/coredump.conf.d.5*
14c009d9 1402%{_mandir}/man5/dnssec-trust-anchors.d.5*
1c239f8b 1403%{_mandir}/man5/hostname.5*
51dfcf04 1404%{_mandir}/man5/journald@.conf.5*
0673db7a 1405%{?with_efi:%{_mandir}/man5/loader.conf.5*}
7edc5189
JR
1406%if %{with microhttpd}
1407%{_mandir}/man5/journal-remote.conf.5*
1408%{_mandir}/man5/journal-remote.conf.d.5*
c75f826c
AM
1409%{_mandir}/man5/journal-upload.conf.5.*
1410%{_mandir}/man5/journal-upload.conf.d.5*
7edc5189 1411%endif
c75fd19d 1412%{_mandir}/man5/journald.conf.5*
7dffbad7 1413%{_mandir}/man5/journald.conf.d.5*
1c239f8b 1414%{_mandir}/man5/locale.conf.5*
618c1d39 1415%{_mandir}/man5/localtime.5*
c75fd19d 1416%{_mandir}/man5/logind.conf.5*
7dffbad7 1417%{_mandir}/man5/logind.conf.d.5*
7a76bc86 1418%{_mandir}/man5/machine-id.5*
6e34428f 1419%{_mandir}/man5/machine-info.5*
1c239f8b 1420%{_mandir}/man5/modules-load.d.5*
0a12352a
JP
1421%{_mandir}/man5/org.freedesktop.LogControl1.5*
1422%{_mandir}/man5/org.freedesktop.hostname1.5*
1423%{_mandir}/man5/org.freedesktop.import1.5*
1424%{_mandir}/man5/org.freedesktop.locale1.5*
1425%{_mandir}/man5/org.freedesktop.login1.5*
1426%{_mandir}/man5/org.freedesktop.machine1.5*
1427%{_mandir}/man5/org.freedesktop.systemd1.5*
1428%{_mandir}/man5/org.freedesktop.timedate1.5*
1c239f8b 1429%{_mandir}/man5/os-release.5*
1bbe8306
JP
1430%{_mandir}/man5/pstore.conf.5*
1431%{_mandir}/man5/pstore.conf.d.5*
7dffbad7 1432%{_mandir}/man5/sleep.conf.d.5*
6e34428f 1433%{_mandir}/man5/sysctl.d.5*
7dffbad7 1434%{_mandir}/man5/system.conf.d.5*
89d58574 1435%{_mandir}/man5/systemd.*.5*
890c04f0 1436%{_mandir}/man5/systemd-sleep.conf.5*
be33f3c6
JR
1437%{_mandir}/man5/systemd-system.conf.5*
1438%{_mandir}/man5/systemd-user.conf.5*
0a12352a 1439%{_mandir}/man5/systemd-user-runtime-dir.5*
995ed764 1440%{_mandir}/man5/sysusers.d.5*
ed4d2b1f 1441%{_mandir}/man5/timesyncd.conf.5*
7dffbad7
JK
1442%{_mandir}/man5/timesyncd.conf.d.5*
1443%{_mandir}/man5/user.conf.d.5*
23107006 1444%{_mandir}/man5/vconsole.conf.5*
4400c575 1445%{_mandir}/man7/bootup.7*
1c239f8b 1446%{_mandir}/man7/daemon.7*
995ed764 1447%{_mandir}/man7/file-hierarchy.7*
4400c575 1448%{_mandir}/man7/kernel-command-line.7*
0673db7a
AG
1449%{?with_efi:%{_mandir}/man7/sd-boot.7*}
1450%{?with_efi:%{_mandir}/man7/systemd-boot.7*}
be33f3c6 1451%{_mandir}/man7/systemd.directives.7*
9a2089f1 1452%{_mandir}/man7/systemd.environment-generator.7*
2f2b39e6 1453%{_mandir}/man7/systemd.generator.7*
be33f3c6 1454%{_mandir}/man7/systemd.index.7*
c75fd19d 1455%{_mandir}/man7/systemd.journal-fields.7*
14c009d9 1456%{_mandir}/man7/systemd.offline-updates.7*
4400c575 1457%{_mandir}/man7/systemd.special.7*
7dfd6655 1458%{_mandir}/man7/systemd.syntax.7*
2be4d5dc 1459%{_mandir}/man7/systemd.time.7*
be33f3c6 1460%{_mandir}/man8/kernel-install.8*
de1f2a1e
JB
1461%{_mandir}/man8/libnss_myhostname.so.2.8*
1462%{_mandir}/man8/libnss_mymachines.so.2.8*
2be4d5dc 1463%{_mandir}/man8/nss-myhostname.8*
2f2b39e6 1464%{_mandir}/man8/nss-mymachines.8*
77d7e0b4 1465%{_mandir}/man8/systemd-backlight.8*
4f1f9baf 1466%{_mandir}/man8/systemd-binfmt.8*
51dfcf04
JP
1467%if %{with efi}
1468%{_mandir}/man8/systemd-bless-boot.8*
1469%{_mandir}/man8/systemd-bless-boot-generator.8*
1470%endif
1471%{_mandir}/man8/systemd-boot-check-no-failures.8*
ed4d2b1f 1472%{_mandir}/man8/systemd-coredump.8*
657515ed 1473%{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup-generator.8*}
2f2b39e6 1474%{_mandir}/man8/systemd-debug-generator.8*
f8d07093 1475%{_mandir}/man8/systemd-fsck.8*
4400c575
JR
1476%{_mandir}/man8/systemd-fstab-generator.8*
1477%{_mandir}/man8/systemd-getty-generator.8*
c06d9f8f
JB
1478%{_mandir}/man8/systemd-gpt-auto-generator.8*
1479%{_mandir}/man8/systemd-growfs.8*
1480%{_mandir}/man8/systemd-growfs@.service.8*
ed4d2b1f
AM
1481%{_mandir}/man8/systemd-hibernate-resume-generator.8*
1482%{_mandir}/man8/systemd-hibernate-resume.8*
1483%{_mandir}/man8/systemd-hibernate-resume@.service.8*
4400c575 1484%{_mandir}/man8/systemd-hostnamed.8*
c75f826c 1485%{_mandir}/man8/systemd-importd.8*
4400c575 1486%{_mandir}/man8/systemd-initctl.8*
de1f2a1e 1487%{_mandir}/man8/systemd-journald-dev-log.socket.8*
51dfcf04 1488%{_mandir}/man8/systemd-journald-varlink@.socket.8*
4f1f9baf 1489%{_mandir}/man8/systemd-journald.8*
51dfcf04
JP
1490%{_mandir}/man8/systemd-journald@.service.8*
1491%{_mandir}/man8/systemd-journald@.socket.8*
f5bd7642 1492%if %{with microhttpd}
9538a6a4
JR
1493%{_mandir}/man8/systemd-journal-remote.8*
1494%{_mandir}/man8/systemd-journal-upload.8*
f5bd7642 1495%endif
4400c575 1496%{_mandir}/man8/systemd-localed.8*
4f1f9baf 1497%{_mandir}/man8/systemd-logind.8*
11fa1d33 1498%{_mandir}/man8/systemd-machined.8*
7dffbad7 1499%{_mandir}/man8/systemd-machine-id-commit.service.8*
c06d9f8f
JB
1500%{_mandir}/man8/systemd-makefs.8*
1501%{_mandir}/man8/systemd-makefs@.service.8*
e65d38fd 1502%{_mandir}/man8/systemd-mkswap@.service.8*
4f1f9baf 1503%{_mandir}/man8/systemd-modules-load.8*
1bbe8306
JP
1504%{_mandir}/man8/systemd-pstore.8*
1505%{_mandir}/man8/systemd-pstore.service.8*
4400c575
JR
1506%{_mandir}/man8/systemd-quotacheck.8*
1507%{_mandir}/man8/systemd-random-seed.8*
4400c575 1508%{_mandir}/man8/systemd-remount-fs.8*
de1f2a1e 1509%{_mandir}/man8/systemd-rfkill.8*
c75f826c 1510%{_mandir}/man8/systemd-rfkill.service.8*
a919bc1d 1511%{_mandir}/man8/systemd-run-generator.8*
4400c575 1512%{_mandir}/man8/systemd-shutdown.8*
4400c575 1513%{_mandir}/man8/systemd-sleep.8*
2f2b39e6 1514%{_mandir}/man8/systemd-socket-proxyd.8*
4f1f9baf 1515%{_mandir}/man8/systemd-sysctl.8*
4400c575 1516%{_mandir}/man8/systemd-system-update-generator.8*
2f2b39e6 1517%{_mandir}/man8/systemd-sysusers.8*
de1f2a1e 1518%{_mandir}/man8/systemd-sysusers.service.8*
9a2089f1 1519%{_mandir}/man8/systemd-sysv-generator.8*
7dfd6655 1520%{_mandir}/man8/systemd-time-wait-sync.8*
4400c575 1521%{_mandir}/man8/systemd-timedated.8*
de1f2a1e 1522%{_mandir}/man8/systemd-timesyncd.8*
2f2b39e6 1523%{_mandir}/man8/systemd-timesyncd.service.8*
cbba36f4 1524%{_mandir}/man8/systemd-udevd.8*
de1f2a1e 1525%{_mandir}/man8/systemd-update-done.8*
2f2b39e6 1526%{_mandir}/man8/systemd-update-done.service.8*
4400c575
JR
1527%{_mandir}/man8/systemd-update-utmp.8*
1528%{_mandir}/man8/systemd-user-sessions.8*
0c0b940f 1529%{_mandir}/man8/systemd-userdbd.8*
4400c575 1530%{_mandir}/man8/systemd-vconsole-setup.8*
9a2089f1
AM
1531%{_mandir}/man8/systemd-veritysetup.8*
1532%{_mandir}/man8/systemd-veritysetup-generator.8*
1533%{_mandir}/man8/systemd-veritysetup@.service.8*
1534%{_mandir}/man8/systemd-volatile-root.8*
1535%{_mandir}/man8/systemd-volatile-root.service.8*
0a12352a 1536%{_mandir}/man8/systemd-xdg-autostart-generator.8*
9cd5ebd6 1537%attr(700,root,root) %dir /var/lib/machines
24f95219
ER
1538%dir /var/lib/%{name}
1539%dir /var/lib/%{name}/coredump
231314d2
ER
1540%dir /var/lib/%{name}/catalog
1541%attr(640,root,root) %ghost /var/lib/%{name}/random-seed
e8e38afd 1542%attr(600,root,utmp) %ghost /var/log/btmp
a761f93e 1543%attr(664,root,utmp) %ghost /var/log/wtmp
3d025d25 1544%attr(2755,root,systemd-journal) %dir /var/log/journal
c06d9f8f 1545%attr(2755,root,systemd-journal) %dir /var/log/journal/remote
c3037397 1546
6c89bbd4 1547%if %{with pam}
a86320a6 1548%attr(755,root,root) /%{_lib}/security/pam_systemd.so
6c89bbd4
ER
1549%{_mandir}/man8/pam_systemd.8*
1550%endif
1551
c97dacdd 1552%files init
5b9bde26 1553%defattr(644,root,root,755)
c97dacdd
TP
1554%attr(755,root,root) /sbin/halt
1555%attr(755,root,root) /sbin/init
1556%attr(755,root,root) /sbin/poweroff
1557%attr(755,root,root) /sbin/reboot
1558%attr(755,root,root) /sbin/runlevel
1559%attr(755,root,root) /sbin/shutdown
1560%attr(755,root,root) /sbin/telinit
8cb53aef 1561%{_mandir}/man1/init.1*
dd480017 1562%{?with_cryptsetup:%{_mandir}/man5/crypttab.5*}
c97dacdd 1563%{_mandir}/man8/halt.8*
8cb53aef
JB
1564%{_mandir}/man8/poweroff.8*
1565%{_mandir}/man8/reboot.8*
c97dacdd
TP
1566%{_mandir}/man8/runlevel.8*
1567%{_mandir}/man8/shutdown.8*
1568%{_mandir}/man8/telinit.8*
1569
c3037397
ER
1570%files units
1571%defattr(644,root,root,755)
abd479ee
MB
1572%dir %{_sysconfdir}/binfmt.d
1573%dir %{_sysconfdir}/modules-load.d
5d32f234 1574%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf
abd479ee 1575%dir %{_sysconfdir}/sysctl.d
77d7e0b4 1576%{_sysconfdir}/sysctl.d/99-sysctl.conf
c3037397
ER
1577%dir %{_sysconfdir}/systemd
1578%dir %{_sysconfdir}/systemd/system
a98a12d9
JR
1579%dir %{_sysconfdir}/systemd/system-preset
1580%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system-preset/default.preset
c3037397 1581%dir %{_sysconfdir}/tmpfiles.d
c06d9f8f
JB
1582%dir %{_prefix}/lib/environment.d
1583%dir %{_prefix}/lib/modules-load.d
1584%dir %{_prefix}/lib/sysctl.d
1585%{_prefix}/lib/sysctl.d/50-default.conf
1586%dir %{_prefix}/lib/systemd
1587%dir %{_prefix}/lib/systemd/catalog
1588%dir %{_prefix}/lib/systemd/system-shutdown
1589%dir %{_prefix}/lib/systemd/system-sleep
1590%dir %{_prefix}/lib/systemd/user
0a794686
JP
1591%{_prefix}/lib/systemd/user/app.slice
1592%{_prefix}/lib/systemd/user/background.slice
c06d9f8f
JB
1593%{_prefix}/lib/systemd/user/basic.target
1594%{_prefix}/lib/systemd/user/bluetooth.target
1595%{_prefix}/lib/systemd/user/default.target
1596%{_prefix}/lib/systemd/user/exit.target
1597%{_prefix}/lib/systemd/user/paths.target
1598%{_prefix}/lib/systemd/user/printer.target
0a794686 1599%{_prefix}/lib/systemd/user/session.slice
c06d9f8f
JB
1600%{_prefix}/lib/systemd/user/shutdown.target
1601%{_prefix}/lib/systemd/user/smartcard.target
1602%{_prefix}/lib/systemd/user/sockets.target
1603%{_prefix}/lib/systemd/user/sound.target
1604%{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.service
1605%{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.timer
1606%{_prefix}/lib/systemd/user/systemd-tmpfiles-setup.service
1607%{_prefix}/lib/systemd/user/timers.target
1608%{_prefix}/lib/systemd/user/systemd-exit.service
0a12352a 1609%{_prefix}/lib/systemd/user/xdg-desktop-autostart.target
c06d9f8f 1610%dir %{_prefix}/lib/systemd/user-generators
0a12352a 1611%attr(755,root,root) %{_prefix}/lib/systemd/user-generators/systemd-xdg-autostart-generator
c06d9f8f
JB
1612%dir %{_prefix}/lib/systemd/user-environment-generators
1613%attr(755,root,root) %{_prefix}/lib/systemd/user-environment-generators/30-systemd-environment-d-generator
1614%dir %{_prefix}/lib/systemd/user-preset
1615%{_prefix}/lib/systemd/user-preset/90-systemd.preset
4975e634 1616%dir %{_prefix}/lib/systemd/system-environment-generators
1bbe8306
JP
1617%dir /lib/systemd/ntp-units.d
1618/lib/systemd/ntp-units.d/80-systemd-timesync.list
5bb38820 1619%dir /lib/systemd/pld-helpers.d
95ffdd1e 1620%dir /lib/systemd/system-generators
995ed764
TR
1621%dir /lib/systemd/system-preset
1622/lib/systemd/system-preset/90-systemd.preset
16f4419f 1623%dir /lib/systemd/system-sleep
828362e7 1624%dir /lib/systemd/system-shutdown
c3037397
ER
1625%attr(755,root,root) /bin/systemctl
1626%attr(755,root,root) /bin/systemd-tmpfiles
b77423ae 1627%attr(755,root,root) /bin/systemd_booted
c3037397 1628%{_mandir}/man1/systemctl.1*
89d58574 1629%{_mandir}/man5/tmpfiles.d.5*
9a2089f1 1630%{_mandir}/man5/environment.d.5*
c3037397 1631%{_mandir}/man8/systemd-tmpfiles.8*
7edc5189 1632%{_npkgconfigdir}/systemd.pc
2f2b39e6 1633
c75f826c
AM
1634%{systemdunitdir}/dev-hugepages.mount
1635%{systemdunitdir}/dev-mqueue.mount
1636%{systemdunitdir}/initrd-root-device.target
2f2b39e6 1637%{systemdunitdir}/proc-sys-fs-binfmt_misc.automount
2f2b39e6 1638%{systemdunitdir}/proc-sys-fs-binfmt_misc.mount
c75f826c 1639%{systemdunitdir}/sockets.target.wants/systemd-coredump.socket
2f2b39e6
JR
1640%{systemdunitdir}/sys-fs-fuse-connections.mount
1641%{systemdunitdir}/sys-kernel-config.mount
1642%{systemdunitdir}/sys-kernel-debug.mount
51dfcf04 1643%{systemdunitdir}/sys-kernel-tracing.mount
c75f826c
AM
1644%{systemdunitdir}/systemd-coredump@.service
1645%{systemdunitdir}/systemd-coredump.socket
1646%{systemdunitdir}/systemd-exit.service
1bbe8306 1647%{systemdunitdir}/systemd-pstore.service
c75f826c 1648%{systemdunitdir}/systemd-rfkill.socket
2f2b39e6 1649%{systemdunitdir}/tmp.mount
7edc5189 1650%{systemdunitdir}/var-lib-machines.mount
2f2b39e6
JR
1651%{systemdunitdir}/var-lock.mount
1652%{systemdunitdir}/var-run.mount
1653%{systemdunitdir}/systemd-ask-password-console.path
1654%{systemdunitdir}/systemd-ask-password-wall.path
1655%{systemdunitdir}/allowlogin.service
1656%{systemdunitdir}/autovt@.service
1657%{systemdunitdir}/console-getty.service
2f2b39e6
JR
1658%{systemdunitdir}/console.service
1659%{systemdunitdir}/container-getty@.service
1660%{systemdunitdir}/cpusets.service
1661%{systemdunitdir}/dbus-org.freedesktop.hostname1.service
1662%{systemdunitdir}/dbus-org.freedesktop.import1.service
1663%{systemdunitdir}/dbus-org.freedesktop.locale1.service
1664%{systemdunitdir}/dbus-org.freedesktop.login1.service
1665%{systemdunitdir}/dbus-org.freedesktop.machine1.service
1666%{systemdunitdir}/dbus-org.freedesktop.timedate1.service
1667%{systemdunitdir}/debug-shell.service
1668%{systemdunitdir}/display-manager.service
1669%{systemdunitdir}/emergency.service
1670%{systemdunitdir}/getty@.service
2f2b39e6
JR
1671%{systemdunitdir}/initrd-cleanup.service
1672%{systemdunitdir}/initrd-parse-etc.service
1673%{systemdunitdir}/initrd-switch-root.service
1674%{systemdunitdir}/initrd-udevadm-cleanup-db.service
1675%{systemdunitdir}/killall.service
1676%{systemdunitdir}/kmod-static-nodes.service
1677%{systemdunitdir}/ldconfig.service
51dfcf04 1678%{systemdunitdir}/modprobe@.service
2f2b39e6
JR
1679%{systemdunitdir}/netfs.service
1680%{systemdunitdir}/network.service
1681%{systemdunitdir}/pld-clean-tmp.service
2f2b39e6
JR
1682%{systemdunitdir}/prefdm.service
1683%{systemdunitdir}/quotaon.service
1684%{systemdunitdir}/random.service
1685%{systemdunitdir}/rescue.service
1686%{systemdunitdir}/serial-getty@.service
1687%{systemdunitdir}/single.service
e5f31a34 1688%{systemdunitdir}/sigpwr-container-shutdown.service
7dfd6655 1689%{systemdunitdir}/suspend-then-hibernate.target
2f2b39e6 1690%{systemdunitdir}/sys-kernel-config.service
9a2089f1 1691%{systemdunitdir}/system-update-cleanup.service
7dfd6655 1692%{systemdunitdir}/system-update-pre.target
2f2b39e6
JR
1693%{systemdunitdir}/systemd-ask-password-console.service
1694%{systemdunitdir}/systemd-ask-password-wall.service
1695%{systemdunitdir}/systemd-backlight@.service
1696%{systemdunitdir}/systemd-binfmt.service
ff6d6f8f 1697%{?with_efi:%{systemdunitdir}/systemd-bless-boot.service}
1bbe8306 1698%{?with_efi:%{systemdunitdir}/systemd-boot-system-token.service}
a919bc1d 1699%{systemdunitdir}/systemd-boot-check-no-failures.service
2f2b39e6
JR
1700%{systemdunitdir}/systemd-firstboot.service
1701%{systemdunitdir}/systemd-fsck-root.service
1702%{systemdunitdir}/systemd-fsck@.service
1703%{systemdunitdir}/systemd-halt.service
1704%{systemdunitdir}/systemd-hibernate-resume@.service
1705%{systemdunitdir}/systemd-hibernate.service
1706%{systemdunitdir}/systemd-hostnamed.service
1707%{systemdunitdir}/systemd-hwdb-update.service
1708%{systemdunitdir}/systemd-hybrid-sleep.service
1709%{systemdunitdir}/systemd-importd.service
1710%{systemdunitdir}/systemd-initctl.service
1711%{systemdunitdir}/systemd-journal-catalog-update.service
1712%{systemdunitdir}/systemd-journal-flush.service
1713%{systemdunitdir}/systemd-journal-gatewayd.service
1714%{systemdunitdir}/systemd-journal-remote.service
1715%{systemdunitdir}/systemd-journal-upload.service
1716%{systemdunitdir}/systemd-journald.service
51dfcf04 1717%{systemdunitdir}/systemd-journald@.service
2f2b39e6
JR
1718%{systemdunitdir}/systemd-kexec.service
1719%{systemdunitdir}/systemd-localed.service
1720%{systemdunitdir}/systemd-logind.service
1721%{systemdunitdir}/systemd-machine-id-commit.service
1722%{systemdunitdir}/systemd-machined.service
1723%{systemdunitdir}/systemd-modules-load.service
1724%{systemdunitdir}/systemd-nspawn@.service
1725%{systemdunitdir}/systemd-poweroff.service
1726%{systemdunitdir}/systemd-quotacheck.service
1727%{systemdunitdir}/systemd-random-seed.service
1728%{systemdunitdir}/systemd-reboot.service
1729%{systemdunitdir}/systemd-remount-fs.service
c75f826c 1730%{systemdunitdir}/systemd-rfkill.service
2f2b39e6 1731%{systemdunitdir}/systemd-suspend.service
7dfd6655 1732%{systemdunitdir}/systemd-suspend-then-hibernate.service
2f2b39e6
JR
1733%{systemdunitdir}/systemd-sysctl.service
1734%{systemdunitdir}/systemd-sysusers.service
7dfd6655 1735%{systemdunitdir}/systemd-time-wait-sync.service
2f2b39e6
JR
1736%{systemdunitdir}/systemd-timedated.service
1737%{systemdunitdir}/systemd-timesyncd.service
1738%{systemdunitdir}/systemd-tmpfiles-clean.service
1739%{systemdunitdir}/systemd-tmpfiles-setup-dev.service
1740%{systemdunitdir}/systemd-tmpfiles-setup.service
1741%{systemdunitdir}/systemd-udev-settle.service
1742%{systemdunitdir}/systemd-udev-trigger.service
1743%{systemdunitdir}/systemd-udevd.service
e2e2785c 1744%dir %{systemdunitdir}/systemd-udevd.service.d
2f2b39e6
JR
1745%{systemdunitdir}/systemd-update-done.service
1746%{systemdunitdir}/systemd-update-utmp-runlevel.service
1747%{systemdunitdir}/systemd-update-utmp.service
1748%{systemdunitdir}/systemd-user-sessions.service
0c0b940f
JP
1749%{systemdunitdir}/systemd-userdbd.service
1750%{systemdunitdir}/systemd-userdbd.socket
2f2b39e6 1751%{systemdunitdir}/systemd-vconsole-setup.service
9a2089f1 1752%{systemdunitdir}/systemd-volatile-root.service
2f2b39e6 1753%{systemdunitdir}/user@.service
2f2b39e6 1754%{systemdunitdir}/machine.slice
7d414874 1755#%{systemdunitdir}/system.slice
51dfcf04 1756%{?with_cryptsetup:%{systemdunitdir}/system-systemd\x2dcryptsetup.slice}
7dfd6655
JB
1757%dir %{systemdunitdir}/user-.slice.d
1758%{systemdunitdir}/user-.slice.d/10-defaults.conf
1759%{systemdunitdir}/user-runtime-dir@.service
2f2b39e6 1760%{systemdunitdir}/user.slice
618c1d39 1761%exclude %{systemdunitdir}/rc-inetd.service
2f2b39e6
JR
1762%{systemdunitdir}/syslog.socket
1763%{systemdunitdir}/systemd-initctl.socket
1764%{systemdunitdir}/systemd-journal-remote.socket
1765%{systemdunitdir}/systemd-journald-audit.socket
1766%{systemdunitdir}/systemd-journald-dev-log.socket
51dfcf04 1767%{systemdunitdir}/systemd-journald-varlink@.socket
2f2b39e6 1768%{systemdunitdir}/systemd-journald.socket
51dfcf04 1769%{systemdunitdir}/systemd-journald@.socket
2f2b39e6
JR
1770%{systemdunitdir}/systemd-udevd-control.socket
1771%{systemdunitdir}/systemd-udevd-kernel.socket
1772%{systemdunitdir}/basic.target
51dfcf04 1773%{systemdunitdir}/blockdev@.target
2f2b39e6 1774%{systemdunitdir}/bluetooth.target
a919bc1d 1775%{systemdunitdir}/boot-complete.target
2f2b39e6
JR
1776%{?with_cryptsetup:%{systemdunitdir}/cryptsetup-pre.target}
1777%{?with_cryptsetup:%{systemdunitdir}/cryptsetup.target}
1778%{systemdunitdir}/ctrl-alt-del.target
1779%{systemdunitdir}/default.target
1780%{systemdunitdir}/emergency.target
c75f826c 1781%{systemdunitdir}/exit.target
2f2b39e6 1782%{systemdunitdir}/final.target
0a794686 1783%{systemdunitdir}/first-boot-complete.target
2f2b39e6 1784%{systemdunitdir}/getty.target
f06261ce 1785%{systemdunitdir}/getty-pre.target
2f2b39e6
JR
1786%{systemdunitdir}/graphical.target
1787%{systemdunitdir}/halt.target
1788%{systemdunitdir}/hibernate.target
1789%{systemdunitdir}/hybrid-sleep.target
1790%{systemdunitdir}/initrd-fs.target
1791%{systemdunitdir}/initrd-root-fs.target
1792%{systemdunitdir}/initrd-switch-root.target
1793%{systemdunitdir}/initrd.target
1794%{systemdunitdir}/kexec.target
1795%{systemdunitdir}/local-fs-pre.target
1796%{systemdunitdir}/local-fs.target
1797%{systemdunitdir}/machines.target
1798%{systemdunitdir}/multi-user.target
1799%{systemdunitdir}/network-online.target
1800%{systemdunitdir}/network-pre.target
1801%{systemdunitdir}/network.target
1802%{systemdunitdir}/nss-lookup.target
1803%{systemdunitdir}/nss-user-lookup.target
1804%{systemdunitdir}/paths.target
1805%{systemdunitdir}/poweroff.target
1806%{systemdunitdir}/printer.target
1807%{systemdunitdir}/reboot.target
1808%{systemdunitdir}/remote-fs-pre.target
1809%{systemdunitdir}/remote-fs.target
f06261ce 1810%if %{with cryptsetup}
f06261ce
AM
1811%{systemdunitdir}/remote-cryptsetup.target
1812%endif
2f2b39e6
JR
1813%{systemdunitdir}/rescue.target
1814%{systemdunitdir}/rpcbind.target
1815%{systemdunitdir}/runlevel0.target
1816%{systemdunitdir}/runlevel1.target
1817%{systemdunitdir}/runlevel2.target
1818%{systemdunitdir}/runlevel3.target
1819%{systemdunitdir}/runlevel4.target
1820%{systemdunitdir}/runlevel5.target
1821%{systemdunitdir}/runlevel6.target
1822%{systemdunitdir}/shutdown.target
1823%{systemdunitdir}/sigpwr.target
1824%{systemdunitdir}/sleep.target
1825%{systemdunitdir}/slices.target
1826%{systemdunitdir}/smartcard.target
1827%{systemdunitdir}/sockets.target
1828%{systemdunitdir}/sound.target
1829%{systemdunitdir}/suspend.target
1830%{systemdunitdir}/swap.target
1831%{systemdunitdir}/sysinit.target
1832%{systemdunitdir}/system-update.target
d482e20e 1833%{systemdunitdir}/time-set.target
2f2b39e6
JR
1834%{systemdunitdir}/time-sync.target
1835%{systemdunitdir}/timers.target
1836%{systemdunitdir}/umount.target
75e09f8c 1837%{systemdunitdir}/usb-gadget.target
2f2b39e6 1838%{systemdunitdir}/systemd-tmpfiles-clean.timer
e4c66821
JB
1839%dir %{systemdunitdir}/basic.target.wants
1840%dir %{systemdunitdir}/dbus.target.wants
5c770713 1841%dir %{systemdunitdir}/final.target.wants
7edc5189 1842%dir %{systemdunitdir}/graphical.target.wants
e4c66821 1843%dir %{systemdunitdir}/halt.target.wants
aa8c5e72 1844%dir %{systemdunitdir}/initrd.target.wants
0a794686 1845%dir %{systemdunitdir}/initrd-root-device.target.wants
bb8e7bde 1846%dir %{systemdunitdir}/initrd-root-fs.target.wants
e4c66821
JB
1847%dir %{systemdunitdir}/kexec.target.wants
1848%dir %{systemdunitdir}/local-fs.target.wants
9a2089f1 1849%dir %{systemdunitdir}/machines.target.wants
e4c66821
JB
1850%dir %{systemdunitdir}/multi-user.target.wants
1851%dir %{systemdunitdir}/poweroff.target.wants
1852%dir %{systemdunitdir}/reboot.target.wants
9a2089f1 1853%dir %{systemdunitdir}/remote-fs.target.wants
7edc5189 1854%dir %{systemdunitdir}/rescue.target.wants
e4c66821
JB
1855%dir %{systemdunitdir}/runlevel[12345].target.wants
1856%dir %{systemdunitdir}/shutdown.target.wants
e5f31a34 1857%dir %{systemdunitdir}/sigpwr.target.wants
e4c66821 1858%dir %{systemdunitdir}/sockets.target.wants
c06d9f8f 1859%dir %{systemdunitdir}/sound.target.wants
e4c66821
JB
1860%dir %{systemdunitdir}/sysinit.target.wants
1861%dir %{systemdunitdir}/syslog.target.wants
c06d9f8f 1862%dir %{systemdunitdir}/system-update.target.wants
bce90f0e 1863%dir %{systemdunitdir}/timers.target.wants
0a794686
JP
1864%if %{with cryptsetup}
1865%{systemdunitdir}/initrd-root-device.target.wants/remote-cryptsetup.target
1866%endif
7edc5189
JR
1867%{systemdunitdir}/graphical.target.wants/display-manager.service
1868%{systemdunitdir}/graphical.target.wants/systemd-update-utmp-runlevel.service
2f2b39e6 1869%{systemdunitdir}/local-fs.target.wants/pld-clean-tmp.service
2f2b39e6
JR
1870%{systemdunitdir}/local-fs.target.wants/var-lock.mount
1871%{systemdunitdir}/local-fs.target.wants/var-run.mount
9a2089f1 1872%{systemdunitdir}/machines.target.wants/var-lib-machines.mount
c7a423d8
JR
1873%{systemdunitdir}/multi-user.target.wants/getty.target
1874%{systemdunitdir}/multi-user.target.wants/rc-local.service
1875%{systemdunitdir}/multi-user.target.wants/systemd-ask-password-wall.path
1876%{systemdunitdir}/multi-user.target.wants/systemd-logind.service
7edc5189 1877%{systemdunitdir}/multi-user.target.wants/systemd-update-utmp-runlevel.service
c7a423d8 1878%{systemdunitdir}/multi-user.target.wants/systemd-user-sessions.service
9a2089f1 1879%{systemdunitdir}/remote-fs.target.wants/var-lib-machines.mount
7edc5189 1880%{systemdunitdir}/rescue.target.wants/systemd-update-utmp-runlevel.service
e5f31a34 1881%{systemdunitdir}/sigpwr.target.wants/sigpwr-container-shutdown.service
2f2b39e6
JR
1882%{systemdunitdir}/sockets.target.wants/systemd-initctl.socket
1883%{systemdunitdir}/sockets.target.wants/systemd-journald-audit.socket
1884%{systemdunitdir}/sockets.target.wants/systemd-journald-dev-log.socket
1885%{systemdunitdir}/sockets.target.wants/systemd-journald.socket
2f2b39e6
JR
1886%{systemdunitdir}/sockets.target.wants/systemd-udevd-control.socket
1887%{systemdunitdir}/sockets.target.wants/systemd-udevd-kernel.socket
c7a423d8
JR
1888%{?with_cryptsetup:%{systemdunitdir}/sysinit.target.wants/cryptsetup.target}
1889%{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount
1890%{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount
11fa1d33 1891%{systemdunitdir}/sysinit.target.wants/kmod-static-nodes.service
995ed764 1892%{systemdunitdir}/sysinit.target.wants/ldconfig.service
c7a423d8 1893%{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
2f2b39e6
JR
1894%{systemdunitdir}/sysinit.target.wants/sys-fs-fuse-connections.mount
1895%{systemdunitdir}/sysinit.target.wants/sys-kernel-debug.mount
51dfcf04 1896%{systemdunitdir}/sysinit.target.wants/sys-kernel-tracing.mount
2f2b39e6
JR
1897%{systemdunitdir}/sysinit.target.wants/systemd-ask-password-console.path
1898%{systemdunitdir}/sysinit.target.wants/systemd-binfmt.service
1bbe8306 1899%{?with_efi:%{systemdunitdir}/sysinit.target.wants/systemd-boot-system-token.service}
2f2b39e6
JR
1900%{systemdunitdir}/sysinit.target.wants/systemd-firstboot.service
1901%{systemdunitdir}/sysinit.target.wants/systemd-hwdb-update.service
1902%{systemdunitdir}/sysinit.target.wants/systemd-journal-catalog-update.service
1903%{systemdunitdir}/sysinit.target.wants/systemd-journald.service
1904%{systemdunitdir}/sysinit.target.wants/systemd-journal-flush.service
1905%{systemdunitdir}/sysinit.target.wants/systemd-machine-id-commit.service
1906%{systemdunitdir}/sysinit.target.wants/systemd-modules-load.service
1907%{systemdunitdir}/sysinit.target.wants/systemd-random-seed.service
1908%{systemdunitdir}/sysinit.target.wants/systemd-sysctl.service
1909%{systemdunitdir}/sysinit.target.wants/systemd-sysusers.service
1910%{systemdunitdir}/sysinit.target.wants/systemd-tmpfiles-setup-dev.service
1911%{systemdunitdir}/sysinit.target.wants/systemd-tmpfiles-setup.service
1912%{systemdunitdir}/sysinit.target.wants/systemd-udevd.service
1913%{systemdunitdir}/sysinit.target.wants/systemd-udev-trigger.service
1914%{systemdunitdir}/sysinit.target.wants/systemd-update-done.service
1915%{systemdunitdir}/sysinit.target.wants/systemd-update-utmp.service
2f2b39e6 1916%{systemdunitdir}/timers.target.wants/systemd-tmpfiles-clean.timer
be813610 1917%dir %{systemduserunitdir}/sockets.target.wants
c75f826c
AM
1918%{systemduserunitdir}/graphical-session-pre.target
1919%{systemduserunitdir}/graphical-session.target
a8a1a634
JB
1920%{_mandir}/man5/user@.service.5*
1921%{_mandir}/man5/user-runtime-dir@.service.5*
9a2089f1
AM
1922%{_mandir}/man8/30-systemd-environment-d-generator.8*
1923%{_mandir}/man8/systemd-environment-d-generator.8*
4400c575
JR
1924%{_mandir}/man8/systemd-ask-password-console.path.8*
1925%{_mandir}/man8/systemd-ask-password-console.service.8*
1926%{_mandir}/man8/systemd-ask-password-wall.path.8*
1927%{_mandir}/man8/systemd-ask-password-wall.service.8*
77d7e0b4 1928%{_mandir}/man8/systemd-backlight@.service.8*
4400c575 1929%{_mandir}/man8/systemd-binfmt.service.8*
a8a1a634
JB
1930%{?with_efi:%{_mandir}/man8/systemd-bless-boot.service.8*}
1931%{_mandir}/man8/systemd-boot-check-no-failures.service.8*
1bbe8306 1932%{?with_efi:%{_mandir}/man8/systemd-boot-system-token.service.8*}
c75f826c
AM
1933%{_mandir}/man8/systemd-coredump.socket.8*
1934%{_mandir}/man8/systemd-coredump@.service.8*
657515ed
JK
1935%{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup.8*}
1936%{?with_cryptsetup:%{_mandir}/man8/systemd-cryptsetup@.service.8*}
4400c575
JR
1937%{_mandir}/man8/systemd-fsck-root.service.8*
1938%{_mandir}/man8/systemd-fsck@.service.8*
1939%{_mandir}/man8/systemd-halt.service.8*
1940%{_mandir}/man8/systemd-hibernate.service.8*
1941%{_mandir}/man8/systemd-hostnamed.service.8*
f8d07093 1942%{_mandir}/man8/systemd-hybrid-sleep.service.8*
7dfd6655 1943%{_mandir}/man8/systemd-importd.service.8*
4400c575
JR
1944%{_mandir}/man8/systemd-initctl.service.8*
1945%{_mandir}/man8/systemd-initctl.socket.8*
7dfd6655
JB
1946%{_mandir}/man8/systemd-journal-remote.service.8*
1947%{_mandir}/man8/systemd-journal-remote.socket.8*
1948%{_mandir}/man8/systemd-journal-upload.service.8*
4400c575
JR
1949%{_mandir}/man8/systemd-journald.service.8*
1950%{_mandir}/man8/systemd-journald.socket.8*
c75f826c 1951%{_mandir}/man8/systemd-journald-audit.socket.8*
4400c575
JR
1952%{_mandir}/man8/systemd-kexec.service.8*
1953%{_mandir}/man8/systemd-localed.service.8*
1954%{_mandir}/man8/systemd-logind.service.8*
11fa1d33 1955%{_mandir}/man8/systemd-machined.service.8*
4400c575
JR
1956%{_mandir}/man8/systemd-modules-load.service.8*
1957%{_mandir}/man8/systemd-poweroff.service.8*
1958%{_mandir}/man8/systemd-quotacheck.service.8*
1aed57ba 1959%{_mandir}/man8/systemd-random-seed.service.8*
4400c575
JR
1960%{_mandir}/man8/systemd-reboot.service.8*
1961%{_mandir}/man8/systemd-remount-fs.service.8*
c75f826c 1962%{_mandir}/man8/systemd-rfkill.socket.8*
4400c575 1963%{_mandir}/man8/systemd-suspend.service.8*
7dfd6655 1964%{_mandir}/man8/systemd-suspend-then-hibernate.service.8*
4400c575 1965%{_mandir}/man8/systemd-sysctl.service.8*
7dfd6655 1966%{_mandir}/man8/systemd-time-wait-sync.service.8*
4400c575
JR
1967%{_mandir}/man8/systemd-timedated.service.8*
1968%{_mandir}/man8/systemd-tmpfiles-clean.service.8*
1969%{_mandir}/man8/systemd-tmpfiles-clean.timer.8*
1970%{_mandir}/man8/systemd-tmpfiles-setup.service.8*
890c04f0 1971%{_mandir}/man8/systemd-tmpfiles-setup-dev.service.8*
1bbe8306 1972%{_mandir}/man8/systemd-udev-settle.service.8*
4400c575 1973%{_mandir}/man8/systemd-udevd.service.8*
f8d07093
JR
1974%{_mandir}/man8/systemd-udevd-control.socket.8*
1975%{_mandir}/man8/systemd-udevd-kernel.socket.8*
4400c575 1976%{_mandir}/man8/systemd-update-utmp-runlevel.service.8*
1aed57ba 1977%{_mandir}/man8/systemd-update-utmp.service.8*
4400c575 1978%{_mandir}/man8/systemd-user-sessions.service.8*
0c0b940f 1979%{_mandir}/man8/systemd-userdbd.service.8*
4400c575 1980%{_mandir}/man8/systemd-vconsole-setup.service.8*
e4c66821 1981
c2dd2200
AM
1982%files tools
1983%defattr(644,root,root,755)
1984%attr(755,root,root) %{_bindir}/systemd-cgls
1985%attr(755,root,root) %{_bindir}/systemd-cgtop
1986%{_mandir}/man1/systemd-cgls.1*
1987%{_mandir}/man1/systemd-cgtop.1*
1988
48066926
ER
1989%if %{with microhttpd}
1990%files journal-gateway
1991%defattr(644,root,root,755)
2f2b39e6 1992%{systemdunitdir}/systemd-journal-gatewayd.socket
48066926
ER
1993%attr(755,root,root) /lib/systemd/systemd-journal-gatewayd
1994%{_mandir}/man8/systemd-journal-gatewayd.8*
1995%{_mandir}/man8/systemd-journal-gatewayd.service.8*
1996%{_mandir}/man8/systemd-journal-gatewayd.socket.8*
1997%endif
909f05f5 1998
bb8e7bde
JB
1999%files homed
2000%defattr(644,root,root,755)
2001%attr(755,root,root) /bin/homectl
2002%attr(755,root,root) /lib/systemd/systemd-homed
2003%attr(755,root,root) /lib/systemd/systemd-homework
2004%attr(755,root,root) /%{_lib}/security/pam_systemd_home.so
2005%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/homed.conf
2006%{systemdunitdir}/systemd-homed.service
0a794686 2007%{systemdunitdir}/systemd-homed-activate.service
bb8e7bde
JB
2008%{_datadir}/dbus-1/system-services/org.freedesktop.home1.service
2009%{_datadir}/dbus-1/system.d/org.freedesktop.home1.conf
2010%{_datadir}/polkit-1/actions/org.freedesktop.home1.policy
2011%{_mandir}/man1/homectl.1*
2012%{_mandir}/man5/homed.conf.5*
2013%{_mandir}/man5/homed.conf.d.5*
2014%{_mandir}/man5/org.freedesktop.home1.5*
2015%{_mandir}/man8/pam_systemd_home.8*
2016%{_mandir}/man8/systemd-homed.8*
2017%{_mandir}/man8/systemd-homed.service.8*
2018
909f05f5
JK
2019%files networkd
2020%defattr(644,root,root,755)
8e27187e 2021%{_datadir}/dbus-1/system.d/org.freedesktop.network1.conf
a919bc1d 2022%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/networkd.conf
aae72bea 2023%dir %{_sysconfdir}/systemd/network
aae72bea
JR
2024/lib/systemd/network/80-container-host0.network
2025/lib/systemd/network/80-container-ve.network
c75f826c 2026/lib/systemd/network/80-container-vz.network
0a12352a 2027/lib/systemd/network/80-vm-vt.network
e65d38fd 2028/lib/systemd/network/80-wifi-adhoc.network
1bbe8306 2029%{systemdunitdir}/systemd-network-generator.service
2f2b39e6
JR
2030%{systemdunitdir}/systemd-networkd-wait-online.service
2031%{systemdunitdir}/systemd-networkd.service
2032%{systemdunitdir}/systemd-networkd.socket
2f2b39e6 2033%{_datadir}/dbus-1/system-services/org.freedesktop.network1.service
1bbe8306 2034%{_datadir}/polkit-1/actions/org.freedesktop.network1.policy
2f2b39e6 2035%attr(755,root,root) /bin/networkctl
1bbe8306 2036%attr(755,root,root) /lib/systemd/systemd-network-generator
909f05f5
JK
2037%attr(755,root,root) /lib/systemd/systemd-networkd
2038%attr(755,root,root) /lib/systemd/systemd-networkd-wait-online
2f2b39e6 2039%{_mandir}/man1/networkctl.1*
c75f826c
AM
2040%{_mandir}/man5/networkd.conf.5*
2041%{_mandir}/man5/networkd.conf.d.5*
1bbe8306 2042%{_mandir}/man7/systemd.net-naming-scheme.7*
51dfcf04
JP
2043%{_mandir}/man8/systemd-network-generator.8*
2044%{_mandir}/man8/systemd-network-generator.service.8*
de1f2a1e 2045%{_mandir}/man8/systemd-networkd-wait-online.8*
2f2b39e6 2046%{_mandir}/man8/systemd-networkd-wait-online.service.8*
de1f2a1e 2047%{_mandir}/man8/systemd-networkd.8*
2f2b39e6 2048%{_mandir}/man8/systemd-networkd.service.8*
909f05f5 2049
0a794686
JP
2050%files oomd
2051%defattr(644,root,root,755)
2052%attr(755,root,root) /bin/oomctl
2053%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/oomd.conf
2054%attr(755,root,root) /lib/systemd/systemd-oomd
2055%{systemdunitdir}/systemd-oomd.service
2056%{_datadir}/dbus-1/system-services/org.freedesktop.oom1.service
2057%{_datadir}/dbus-1/system.d/org.freedesktop.oom1.conf
2058%{_mandir}/man1/oomctl.1*
2059%{_mandir}/man5/oomd.conf.5*
2060%{_mandir}/man5/oomd.conf.d.5*
2061%{_mandir}/man5/org.freedesktop.oom1.5*
2062%{_mandir}/man8/systemd-oomd.8*
2063%{_mandir}/man8/systemd-oomd.service.8*
2064
be1d1ebd
JB
2065%files portabled
2066%defattr(644,root,root,755)
a919bc1d
JP
2067%doc docs/PORTABLE_SERVICES.md
2068%attr(755,root,root) /bin/portablectl
be1d1ebd
JB
2069%attr(755,root,root) /lib/systemd/systemd-portabled
2070%{systemdunitdir}/dbus-org.freedesktop.portable1.service
2071%{systemdunitdir}/systemd-portabled.service
2072%dir /lib/systemd/portable
2073%dir /lib/systemd/portable/profile
2074%dir /lib/systemd/portable/profile/default
2075/lib/systemd/portable/profile/default/service.conf
2076%dir /lib/systemd/portable/profile/nonetwork
2077/lib/systemd/portable/profile/nonetwork/service.conf
2078%dir /lib/systemd/portable/profile/strict
2079/lib/systemd/portable/profile/strict/service.conf
2080%dir /lib/systemd/portable/profile/trusted
2081/lib/systemd/portable/profile/trusted/service.conf
2082%{systemdtmpfilesdir}/portables.conf
2083%{_datadir}/dbus-1/system-services/org.freedesktop.portable1.service
2084%{_datadir}/dbus-1/system.d/org.freedesktop.portable1.conf
2085%{_datadir}/polkit-1/actions/org.freedesktop.portable1.policy
2086%{_mandir}/man1/portablectl.1*
2087%{_mandir}/man8/systemd-portabled.8*
2088%{_mandir}/man8/systemd-portabled.service.8*
2089
bb8e7bde
JB
2090%files repart
2091%defattr(644,root,root,755)
2092%attr(755,root,root) /bin/systemd-repart
2093%{systemdunitdir}/systemd-repart.service
2094%{systemdunitdir}/initrd-root-fs.target.wants/systemd-repart.service
2095%{systemdunitdir}/sysinit.target.wants/systemd-repart.service
2096%{_mandir}/man5/repart.d.5*
2097%{_mandir}/man8/systemd-repart.8*
2098%{_mandir}/man8/systemd-repart.service.8*
2099
909f05f5
JK
2100%files resolved
2101%defattr(644,root,root,755)
2102%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/resolved.conf
8e27187e 2103%{_datadir}/dbus-1/system.d/org.freedesktop.resolve1.conf
2f2b39e6 2104%{_datadir}/dbus-1/system-services/org.freedesktop.resolve1.service
c06d9f8f 2105%{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy
2f2b39e6 2106%{systemdunitdir}/systemd-resolved.service
7dfd6655
JB
2107%attr(755,root,root) /sbin/resolvconf
2108%attr(755,root,root) %{_bindir}/resolvectl
909f05f5 2109%attr(755,root,root) /lib/systemd/systemd-resolved
7dfd6655
JB
2110%{_mandir}/man1/resolvconf.1*
2111%{_mandir}/man1/resolvectl.1*
0a12352a 2112%{_mandir}/man5/org.freedesktop.resolve1.5*
909f05f5
JK
2113%{_mandir}/man5/resolved.conf.5*
2114%{_mandir}/man5/resolved.conf.d.5*
de1f2a1e 2115%{_mandir}/man8/systemd-resolved.8*
2f2b39e6 2116%{_mandir}/man8/systemd-resolved.service.8*
48066926 2117
bb6fb962
JR
2118%files inetd
2119%defattr(644,root,root,755)
60c3e1b7 2120%attr(755,root,root) %{systemdunitdir}-generators/pld-rc-inetd-generator
bb6fb962
JR
2121%{systemdunitdir}/rc-inetd.service
2122
4e5e9c32
ER
2123%files analyze
2124%defattr(644,root,root,755)
2125%attr(755,root,root) %{_bindir}/systemd-analyze
4400c575 2126%{_mandir}/man1/systemd-analyze.1*
4e5e9c32 2127
5b9bde26 2128%files libs
6c89bbd4 2129%defattr(644,root,root,755)
2be4d5dc 2130%attr(755,root,root) /%{_lib}/libnss_myhostname.so.2
c75f826c
AM
2131%attr(755,root,root) /%{_lib}/libnss_mymachines.so.2
2132%attr(755,root,root) /%{_lib}/libnss_resolve.so.2
2133%attr(755,root,root) /%{_lib}/libnss_systemd.so.2
995ed764
TR
2134%attr(755,root,root) /%{_lib}/libsystemd.so.*.*.*
2135%attr(755,root,root) %ghost /%{_lib}/libsystemd.so.0
28c06947 2136%attr(755,root,root) /lib/systemd/libsystemd-shared*.so
c75f826c
AM
2137%{_mandir}/man8/libnss_resolve.so.2.8*
2138%{_mandir}/man8/libnss_systemd.so.2.8*
2139%{_mandir}/man8/nss-resolve.8*
a2e26a8b 2140%{_mandir}/man8/nss-systemd.8*
961baf80
AF
2141
2142%files devel
2143%defattr(644,root,root,755)
c75f826c 2144%attr(755,root,root) /%{_lib}/libsystemd.so
5b9bde26 2145%{_includedir}/%{name}
995ed764 2146%{_pkgconfigdir}/libsystemd.pc
ab590cee
JR
2147%{_mandir}/man3/SD_*.3*
2148%{_mandir}/man3/sd*.3*
5b9bde26
JB
2149
2150%files -n bash-completion-systemd
2151%defattr(644,root,root,755)
973c0d94 2152%{bash_compdir}/bootctl
a2e26a8b
ER
2153%{bash_compdir}/busctl
2154%{bash_compdir}/coredumpctl
0a794686 2155%{bash_compdir}/homectl
a2e26a8b
ER
2156%{bash_compdir}/hostnamectl
2157%{bash_compdir}/journalctl
2158%{bash_compdir}/kernel-install
2159%{bash_compdir}/localectl
2160%{bash_compdir}/loginctl
2161%{bash_compdir}/machinectl
2162%{bash_compdir}/networkctl
be1d1ebd 2163%{bash_compdir}/portablectl
7dfd6655 2164%{bash_compdir}/resolvectl
a2e26a8b
ER
2165%{bash_compdir}/systemctl
2166%{bash_compdir}/systemd-analyze
2167%{bash_compdir}/systemd-cat
2168%{bash_compdir}/systemd-cgls
2169%{bash_compdir}/systemd-cgtop
2170%{bash_compdir}/systemd-delta
2171%{bash_compdir}/systemd-detect-virt
0a794686 2172%{bash_compdir}/systemd-id128
a2e26a8b
ER
2173%{bash_compdir}/systemd-nspawn
2174%{bash_compdir}/systemd-path
2175%{bash_compdir}/systemd-resolve
2176%{bash_compdir}/systemd-run
2177%{bash_compdir}/timedatectl
ae4d0acb 2178
77d7e0b4
JR
2179%files -n zsh-completion-systemd
2180%defattr(644,root,root,755)
973c0d94 2181%{zsh_compdir}/_bootctl
a2e26a8b
ER
2182%{zsh_compdir}/_busctl
2183%{zsh_compdir}/_coredumpctl
2184%{zsh_compdir}/_hostnamectl
2185%{zsh_compdir}/_journalctl
2186%{zsh_compdir}/_kernel-install
2187%{zsh_compdir}/_localectl
2188%{zsh_compdir}/_loginctl
2189%{zsh_compdir}/_machinectl
9a2089f1 2190%{zsh_compdir}/_networkctl
1bbe8306 2191%{zsh_compdir}/_resolvectl
a2e26a8b
ER
2192%{zsh_compdir}/_sd_hosts_or_user_at_host
2193%{zsh_compdir}/_sd_machines
2194%{zsh_compdir}/_sd_outputmodes
2195%{zsh_compdir}/_sd_unit_files
2196%{zsh_compdir}/_systemctl
2197%{zsh_compdir}/_systemd
2198%{zsh_compdir}/_systemd-analyze
2199%{zsh_compdir}/_systemd-delta
2200%{zsh_compdir}/_systemd-inhibit
2201%{zsh_compdir}/_systemd-nspawn
0a794686 2202%{zsh_compdir}/_systemd-path
a2e26a8b
ER
2203%{zsh_compdir}/_systemd-run
2204%{zsh_compdir}/_systemd-tmpfiles
2205%{zsh_compdir}/_timedatectl
77d7e0b4 2206
30121190
JR
2207%files -n udev
2208%defattr(644,root,root,755)
2209%dev(c,1,3) %attr(666,root,root) /dev/null
2210%dev(c,5,1) %attr(660,root,console) /dev/console
2211%dev(c,1,5) %attr(666,root,root) /dev/zero
2212
2213%files -n udev-core
2214%defattr(644,root,root,755)
30121190 2215
947943f3 2216%{_prefix}/lib/udev
30121190 2217
30121190
JR
2218%attr(755,root,root) /lib/udev/net_helper
2219
2220%attr(755,root,root) /lib/udev/ata_id
2221%attr(755,root,root) /lib/udev/cdrom_id
e65d38fd 2222%attr(755,root,root) /lib/udev/fido_id
30121190
JR
2223%attr(755,root,root) /lib/udev/mtd_probe
2224%attr(755,root,root) /lib/udev/scsi_id
2225%attr(755,root,root) /lib/udev/v4l_id
2226
2227%attr(755,root,root) /lib/udev/udevd
2228
f8d07093 2229/lib/udev/hwdb.d/20-acpi-vendor.hwdb
2be4d5dc 2230/lib/udev/hwdb.d/20-bluetooth-vendor-product.hwdb
995ed764 2231/lib/udev/hwdb.d/20-net-ifname.hwdb
7edc5189 2232/lib/udev/hwdb.d/20-OUI.hwdb
f8d07093 2233/lib/udev/hwdb.d/20-pci-classes.hwdb
bce90f0e 2234/lib/udev/hwdb.d/20-pci-vendor-model.hwdb
995ed764
TR
2235/lib/udev/hwdb.d/20-sdio-classes.hwdb
2236/lib/udev/hwdb.d/20-sdio-vendor-model.hwdb
f8d07093 2237/lib/udev/hwdb.d/20-usb-classes.hwdb
bce90f0e 2238/lib/udev/hwdb.d/20-usb-vendor-model.hwdb
7dfd6655 2239/lib/udev/hwdb.d/20-vmbus-class.hwdb
0a12352a
JP
2240/lib/udev/hwdb.d/60-autosuspend-chromiumos.hwdb
2241/lib/udev/hwdb.d/60-autosuspend.hwdb
7edc5189 2242/lib/udev/hwdb.d/60-evdev.hwdb
881358e5 2243/lib/udev/hwdb.d/60-input-id.hwdb
11fa1d33 2244/lib/udev/hwdb.d/60-keyboard.hwdb
9a2089f1 2245/lib/udev/hwdb.d/60-sensor.hwdb
f06261ce 2246/lib/udev/hwdb.d/70-joystick.hwdb
7dffbad7 2247/lib/udev/hwdb.d/70-mouse.hwdb
7edc5189 2248/lib/udev/hwdb.d/70-pointingstick.hwdb
2f2b39e6 2249/lib/udev/hwdb.d/70-touchpad.hwdb
f8d07093 2250
f06261ce
AM
2251%attr(755,root,root) %{_rootsbindir}/start_udev
2252%attr(755,root,root) %{_rootsbindir}/udevd
2253%attr(755,root,root) %{_rootsbindir}/udevadm
2f2b39e6 2254%attr(755,root,root) /bin/systemd-hwdb
bce90f0e 2255%attr(755,root,root) /bin/udevadm
30121190
JR
2256
2257%dir %{_sysconfdir}/udev
2258%dir %{_sysconfdir}/udev/rules.d
618c1d39 2259%dir %{_sysconfdir}/udev/hwdb.d
ba7dc07d 2260%ghost %{_sysconfdir}/udev/hwdb.bin
30121190
JR
2261
2262%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
2263%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/udev_blacklist.conf
2264%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/links.conf
2265%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
2266%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules
dcbc26d0 2267%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-uinput.rules
27e7ee7d 2268%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-steam_controller.rules
e2ca78f3 2269%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/80-net-setup-link.rules
30121190
JR
2270
2271%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf
2272
2273# rules below are NOT supposed to be changed by users
30121190 2274/lib/udev/rules.d/50-udev-default.rules
0a12352a 2275/lib/udev/rules.d/60-autosuspend.rules
7edc5189 2276/lib/udev/rules.d/60-block.rules
30121190 2277/lib/udev/rules.d/60-cdrom_id.rules
995ed764 2278/lib/udev/rules.d/60-drm.rules
7edc5189 2279/lib/udev/rules.d/60-evdev.rules
e65d38fd 2280/lib/udev/rules.d/60-fido-id.rules
30121190
JR
2281/lib/udev/rules.d/60-persistent-alsa.rules
2282/lib/udev/rules.d/60-persistent-input.rules
30121190 2283/lib/udev/rules.d/60-persistent-storage.rules
7edc5189 2284/lib/udev/rules.d/60-persistent-storage-tape.rules
30121190 2285/lib/udev/rules.d/60-persistent-v4l.rules
7edc5189 2286/lib/udev/rules.d/60-serial.rules
618c1d39 2287/lib/udev/rules.d/64-btrfs.rules
7dffbad7 2288/lib/udev/rules.d/70-mouse.rules
4f1f9baf 2289/lib/udev/rules.d/70-power-switch.rules
2f2b39e6 2290/lib/udev/rules.d/70-touchpad.rules
30121190
JR
2291/lib/udev/rules.d/75-net-description.rules
2292/lib/udev/rules.d/75-probe_mtd.rules
30121190
JR
2293/lib/udev/rules.d/78-sound-card.rules
2294/lib/udev/rules.d/80-drivers.rules
995ed764 2295/lib/udev/rules.d/80-net-setup-link.rules
7dffbad7 2296/lib/udev/rules.d/90-vconsole.rules
30121190 2297
ed4d2b1f 2298%{_mandir}/man5/udev.conf.5*
30121190 2299%{_mandir}/man7/udev.7*
2f2b39e6
JR
2300%{_mandir}/man7/hwdb.7*
2301%{_mandir}/man8/systemd-hwdb.8*
c75fd19d
JR
2302%{_mandir}/man8/udevadm.8*
2303%{_mandir}/man8/udevd.8*
2304
30121190
JR
2305%files -n udev-libs
2306%defattr(644,root,root,755)
2307%attr(755,root,root) /%{_lib}/libudev.so.*.*.*
c75fd19d 2308%attr(755,root,root) %ghost /%{_lib}/libudev.so.1
30121190
JR
2309
2310%files -n udev-devel
2311%defattr(644,root,root,755)
c75f826c 2312%attr(755,root,root) /%{_lib}/libudev.so
30121190
JR
2313%{_includedir}/libudev.h
2314%{_pkgconfigdir}/libudev.pc
2315%{_npkgconfigdir}/udev.pc
5c770713
JR
2316%{_mandir}/man3/libudev.3*
2317%{_mandir}/man3/udev_*.3*
30121190 2318
864041a0
JR
2319%files -n bash-completion-udev
2320%defattr(644,root,root,755)
a2e26a8b 2321%{bash_compdir}/udevadm
864041a0 2322
77d7e0b4
JR
2323%files -n zsh-completion-udev
2324%defattr(644,root,root,755)
a2e26a8b 2325%{zsh_compdir}/_udevadm
This page took 0.633047 seconds and 4 git commands to generate.