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