]> git.pld-linux.org Git - packages/systemd.git/blob - systemd.spec
- pl for rpm-macros-systemd, BR: pld-release (/etc/os-release)
[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 # - clean up unpackaged files
10 #
11 # Conditional build:
12 %bcond_without  audit           # audit support
13 %bcond_without  cryptsetup      # cryptsetup support
14 %bcond_without  microhttpd      # use microhttpd for network journal access
15 %bcond_without  pam             # PAM authentication support
16 %bcond_without  qrencode        # QRencode support
17 %bcond_without  selinux         # SELinux support
18 %bcond_without  efi             # EFI boot support
19 %bcond_without  fido2           # FIDO2 support
20 %bcond_without  tpm2            # TPM2 support
21 %bcond_with     tests           # "make check" (requires systemd already installed)
22
23 %ifnarch %{ix86} %{x8664} aarch64
24 # x32 disabled - maybe it's possible to build x64 EFI, but it requires some hacking (add -m64 to EFI gcc command line?)
25 %undefine       with_efi
26 %endif
27 Summary:        A System and Service Manager
28 Summary(pl.UTF-8):      systemd - zarządca systemu i usług dla Linuksa
29 Name:           systemd
30 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
31 Version:        250.3
32 Release:        1
33 Epoch:          1
34 License:        GPL v2+ (udev), LGPL v2.1+ (the rest)
35 Group:          Base
36 #Source0Download: https://github.com/systemd/systemd/releases
37 Source0:        https://github.com/systemd/systemd-stable/archive/v%{version}/%{name}-%{version}.tar.gz
38 # Source0-md5:  e4af37e9e8a52c1f279d9e054b25c06f
39 Source1:        %{name}-sysv-convert
40 Source2:        %{name}_booted.c
41 Source3:        network.service
42 Source4:        var-lock.mount
43 Source5:        var-run.mount
44 Source14:       pld-clean-tmp.service
45 Source15:       pld-clean-tmp.sh
46 Source16:       pld-rc-inetd-generator.sh
47 Source17:       rc-inetd.service
48 Source18:       default.preset
49 Source19:       prefdm.service
50 Source20:       sigpwr-container-shutdown.service
51
52 # rules
53 Source101:      udev-alsa.rules
54 Source102:      udev.rules
55 Source103:      udev-links.conf
56 Source104:      udev-uinput.rules
57 Source105:      udev-steam_controller.rules
58 Source106:      udev-i2c.rules
59 # scripts / helpers
60 Source110:      udev-net.helper
61 Source111:      start_udev
62 # misc
63 Source120:      udev.blacklist
64 Source121:      fbdev.blacklist
65 Patch0:         target-pld.patch
66 Patch1:         config-pld.patch
67 Patch2:         pld-sysv-network.patch
68 Patch3:         tmpfiles-not-fatal.patch
69 Patch4:         udev-ploop-rules.patch
70 Patch5:         %{name}-split-usr-fix.patch
71 Patch6:         net-rename-revert.patch
72 Patch7:         %{name}-completion.patch
73 Patch8:         proc-hidepid.patch
74 Patch9:         %{name}-configfs.patch
75 Patch10:        pld-boot_efi_mount.patch
76 Patch11:        optional-tmp-on-tmpfs.patch
77 Patch13:        sysctl.patch
78 Patch14:        pld-pam-%{name}-user.patch
79 Patch15:        %{name}-x32.patch
80 Patch16:        rpm-macros.patch
81 URL:            https://www.freedesktop.org/wiki/Software/systemd/
82 BuildRequires:  acl-devel
83 %{?with_audit:BuildRequires:    audit-libs-devel}
84 BuildRequires:  binutils >= 3:2.22.52.0.1-2
85 BuildRequires:  bzip2-devel
86 # ln --relative
87 BuildRequires:  coreutils >= 8.16
88 %{?with_cryptsetup:BuildRequires:       cryptsetup-devel >= 2.4.0}
89 BuildRequires:  curl-devel >= 7.32.0
90 BuildRequires:  dbus-devel >= 1.9.18
91 BuildRequires:  docbook-dtd42-xml
92 BuildRequires:  docbook-dtd45-xml
93 BuildRequires:  docbook-style-xsl-nons
94 BuildRequires:  elfutils-devel >= 0.177
95 BuildRequires:  gettext-tools
96 BuildRequires:  glib2-devel >= 1:2.22.0
97 BuildRequires:  glibc-misc
98 %{?with_efi:BuildRequires:      gnu-efi}
99 BuildRequires:  gnutls-devel >= 3.6.0
100 BuildRequires:  gperf
101 BuildRequires:  intltool >= 0.40.0
102 # pkgconfig(libiptc)
103 BuildRequires:  iptables-devel
104 BuildRequires:  kmod-devel >= 15
105 BuildRequires:  libapparmor-devel >= 1:2.13
106 BuildRequires:  libblkid-devel >= 2.24
107 BuildRequires:  libcap-devel
108 BuildRequires:  libfdisk-devel >= 2.33
109 %{?with_fido2:BuildRequires:    libfido2-devel}
110 BuildRequires:  libgcrypt-devel >= 1.4.5
111 BuildRequires:  libgpg-error-devel >= 1.12
112 BuildRequires:  libidn2-devel
113 %{?with_microhttpd:BuildRequires:       libmicrohttpd-devel >= 0.9.33}
114 BuildRequires:  libmount-devel >= 2.30
115 BuildRequires:  libpwquality-devel
116 BuildRequires:  libseccomp-devel >= 2.4.0
117 %{?with_selinux:BuildRequires:  libselinux-devel >= 2.6}
118 BuildRequires:  libtool >= 2:2.2
119 BuildRequires:  libxslt-progs
120 BuildRequires:  lz4-devel >= 1:1.3.0
121 BuildRequires:  m4
122 BuildRequires:  meson >= 0.53.2
123 BuildRequires:  ninja
124 BuildRequires:  p11-kit-devel >= 0.23.3
125 %{?with_pam:BuildRequires:      pam-devel >= 1.1.2}
126 BuildRequires:  pcre2-8-devel
127 # for sbat-distro* in src/boot/efi/meson.build
128 BuildRequires:  pld-release
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:        RPM macros that define paths and scriptlets related to systemd
728 Summary(pl.UTF-8):      Makra RPM-a definiujące ścieżki i skryptlety związane z systemd
729 Group:          Development/Building
730 BuildArch:      noarch
731
732 %description -n rpm-macros-systemd
733 RPM macros that define paths and scriptlets related to systemd.
734
735 %description -n rpm-macros-systemd -l pl.UTF-8
736 Makra RPM-a definiujące ścieżki i skryptlety związane z systemd.
737
738 %prep
739 %setup -q -n systemd-stable-%{version}
740 %patch0 -p1
741 %patch1 -p1
742 %patch2 -p1
743 %patch3 -p1
744 %patch4 -p1
745 %patch5 -p1
746 # rejected upstream (do not disable!)
747 %patch6 -p1
748 %patch7 -p1
749 %patch8 -p1
750 %patch9 -p1
751 %patch10 -p1
752 %patch11 -p1
753 %patch13 -p1
754 %patch14 -p1
755 %patch15 -p1
756 %patch16 -p1
757
758 cp -p %{SOURCE2} src/systemd_booted.c
759
760 grep -rlZ -0 '#!/usr/bin/env bash' . | xargs -0 sed -i -e 's,#!/usr/bin/env bash,#!/bin/bash,g'
761
762 %build
763 %meson build \
764         -Dadm-gid=3 \
765         -Daudio-gid=23 \
766         -Dcdrom-gid=27 \
767         -Ddialout-gid=16 \
768         -Ddisk-gid=6 \
769         -Dinput-gid=182 \
770         -Dkmem-gid=9 \
771         -Dkvm-gid=160 \
772         -Dlp-gid=7 \
773         -Dsgx-gid=344 \
774         -Dtape-gid=68 \
775         -Dusers-gid=1000 \
776         -Dutmp-gid=22 \
777         -Dvideo-gid=24 \
778         -Dwheel-gid=10 \
779         -Dsystemd-journal-gid=288 \
780         -Dsystemd-network-uid=316 \
781         -Dsystemd-resolve-uid=317 \
782         -Dsystemd-timesync-uid=318 \
783         -Dnobody-user="nobody" \
784         -Dnobody-group="nogroup" \
785         -Daudit=%{__true_false audit} \
786         -Ddefault-kill-user-processes=false \
787         %{?debug:--buildtype=debug} \
788         -Defi=%{__true_false efi} \
789         -Dlibfido2=%{__true_false fido2} \
790         -Dkexec-path=/sbin/kexec \
791         -Dkmod-path=/sbin/kmod \
792         -Dlibcryptsetup=%{__true_false cryptsetup} \
793         -Dlibcryptsetup-plugins-dir=/usr/%{_lib}/cryptsetup \
794         -Dlibidn2=true \
795         -Dloadkeys-path=/usr/bin/loadkeys \
796         -Dlz4=true \
797         -Dman=true \
798         -Dmicrohttpd=%{__true_false microhttpd} \
799         -Dmount-path=/bin/mount \
800         -Dntp-servers='0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org' \
801         -Dpam=%{__true_false pam} \
802         -Dqrencode=%{__true_false qrencode} \
803         -Dquotacheck=true \
804         -Dquotacheck-path=/sbin/quotacheck \
805         -Dquotaon-path=/sbin/quotaon \
806         -Drc-local=/etc/rc.d/rc.local \
807         -Drootlibdir=/%{_lib} \
808         -Drootprefix="" \
809         -Dselinux=%{__true_false selinux} \
810         -Dsetfont-path=/bin/setfont \
811         -Dsplit-bin=true \
812         -Dsplit-usr=true \
813         -Dsulogin-path=/sbin/sulogin \
814         -Dsysvinit-path=/etc/rc.d/init.d \
815         -Dsysvrcnd-path=/etc/rc.d \
816         -Dtpm2=%{__true_false tpm2} \
817         -Dumount-path=/bin/umount \
818
819 %ninja_build -C build
820
821 %{__cc} %{rpmcppflags} %{rpmcflags} -o build/systemd_booted %{rpmldflags} src/systemd_booted.c -Lbuild -lsystemd
822
823 %{?with_tests:%ninja_test -C build}
824
825 %install
826 rm -rf $RPM_BUILD_ROOT
827 install -d $RPM_BUILD_ROOT/var/lib/{%{name}/{catalog,coredump},machines} \
828         $RPM_BUILD_ROOT%{_rootsbindir} \
829         $RPM_BUILD_ROOT%{_sysconfdir}/{modprobe.d,repart.d,systemd/system-preset} \
830         $RPM_BUILD_ROOT%{systemduserunitdir}/sockets.target.wants \
831         $RPM_BUILD_ROOT%{systemdunitdir}/{final,sound,system-update}.target.wants \
832         $RPM_BUILD_ROOT%{systemdunitdir}/systemd-udevd.service.d \
833         $RPM_BUILD_ROOT%{_prefix}/lib/{repart.d,systemd/system-environment-generators}
834
835 %ninja_install -C build
836
837 touch $RPM_BUILD_ROOT/var/lib/%{name}/random-seed
838
839 install -p -m755 build/systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted
840
841 # target-pld.patch supplements
842 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/sysinit.target.wants/sys-kernel-config.mount
843 ln -s %{systemdunitdir}/prefdm.service $RPM_BUILD_ROOT%{systemdunitdir}/graphical.target.wants/display-manager.service
844 ln -s prefdm.service $RPM_BUILD_ROOT%{systemdunitdir}/display-manager.service
845 ln -s rescue.service $RPM_BUILD_ROOT%{systemdunitdir}/single.service
846 ln -s %{systemdunitdir}/rc-local.service $RPM_BUILD_ROOT%{systemdunitdir}/multi-user.target.wants/rc-local.service
847
848 # compatibility symlinks to udevd binary
849 mv $RPM_BUILD_ROOT/lib/{systemd/systemd-,udev/}udevd
850 ln -s /lib/udev/udevd $RPM_BUILD_ROOT/lib/systemd/systemd-udevd
851 ln -s /lib/udev/udevd $RPM_BUILD_ROOT%{_rootsbindir}/udevd
852
853 # compat symlinks for "/ merged into /usr" programs
854 ln -s ../bin/udevadm $RPM_BUILD_ROOT%{_rootsbindir}
855 ln -s /lib/udev $RPM_BUILD_ROOT%{_prefix}/lib
856
857 # install custom udev rules from pld package
858 cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
859 cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules
860 cp -a %{SOURCE104} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-uinput.rules
861 cp -a %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-steam_controller.rules
862 cp -a %{SOURCE106} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-i2c.rules
863
864 # http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
865 ln -s /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/80-net-setup-link.rules
866
867 # install udev configs
868 cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/udev/links.conf
869
870 # install udev executables (scripts, helpers, etc.)
871 install -p %{SOURCE110} $RPM_BUILD_ROOT/lib/udev/net_helper
872 install -p %{SOURCE111} $RPM_BUILD_ROOT%{_rootsbindir}/start_udev
873
874 # install misc udev stuff
875 cp -a %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/udev_blacklist.conf
876 cp -a %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
877
878 :>$RPM_BUILD_ROOT%{_sysconfdir}/udev/hwdb.bin
879
880 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man8/{systemd-,}udevd.8
881 echo ".so man8/udevd.8" >$RPM_BUILD_ROOT%{_mandir}/man8/systemd-udevd.8
882
883 # Main binary has been moved, but we don't want to break existing installs
884 ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/bin/systemd
885
886 ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf
887
888 # disable redundant SYSV services
889 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/allowlogin.service
890 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/console.service
891 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/cpusets.service
892 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/killall.service
893 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/netfs.service
894 ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/random.service
895
896 # add static (non-NetworkManager) networking
897 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/network.service
898
899 # restore bind-mounts /var/run -> run and /var/lock -> /run/lock
900 # we don't have those directories symlinked
901 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/var-lock.mount
902 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/var-run.mount
903 ln -s ../var-lock.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
904 ln -s ../var-run.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
905
906 # and remove mounting tmp on tmpfs by default
907 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants/tmp.mount
908
909 # add /tmp cleanup service
910 cp -p %{SOURCE14} $RPM_BUILD_ROOT%{systemdunitdir}/pld-clean-tmp.service
911 install -p %{SOURCE15} $RPM_BUILD_ROOT/lib/systemd/pld-clean-tmp
912 ln -s ../pld-clean-tmp.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants
913
914 # Add inside container only SIGPWR handler which is used by lxc-stop
915 install -p %{SOURCE20} $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr-container-shutdown.service
916 install -d $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr.target.wants
917 ln -s ../sigpwr-container-shutdown.service $RPM_BUILD_ROOT%{systemdunitdir}/sigpwr.target.wants
918
919 # As of 207 the systemd-sysctl tool no longer natively reads the file /etc/sysctl.conf.
920 # If desired, the file should be symlinked from /etc/sysctl.d/99-sysctl.conf.
921 ln -s /etc/sysctl.conf $RPM_BUILD_ROOT/etc/sysctl.d/99-sysctl.conf
922
923 # Install rc-inetd replacement
924 cp -p %{SOURCE16} $RPM_BUILD_ROOT%{systemdunitdir}-generators/pld-rc-inetd-generator
925 cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdunitdir}/rc-inetd.service
926
927 cp -p %{SOURCE18} $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system-preset/default.preset
928
929 cp -p %{SOURCE19} $RPM_BUILD_ROOT%{systemdunitdir}/prefdm.service
930
931 # handled by rc-local sysv service, no need for generator
932 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}-generators/systemd-rc-local-generator \
933         $RPM_BUILD_ROOT%{_mandir}/man8/systemd-rc-local-generator.8
934
935 # provided by rc-scripts
936 %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/rc-local.service \
937         $RPM_BUILD_ROOT%{_mandir}/man8/rc-local.service.8
938
939 # Make sure these directories are properly owned:
940 #       - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd,
941 #       - syslog _might_ be used by some syslog implementation (none for now),
942 #       - isn't dbus populated by dbus-systemd only (so to be moved there)?
943 install -d $RPM_BUILD_ROOT%{systemdunitdir}/{basic,dbus,halt,initrd,kexec,poweroff,reboot,shutdown,syslog}.target.wants
944
945 # Make sure the shutdown/sleep drop-in dirs exist
946 install -d $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system-{shutdown,sleep}
947
948 # Create new-style configuration files so that we can ghost-own them
949 touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,vconsole.conf}
950
951 # Install SysV conversion tool for systemd
952 install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
953
954 # Create directory for service helper scripts
955 install -d $RPM_BUILD_ROOT/lib/systemd/pld-helpers.d
956
957 install -d $RPM_BUILD_ROOT/var/log
958 :> $RPM_BUILD_ROOT/var/log/btmp
959 :> $RPM_BUILD_ROOT/var/log/wtmp
960
961 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
962
963 %find_lang %{name}
964
965 %clean
966 rm -rf $RPM_BUILD_ROOT
967
968 %pre
969 %groupadd -g 288 systemd-journal
970 %groupadd -g 316 systemd-network
971 %useradd -u 316 -g 316 -d /var/log/journal -s /bin/false -c "Systemd Network Management" systemd-network
972 %groupadd -g 317 systemd-resolve
973 %useradd -u 317 -g 317 -d /var/log/journal -s /bin/false -c "Systemd Resolver" systemd-resolve
974 %groupadd -g 318 systemd-timesync
975 %useradd -u 318 -g 318 -d /var/log/journal -s /bin/false -c "Systemd Time Synchronization" systemd-timesync
976 %groupadd -g 319 systemd-journal-remote
977 %useradd -u 319 -g 319 -d /var/log/journal -s /bin/false -c "Systemd Journal Remote" systemd-journal-remote
978 %groupadd -g 320 systemd-journal-upload
979 %useradd -u 320 -g 320 -d /var/log/journal -s /bin/false -c "Systemd Journal Upload" systemd-journal-upload
980 %groupadd -g 333 systemd-coredump
981 %useradd -u 333 -g 333 -d /var/log/journal -s /bin/false -c "Systemd Core Dumper" systemd-coredump
982 %groupadd -g 341 systemd-oom
983 %useradd -u 341 -g 341 -d /var/log/journal -s /bin/false -c "Systemd Userspace OOM Killer" systemd-oom
984
985 %post
986 /bin/systemd-machine-id-setup || :
987 /lib/systemd/systemd-random-seed save || :
988 /bin/systemctl --system daemon-reexec || :
989 /bin/journalctl --update-catalog || :
990 /bin/systemd-sysusers || :
991
992 %postun
993 if [ $1 -ge 1 ]; then
994         /bin/systemctl --system daemon-reload || :
995         /bin/systemctl try-restart systemd-logind.service || :
996 fi
997 if [ "$1" = "0" ]; then
998         %userremove systemd-coredump
999         %groupremove systemd-coredump
1000         %userremove systemd-network
1001         %groupremove systemd-network
1002         %userremove systemd-oom
1003         %groupremove systemd-oom
1004         %userremove systemd-resolve
1005         %groupremove systemd-resolve
1006         %userremove systemd-timesync
1007         %groupremove systemd-timesync
1008         %userremove systemd-journal-remote
1009         %groupremove systemd-journal-remote
1010         %userremove systemd-journal-upload
1011         %groupremove systemd-journal-upload
1012         %groupremove systemd-journal
1013 fi
1014
1015 %triggerpostun -- systemd < 1:220-1
1016 # systemd < 1:208-1
1017 chgrp -R systemd-journal /var/log/journal
1018 chmod g+s /var/log/journal
1019 # systemd < 1:220-1
1020 # https://bugs.freedesktop.org/show_bug.cgi?id=89202
1021 /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) || :
1022
1023 %triggerpostun -- systemd-consoled < 1:232-1
1024 if [ -f %{_sysconfdir}/vconsole.conf.rpmsave ]; then
1025         %{__mv} -f %{_sysconfdir}/vconsole.conf %{_sysconfdir}/vconsole.conf.rpmnew
1026         %{__mv} -f %{_sysconfdir}/vconsole.conf.rpmsave %{_sysconfdir}/vconsole.conf
1027 fi
1028
1029 %post   libs -p /sbin/ldconfig
1030 %postun libs -p /sbin/ldconfig
1031
1032 %post units
1033 if [ $1 -eq 1 ]; then
1034         # Try to read default runlevel from the old inittab if it exists
1035         runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2>/dev/null)
1036         if [ -z "$runlevel" ] ; then
1037                 target="%{systemdunitdir}/graphical.target"
1038         else
1039                 target="%{systemdunitdir}/runlevel$runlevel.target"
1040         fi
1041
1042         # And symlink what we found to the new-style default.target
1043         ln -s "$target" %{_sysconfdir}/systemd/system/default.target || :
1044
1045         # Setup hostname if not yet done so
1046         if [ ! -s /etc/hostname ]; then
1047                 HOSTNAME=
1048                 [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
1049                 if [ -n "$HOSTNAME" -a "$HOSTNAME" != "pldmachine" ]; then
1050                         echo $HOSTNAME > /etc/hostname
1051                         chmod 644 /etc/hostname
1052                 fi
1053         fi
1054
1055         # Enable the services we install by default.
1056         /bin/systemctl enable \
1057                 network.service \
1058                 remote-fs.target \
1059                 systemd-udev-settle.service || :
1060 fi
1061
1062 %preun units
1063 if [ $1 -eq 0 ] ; then
1064         /bin/systemctl disable \
1065                 network.service \
1066                 remote-fs.target \
1067                 systemd-udev-settle.service || :
1068
1069         %{__rm} -f %{_sysconfdir}/systemd/system/default.target || :
1070 fi
1071
1072 %postun units
1073 if [ $1 -ge 1 ]; then
1074         /bin/systemctl daemon-reload || :
1075 fi
1076
1077 %triggerpostun units -- systemd-units < 1:242
1078 # systemd-units < 43-7
1079 # Remove design fialures
1080 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service || :
1081 %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service || :
1082 %{__rm} -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service || :
1083 /bin/systemctl reenable network.service || :
1084 # systemd-units < 1:183
1085 /bin/systemctl --quiet enable systemd-udev-settle.service || :
1086 %{__rm} -f /etc/systemd/system/basic.target.wants/udev-settle.service || :
1087 # preserve renamed configs
1088 if [ -f /etc/systemd/systemd-journald.conf.rpmsave ]; then
1089         %{__mv} /etc/systemd/journald.conf{,.rpmnew}
1090         %{__mv} -f /etc/systemd/systemd-journald.conf.rpmsave /etc/systemd/journald.conf
1091 fi
1092 if [ -f /etc/systemd/systemd-logind.conf.rpmsave ]; then
1093         %{__mv} /etc/systemd/logind.conf{,.rpmnew}
1094         %{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf
1095 fi
1096 # systemd-units < 1:187-3
1097 if [ -f /etc/sysconfig/rpm ]; then
1098         . /etc/sysconfig/rpm
1099         if [ ${RPM_ENABLE_SYSTEMD_SERVICE:-yes} = no ]; then
1100                 echo "disable *" >>%{_sysconfdir}/systemd/system-preset/default.preset
1101         fi
1102 fi
1103 # systemd-units < 1:208-9
1104 # remove buggy symlink
1105 if [ -L /etc/systemd/system/getty.target.wants/getty@.service ] ; then
1106         rm -f /etc/systemd/system/getty.target.wants/getty@.service || :
1107 fi
1108 # systemd-units < 1:242
1109 if [ -L /var/lib/systemd/timesync ] ; then
1110         rm -f /var/lib/systemd/timesync || :
1111 fi
1112
1113 %post inetd
1114 %systemd_reload
1115 # Do not change it to restart, we only want to start new services here
1116 %systemd_service_start sockets.target
1117
1118 %postun inetd
1119 %systemd_reload
1120
1121 %pre journal-gateway
1122 %groupadd -g 287 systemd-journal-gateway
1123 %useradd -u 287 -g 287 -d /var/log/journal -s /bin/false -c "Systemd Journal Gateway" systemd-journal-gateway
1124
1125 %post journal-gateway
1126 %systemd_post systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
1127
1128 %preun journal-gateway
1129 %systemd_preun systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
1130
1131 %postun journal-gateway
1132 %systemd_reload
1133
1134 if [ "$1" = "0" ]; then
1135         %userremove systemd-journal-gateway
1136         %groupremove systemd-journal-gateway
1137 fi
1138
1139 %post networkd
1140 %systemd_post systemd-networkd.socket systemd-networkd.service
1141
1142 %preun networkd
1143 %systemd_preun systemd-networkd.socket systemd-networkd.service
1144
1145 %postun networkd
1146 %systemd_reload
1147
1148 %post resolved
1149 %systemd_post systemd-resolved.service
1150
1151 %preun resolved
1152 %systemd_preun systemd-resolved.service
1153
1154 %postun resolved
1155 %systemd_reload
1156
1157 %triggerpostun -n udev-core -- dev
1158 if [ "$2" = 0 ]; then
1159         # need to kill and restart udevd as after obsoleting dev package the
1160         # /dev tree will remain empty. umask is needed as otherwise udev will
1161         # create devices with strange permissions (udev bug probably)
1162         umask 000
1163         /sbin/start_udev || exit 0
1164 fi
1165
1166 %triggerpostun -n udev-core -- udev < 165
1167 # udev < 108
1168 %{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules
1169 %if "%{_lib}" != "lib"
1170 %{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules
1171 %endif
1172
1173 # udev < 165
1174 /bin/udevadm info --convert-db
1175
1176 %post -n udev-core
1177 /bin/udevadm hwdb --update || :
1178 if [ $1 -gt 1 ]; then
1179         if [ ! -x /bin/systemd_booted ] || ! /bin/systemd_booted; then
1180                 if grep -qs devtmpfs /proc/mounts && [ -n "$(pidof udevd)" ]; then
1181                         /bin/udevadm control --exit
1182                         /lib/udev/udevd --daemon
1183                 fi
1184         else
1185                 SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
1186                 /bin/systemctl --quiet try-restart systemd-udevd.service || :
1187         fi
1188 fi
1189
1190 %postun -n udev-core
1191 if [ -x /bin/systemd_booted ] && /bin/systemd_booted; then
1192         SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
1193         /bin/systemctl --quiet daemon-reload || :
1194 fi
1195
1196 %post   -n udev-libs -p /sbin/ldconfig
1197 %postun -n udev-libs -p /sbin/ldconfig
1198
1199 %files -f %{name}.lang
1200 %defattr(644,root,root,755)
1201 %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
1202 %{_datadir}/dbus-1/interfaces/org.freedesktop.LogControl1.xml
1203 %{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml
1204 %{_datadir}/dbus-1/interfaces/org.freedesktop.import1.*.xml
1205 %{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml
1206 %{_datadir}/dbus-1/interfaces/org.freedesktop.login1.*.xml
1207 %{_datadir}/dbus-1/interfaces/org.freedesktop.machine1.*.xml
1208 %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml
1209 %{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml
1210 %{_datadir}/dbus-1/system.d/org.freedesktop.hostname1.conf
1211 %{_datadir}/dbus-1/system.d/org.freedesktop.import1.conf
1212 %{_datadir}/dbus-1/system.d/org.freedesktop.locale1.conf
1213 %{_datadir}/dbus-1/system.d/org.freedesktop.login1.conf
1214 %{_datadir}/dbus-1/system.d/org.freedesktop.machine1.conf
1215 %{_datadir}/dbus-1/system.d/org.freedesktop.systemd1.conf
1216 %{_datadir}/dbus-1/system.d/org.freedesktop.timedate1.conf
1217 %{_datadir}/dbus-1/system.d/org.freedesktop.timesync1.conf
1218 %attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/50-systemd-user.sh
1219 %attr(444,root,root) %ghost %config(noreplace) %{_sysconfdir}/machine-id
1220 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname
1221 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf
1222 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info
1223 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf
1224 %dir %{_sysconfdir}/kernel
1225 %dir %{_sysconfdir}/kernel/install.d
1226 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/coredump.conf
1227 %if %{with microhttpd}
1228 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journal-remote.conf
1229 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journal-upload.conf
1230 %endif
1231 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journald.conf
1232 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/logind.conf
1233 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/pstore.conf
1234 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/sleep.conf
1235 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system.conf
1236 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/timesyncd.conf
1237 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/user.conf
1238 %dir %{_sysconfdir}/systemd/user
1239
1240 %config(noreplace) %verify(not md5 mtime size) /usr/lib/pam.d/systemd-user
1241 /etc/xdg/systemd
1242 %attr(755,root,root) /bin/journalctl
1243 %attr(755,root,root) /bin/loginctl
1244 %attr(755,root,root) /bin/machinectl
1245 %attr(755,root,root) /bin/systemd
1246 %attr(755,root,root) /bin/systemd-ask-password
1247 %attr(755,root,root) /bin/systemd-creds
1248 %attr(755,root,root) /bin/systemd-escape
1249 %attr(755,root,root) /bin/systemd-firstboot
1250 %attr(755,root,root) /bin/systemd-inhibit
1251 %attr(755,root,root) /bin/systemd-machine-id-setup
1252 %attr(755,root,root) /bin/systemd-notify
1253 %attr(755,root,root) /bin/systemd-sysext
1254 %attr(755,root,root) /bin/systemd-sysusers
1255 %attr(755,root,root) /bin/systemd-tty-ask-password-agent
1256 %attr(755,root,root) /bin/userdbctl
1257 %{?with_efi:%attr(755,root,root) %{_bindir}/bootctl}
1258 %attr(755,root,root) %{_bindir}/busctl
1259 %attr(755,root,root) %{_bindir}/coredumpctl
1260 %attr(755,root,root) %{_bindir}/hostnamectl
1261 %attr(755,root,root) %{_bindir}/kernel-install
1262 %attr(755,root,root) %{_bindir}/localectl
1263 %attr(755,root,root) %{_bindir}/systemd-cat
1264 %{?with_cryptsetup:%attr(755,root,root) %{_bindir}/systemd-cryptenroll}
1265 %attr(755,root,root) %{_bindir}/systemd-delta
1266 %attr(755,root,root) %{_bindir}/systemd-detect-virt
1267 %attr(755,root,root) %{_bindir}/systemd-dissect
1268 %attr(755,root,root) %{_bindir}/systemd-id128
1269 %attr(755,root,root) %{_bindir}/systemd-mount
1270 %attr(755,root,root) %{_bindir}/systemd-nspawn
1271 %attr(755,root,root) %{_bindir}/systemd-path
1272 %attr(755,root,root) %{_bindir}/systemd-resolve
1273 %attr(755,root,root) %{_bindir}/systemd-run
1274 %attr(755,root,root) %{_bindir}/systemd-socket-activate
1275 %attr(755,root,root) %{_bindir}/systemd-stdio-bridge
1276 %attr(755,root,root) %{_bindir}/systemd-sysv-convert
1277 %attr(755,root,root) %{_bindir}/systemd-umount
1278 %attr(755,root,root) %{_bindir}/timedatectl
1279 /lib/modprobe.d/systemd.conf
1280 /lib/systemd/import-pubring.gpg
1281 /lib/systemd/resolv.conf
1282 %attr(755,root,root) /lib/systemd/pld-clean-tmp
1283 %attr(755,root,root) /lib/systemd/systemd-ac-power
1284 %attr(755,root,root) /lib/systemd/systemd-backlight
1285 %attr(755,root,root) /lib/systemd/systemd-binfmt
1286 %{?with_efi:%attr(755,root,root) /lib/systemd/systemd-bless-boot}
1287 %attr(755,root,root) /lib/systemd/systemd-boot-check-no-failures
1288 %attr(755,root,root) /lib/systemd/systemd-cgroups-agent
1289 %attr(755,root,root) /lib/systemd/systemd-coredump
1290 %if %{with cryptsetup}
1291 %attr(755,root,root) /lib/systemd/systemd-cryptsetup
1292 %attr(755,root,root) /lib/systemd/systemd-integritysetup
1293 %{?with_fido2:%attr(755,root,root) /usr/%{_lib}/cryptsetup/libcryptsetup-token-systemd-fido2.so}
1294 %attr(755,root,root) /usr/%{_lib}/cryptsetup/libcryptsetup-token-systemd-pkcs11.so
1295 %{?with_tpm2:%attr(755,root,root) /usr/%{_lib}/cryptsetup/libcryptsetup-token-systemd-tpm2.so}
1296 %endif
1297 %attr(755,root,root) /lib/systemd/systemd-export
1298 %attr(755,root,root) /lib/systemd/systemd-fsck
1299 %attr(755,root,root) /lib/systemd/systemd-growfs
1300 %attr(755,root,root) /lib/systemd/systemd-hibernate-resume
1301 %attr(755,root,root) /lib/systemd/systemd-hostnamed
1302 %attr(755,root,root) /lib/systemd/systemd-import
1303 %attr(755,root,root) /lib/systemd/systemd-import-fs
1304 %attr(755,root,root) /lib/systemd/systemd-importd
1305 %attr(755,root,root) /lib/systemd/systemd-initctl
1306 %attr(755,root,root) /lib/systemd/systemd-journald
1307 %if %{with microhttpd}
1308 %attr(755,root,root) /lib/systemd/systemd-journal-remote
1309 %attr(755,root,root) /lib/systemd/systemd-journal-upload
1310 %endif
1311 %attr(755,root,root) /lib/systemd/systemd-localed
1312 %attr(755,root,root) /lib/systemd/systemd-logind
1313 %attr(755,root,root) /lib/systemd/systemd-machined
1314 %attr(755,root,root) /lib/systemd/systemd-makefs
1315 %attr(755,root,root) /lib/systemd/systemd-modules-load
1316 %attr(755,root,root) /lib/systemd/systemd-pstore
1317 %attr(755,root,root) /lib/systemd/systemd-pull
1318 %attr(755,root,root) /lib/systemd/systemd-quotacheck
1319 %attr(755,root,root) /lib/systemd/systemd-random-seed
1320 %attr(755,root,root) /lib/systemd/systemd-remount-fs
1321 %attr(755,root,root) /lib/systemd/systemd-reply-password
1322 %attr(755,root,root) /lib/systemd/systemd-rfkill
1323 %attr(755,root,root) /lib/systemd/systemd-shutdown
1324 %attr(755,root,root) /lib/systemd/systemd-sleep
1325 %attr(755,root,root) /lib/systemd/systemd-socket-proxyd
1326 %attr(755,root,root) /lib/systemd/systemd-sulogin-shell
1327 %attr(755,root,root) /lib/systemd/systemd-sysctl
1328 %attr(755,root,root) /lib/systemd/systemd-time-wait-sync
1329 %attr(755,root,root) /lib/systemd/systemd-timedated
1330 %attr(755,root,root) /lib/systemd/systemd-timesyncd
1331 %attr(755,root,root) /lib/systemd/systemd-udevd
1332 %attr(755,root,root) /lib/systemd/systemd-update-utmp
1333 %attr(755,root,root) /lib/systemd/systemd-update-done
1334 %attr(755,root,root) /lib/systemd/systemd-user-runtime-dir
1335 %attr(755,root,root) /lib/systemd/systemd-user-sessions
1336 %attr(755,root,root) /lib/systemd/systemd-userdbd
1337 %attr(755,root,root) /lib/systemd/systemd-userwork
1338 %attr(755,root,root) /lib/systemd/systemd-vconsole-setup
1339 %attr(755,root,root) /lib/systemd/systemd-veritysetup
1340 %attr(755,root,root) /lib/systemd/systemd-volatile-root
1341 %attr(755,root,root) /lib/systemd/systemd-xdg-autostart-condition
1342 %attr(755,root,root) /lib/systemd/systemd
1343 %if %{with cryptsetup}
1344 %attr(755,root,root) /lib/systemd/system-generators/systemd-cryptsetup-generator
1345 %attr(755,root,root) /lib/systemd/system-generators/systemd-integritysetup-generator
1346 %endif
1347 %{?with_efi:%attr(755,root,root) /lib/systemd/system-generators/systemd-bless-boot-generator}
1348 %attr(755,root,root) /lib/systemd/system-generators/systemd-debug-generator
1349 %attr(755,root,root) /lib/systemd/system-generators/systemd-fstab-generator
1350 %attr(755,root,root) /lib/systemd/system-generators/systemd-getty-generator
1351 %attr(755,root,root) /lib/systemd/system-generators/systemd-gpt-auto-generator
1352 %attr(755,root,root) /lib/systemd/system-generators/systemd-hibernate-resume-generator
1353 %attr(755,root,root) /lib/systemd/system-generators/systemd-run-generator
1354 %attr(755,root,root) /lib/systemd/system-generators/systemd-system-update-generator
1355 %attr(755,root,root) /lib/systemd/system-generators/systemd-sysv-generator
1356 %attr(755,root,root) /lib/systemd/system-generators/systemd-veritysetup-generator
1357 %dir /lib/systemd/network
1358 /lib/systemd/network/99-default.link
1359 /lib/udev/rules.d/99-systemd.rules
1360 %{_prefix}/lib/environment.d/99-environment.conf
1361 %dir %{_prefix}/lib/kernel
1362 %dir %{_prefix}/lib/kernel/install.d
1363 %{_prefix}/lib/kernel/install.d/50-depmod.install
1364 %{_prefix}/lib/kernel/install.d/90-loaderentry.install
1365 %if %{with efi}
1366 %dir %{_prefix}/lib/systemd/boot
1367 %dir %{_prefix}/lib/systemd/boot/efi
1368 %ifarch %{ix86}
1369 %{_prefix}/lib/systemd/boot/efi/linuxia32.efi.stub
1370 %{_prefix}/lib/systemd/boot/efi/linuxia32.elf.stub
1371 %{_prefix}/lib/systemd/boot/efi/systemd-bootia32.efi
1372 %endif
1373 %ifarch %{x8664} x32
1374 %{_prefix}/lib/systemd/boot/efi/linuxx64.efi.stub
1375 %{_prefix}/lib/systemd/boot/efi/linuxx64.elf.stub
1376 %{_prefix}/lib/systemd/boot/efi/systemd-bootx64.efi
1377 %endif
1378 %ifarch aarch64
1379 %{_prefix}/lib/systemd/boot/efi/linuxaa64.efi.stub
1380 %{_prefix}/lib/systemd/boot/efi/linuxaa64.elf.stub
1381 %{_prefix}/lib/systemd/boot/efi/systemd-bootaa64.efi
1382 %endif
1383 %endif
1384 %{_prefix}/lib/systemd/catalog/systemd.catalog
1385 %lang(be) %{_prefix}/lib/systemd/catalog/systemd.be.catalog
1386 %lang(be) %{_prefix}/lib/systemd/catalog/systemd.be@latin.catalog
1387 %lang(bg) %{_prefix}/lib/systemd/catalog/systemd.bg.catalog
1388 %lang(de) %{_prefix}/lib/systemd/catalog/systemd.de.catalog
1389 %lang(fr) %{_prefix}/lib/systemd/catalog/systemd.fr.catalog
1390 %lang(it) %{_prefix}/lib/systemd/catalog/systemd.it.catalog
1391 %lang(pl) %{_prefix}/lib/systemd/catalog/systemd.pl.catalog
1392 %lang(pt_BR) %{_prefix}/lib/systemd/catalog/systemd.pt_BR.catalog
1393 %lang(ru) %{_prefix}/lib/systemd/catalog/systemd.ru.catalog
1394 %lang(zh_CN) %{_prefix}/lib/systemd/catalog/systemd.zh_CN.catalog
1395 %lang(zh_TW) %{_prefix}/lib/systemd/catalog/systemd.zh_TW.catalog
1396 %dir %{_prefix}/lib/sysusers.d
1397 %{_prefix}/lib/sysusers.d/basic.conf
1398 %{_prefix}/lib/sysusers.d/systemd-coredump.conf
1399 %{_prefix}/lib/sysusers.d/systemd-journal.conf
1400 %{_prefix}/lib/sysusers.d/systemd-timesync.conf
1401 %if %{with microhttpd}
1402 %{_prefix}/lib/sysusers.d/systemd-remote.conf
1403 %endif
1404 %{_prefix}/lib/tmpfiles.d/etc.conf
1405 %{_prefix}/lib/tmpfiles.d/home.conf
1406 %{_prefix}/lib/tmpfiles.d/journal-nocow.conf
1407 %{_prefix}/lib/tmpfiles.d/legacy.conf
1408 %{_prefix}/lib/tmpfiles.d/static-nodes-permissions.conf
1409 %{_prefix}/lib/tmpfiles.d/systemd.conf
1410 %{_prefix}/lib/tmpfiles.d/systemd-nologin.conf
1411 %{_prefix}/lib/tmpfiles.d/systemd-nspawn.conf
1412 %{_prefix}/lib/tmpfiles.d/systemd-pstore.conf
1413 %{_prefix}/lib/tmpfiles.d/systemd-tmp.conf
1414 %{_prefix}/lib/tmpfiles.d/tmp.conf
1415 %{_prefix}/lib/tmpfiles.d/var.conf
1416 %{_prefix}/lib/tmpfiles.d/x11.conf
1417 %{_prefix}/lib/sysctl.d/50-coredump.conf
1418 # if cc.sizeof('long') > 4
1419 %ifarch %{x8664} aarch64
1420 %{_prefix}/lib/sysctl.d/50-pid-max.conf
1421 %endif
1422 %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service
1423 %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
1424 %{_datadir}/dbus-1/system-services/org.freedesktop.import1.service
1425 %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
1426 %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service
1427 %{_datadir}/dbus-1/system-services/org.freedesktop.machine1.service
1428 %{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service
1429 %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service
1430 %{_datadir}/dbus-1/system-services/org.freedesktop.timesync1.service
1431 %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy
1432 %{_datadir}/polkit-1/actions/org.freedesktop.import1.policy
1433 %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy
1434 %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
1435 %{_datadir}/polkit-1/actions/org.freedesktop.machine1.policy
1436 %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy
1437 %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
1438 %{_datadir}/polkit-1/rules.d/systemd-networkd.rules
1439 %dir %{_datadir}/systemd
1440 %{?with_microhttpd:%{_datadir}/systemd/gatewayd}
1441 %{_datadir}/systemd/kbd-model-map
1442 %{_datadir}/systemd/language-fallback-map
1443 %{_datadir}/factory/etc/issue
1444 %{_datadir}/factory/etc/nsswitch.conf
1445 %{_datadir}/factory/etc/pam.d/other
1446 %{_datadir}/factory/etc/pam.d/system-auth
1447 %{?with_efi:%{_mandir}/man1/bootctl.1*}
1448 %{_mandir}/man1/busctl.1*
1449 %{_mandir}/man1/coredumpctl.1*
1450 %{_mandir}/man1/hostnamectl.1*
1451 %{_mandir}/man1/journalctl.1*
1452 %{_mandir}/man1/localectl.1*
1453 %{_mandir}/man1/loginctl.1*
1454 %{_mandir}/man1/machinectl.1*
1455 %{_mandir}/man1/systemd.1*
1456 %{_mandir}/man1/systemd-ask-password.1*
1457 %{_mandir}/man1/systemd-cat.1*
1458 %{_mandir}/man1/systemd-creds.1*
1459 %{?with_cryptsetup:%{_mandir}/man1/systemd-cryptenroll.1*}
1460 %{_mandir}/man1/systemd-delta.1*
1461 %{_mandir}/man1/systemd-detect-virt.1*
1462 %{_mandir}/man1/systemd-dissect.1*
1463 %{_mandir}/man1/systemd-escape.1*
1464 %{_mandir}/man1/systemd-firstboot.1*
1465 %{_mandir}/man1/systemd-firstboot.service.1*
1466 %{_mandir}/man1/systemd-id128.1*
1467 %{_mandir}/man1/systemd-inhibit.1*
1468 %{_mandir}/man1/systemd-machine-id-setup.1*
1469 %{_mandir}/man1/systemd-mount.1*
1470 %{_mandir}/man1/systemd-notify.1*
1471 %{_mandir}/man1/systemd-nspawn.1*
1472 %{_mandir}/man1/systemd-path.1*
1473 %{_mandir}/man1/systemd-run.1*
1474 %{_mandir}/man1/systemd-socket-activate.1*
1475 %{_mandir}/man1/systemd-stdio-bridge.1*
1476 %{_mandir}/man1/systemd-tty-ask-password-agent.1*
1477 %{_mandir}/man1/systemd-umount.1*
1478 %{_mandir}/man1/timedatectl.1*
1479 %{_mandir}/man1/userdbctl.1*
1480 %{_mandir}/man5/binfmt.d.5*
1481 %{_mandir}/man5/coredump.conf.5*
1482 %{_mandir}/man5/coredump.conf.d.5*
1483 %{_mandir}/man5/dnssec-trust-anchors.d.5*
1484 %{_mandir}/man5/extension-release.5*
1485 %{_mandir}/man5/hostname.5*
1486 %{_mandir}/man5/initrd-release.5*
1487 %{_mandir}/man5/journald@.conf.5*
1488 %{?with_efi:%{_mandir}/man5/loader.conf.5*}
1489 %if %{with microhttpd}
1490 %{_mandir}/man5/journal-remote.conf.5*
1491 %{_mandir}/man5/journal-remote.conf.d.5*
1492 %{_mandir}/man5/journal-upload.conf.5.*
1493 %{_mandir}/man5/journal-upload.conf.d.5*
1494 %endif
1495 %{_mandir}/man5/journald.conf.5*
1496 %{_mandir}/man5/journald.conf.d.5*
1497 %{_mandir}/man5/locale.conf.5*
1498 %{_mandir}/man5/localtime.5*
1499 %{_mandir}/man5/logind.conf.5*
1500 %{_mandir}/man5/logind.conf.d.5*
1501 %{_mandir}/man5/machine-id.5*
1502 %{_mandir}/man5/machine-info.5*
1503 %{_mandir}/man5/modules-load.d.5*
1504 %{_mandir}/man5/org.freedesktop.LogControl1.5*
1505 %{_mandir}/man5/org.freedesktop.hostname1.5*
1506 %{_mandir}/man5/org.freedesktop.import1.5*
1507 %{_mandir}/man5/org.freedesktop.locale1.5*
1508 %{_mandir}/man5/org.freedesktop.login1.5*
1509 %{_mandir}/man5/org.freedesktop.machine1.5*
1510 %{_mandir}/man5/org.freedesktop.systemd1.5*
1511 %{_mandir}/man5/org.freedesktop.timedate1.5*
1512 %{_mandir}/man5/os-release.5*
1513 %{_mandir}/man5/pstore.conf.5*
1514 %{_mandir}/man5/pstore.conf.d.5*
1515 %{_mandir}/man5/sleep.conf.d.5*
1516 %{_mandir}/man5/sysctl.d.5*
1517 %{_mandir}/man5/system.conf.d.5*
1518 %{_mandir}/man5/systemd.*.5*
1519 %{_mandir}/man5/systemd-sleep.conf.5*
1520 %{_mandir}/man5/systemd-system.conf.5*
1521 %{_mandir}/man5/systemd-user.conf.5*
1522 %{_mandir}/man5/systemd-user-runtime-dir.5*
1523 %{_mandir}/man5/sysusers.d.5*
1524 %{_mandir}/man5/timesyncd.conf.5*
1525 %{_mandir}/man5/timesyncd.conf.d.5*
1526 %{_mandir}/man5/user.conf.d.5*
1527 %{_mandir}/man5/vconsole.conf.5*
1528 %{_mandir}/man7/bootup.7*
1529 %{_mandir}/man7/daemon.7*
1530 %{_mandir}/man7/file-hierarchy.7*
1531 %{_mandir}/man7/kernel-command-line.7*
1532 %if %{with efi}
1533 %ifarch %{ix86}
1534 %{_mandir}/man7/linuxia32.efi.stub.7*
1535 %endif
1536 %ifarch %{x8664}
1537 %{_mandir}/man7/linuxx64.efi.stub.7*
1538 %endif
1539 %ifarch aarch64
1540 %{_mandir}/man7/linuxaa64.efi.stub.7*
1541 %endif
1542 %{_mandir}/man7/sd-boot.7*
1543 %{_mandir}/man7/systemd-boot.7*
1544 %{_mandir}/man7/systemd-stub.7*
1545 %endif
1546 %{_mandir}/man7/systemd.directives.7*
1547 %{_mandir}/man7/systemd.environment-generator.7*
1548 %{_mandir}/man7/systemd.generator.7*
1549 %{_mandir}/man7/systemd.index.7*
1550 %{_mandir}/man7/systemd.journal-fields.7*
1551 %{_mandir}/man7/systemd.offline-updates.7*
1552 %{_mandir}/man7/systemd.special.7*
1553 %{_mandir}/man7/systemd.syntax.7*
1554 %{_mandir}/man7/systemd.time.7*
1555 %{_mandir}/man8/kernel-install.8*
1556 %{_mandir}/man8/libnss_myhostname.so.2.8*
1557 %{_mandir}/man8/libnss_mymachines.so.2.8*
1558 %{_mandir}/man8/nss-myhostname.8*
1559 %{_mandir}/man8/nss-mymachines.8*
1560 %{_mandir}/man8/systemd-backlight.8*
1561 %{_mandir}/man8/systemd-binfmt.8*
1562 %if %{with efi}
1563 %{_mandir}/man8/systemd-bless-boot.8*
1564 %{_mandir}/man8/systemd-bless-boot-generator.8*
1565 %endif
1566 %{_mandir}/man8/systemd-boot-check-no-failures.8*
1567 %{_mandir}/man8/systemd-coredump.8*
1568 %if %{with cryptsetup}
1569 %{_mandir}/man8/systemd-cryptsetup-generator.8*
1570 %{_mandir}/man8/systemd-integritysetup-generator.8*
1571 %endif
1572 %{_mandir}/man8/systemd-debug-generator.8*
1573 %{_mandir}/man8/systemd-fsck.8*
1574 %{_mandir}/man8/systemd-fstab-generator.8*
1575 %{_mandir}/man8/systemd-getty-generator.8*
1576 %{_mandir}/man8/systemd-gpt-auto-generator.8*
1577 %{_mandir}/man8/systemd-growfs.8*
1578 %{_mandir}/man8/systemd-growfs@.service.8*
1579 %{_mandir}/man8/systemd-hibernate-resume-generator.8*
1580 %{_mandir}/man8/systemd-hibernate-resume.8*
1581 %{_mandir}/man8/systemd-hibernate-resume@.service.8*
1582 %{_mandir}/man8/systemd-hostnamed.8*
1583 %{_mandir}/man8/systemd-importd.8*
1584 %{_mandir}/man8/systemd-initctl.8*
1585 %{_mandir}/man8/systemd-journald-dev-log.socket.8*
1586 %{_mandir}/man8/systemd-journald-varlink@.socket.8*
1587 %{_mandir}/man8/systemd-journald.8*
1588 %{_mandir}/man8/systemd-journald@.service.8*
1589 %{_mandir}/man8/systemd-journald@.socket.8*
1590 %if %{with microhttpd}
1591 %{_mandir}/man8/systemd-journal-remote.8*
1592 %{_mandir}/man8/systemd-journal-upload.8*
1593 %endif
1594 %{_mandir}/man8/systemd-localed.8*
1595 %{_mandir}/man8/systemd-logind.8*
1596 %{_mandir}/man8/systemd-machined.8*
1597 %{_mandir}/man8/systemd-machine-id-commit.service.8*
1598 %{_mandir}/man8/systemd-makefs.8*
1599 %{_mandir}/man8/systemd-makefs@.service.8*
1600 %{_mandir}/man8/systemd-mkswap@.service.8*
1601 %{_mandir}/man8/systemd-modules-load.8*
1602 %{_mandir}/man8/systemd-pstore.8*
1603 %{_mandir}/man8/systemd-pstore.service.8*
1604 %{_mandir}/man8/systemd-quotacheck.8*
1605 %{_mandir}/man8/systemd-random-seed.8*
1606 %{_mandir}/man8/systemd-remount-fs.8*
1607 %{_mandir}/man8/systemd-rfkill.8*
1608 %{_mandir}/man8/systemd-rfkill.service.8*
1609 %{_mandir}/man8/systemd-run-generator.8*
1610 %{_mandir}/man8/systemd-shutdown.8*
1611 %{_mandir}/man8/systemd-sleep.8*
1612 %{_mandir}/man8/systemd-socket-proxyd.8*
1613 %{_mandir}/man8/systemd-sysctl.8*
1614 %{_mandir}/man8/systemd-sysext.8*
1615 %{_mandir}/man8/systemd-system-update-generator.8*
1616 %{_mandir}/man8/systemd-sysusers.8*
1617 %{_mandir}/man8/systemd-sysusers.service.8*
1618 %{_mandir}/man8/systemd-sysv-generator.8*
1619 %{_mandir}/man8/systemd-time-wait-sync.8*
1620 %{_mandir}/man8/systemd-timedated.8*
1621 %{_mandir}/man8/systemd-timesyncd.8*
1622 %{_mandir}/man8/systemd-timesyncd.service.8*
1623 %{_mandir}/man8/systemd-udevd.8*
1624 %{_mandir}/man8/systemd-update-done.8*
1625 %{_mandir}/man8/systemd-update-done.service.8*
1626 %{_mandir}/man8/systemd-update-utmp.8*
1627 %{_mandir}/man8/systemd-user-sessions.8*
1628 %{_mandir}/man8/systemd-userdbd.8*
1629 %{_mandir}/man8/systemd-vconsole-setup.8*
1630 %{_mandir}/man8/systemd-veritysetup.8*
1631 %{_mandir}/man8/systemd-veritysetup-generator.8*
1632 %{_mandir}/man8/systemd-veritysetup@.service.8*
1633 %{_mandir}/man8/systemd-volatile-root.8*
1634 %{_mandir}/man8/systemd-volatile-root.service.8*
1635 %{_mandir}/man8/systemd-xdg-autostart-generator.8*
1636 %attr(700,root,root) %dir /var/lib/machines
1637 %dir /var/lib/%{name}
1638 %dir /var/lib/%{name}/coredump
1639 %dir /var/lib/%{name}/catalog
1640 %attr(640,root,root) %ghost /var/lib/%{name}/random-seed
1641 %attr(600,root,utmp) %ghost /var/log/btmp
1642 %attr(664,root,utmp) %ghost /var/log/wtmp
1643 %attr(2755,root,systemd-journal) %dir /var/log/journal
1644 %attr(2755,root,systemd-journal) %dir /var/log/journal/remote
1645
1646 %if %{with pam}
1647 %attr(755,root,root) /%{_lib}/security/pam_systemd.so
1648 %{_mandir}/man8/pam_systemd.8*
1649 %endif
1650
1651 %files init
1652 %defattr(644,root,root,755)
1653 %attr(755,root,root) /sbin/halt
1654 %attr(755,root,root) /sbin/init
1655 %attr(755,root,root) /sbin/poweroff
1656 %attr(755,root,root) /sbin/reboot
1657 %attr(755,root,root) /sbin/runlevel
1658 %attr(755,root,root) /sbin/shutdown
1659 %attr(755,root,root) /sbin/telinit
1660 %{_mandir}/man1/init.1*
1661 %if %{with cryptsetup}
1662 %{_mandir}/man5/crypttab.5*
1663 %{_mandir}/man5/integritytab.5*
1664 %{_mandir}/man5/veritytab.5*
1665 %endif
1666 %{_mandir}/man8/halt.8*
1667 %{_mandir}/man8/poweroff.8*
1668 %{_mandir}/man8/reboot.8*
1669 %{_mandir}/man8/runlevel.8*
1670 %{_mandir}/man8/shutdown.8*
1671 %{_mandir}/man8/telinit.8*
1672
1673 %files units
1674 %defattr(644,root,root,755)
1675 %dir %{_sysconfdir}/binfmt.d
1676 %dir %{_sysconfdir}/modules-load.d
1677 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf
1678 %dir %{_sysconfdir}/sysctl.d
1679 %{_sysconfdir}/sysctl.d/99-sysctl.conf
1680 %dir %{_sysconfdir}/systemd
1681 %dir %{_sysconfdir}/systemd/system
1682 %dir %{_sysconfdir}/systemd/system-preset
1683 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system-preset/default.preset
1684 %dir %{_sysconfdir}/tmpfiles.d
1685 %dir %{_prefix}/lib/binfmt.d
1686 %dir %{_prefix}/lib/environment.d
1687 %dir %{_prefix}/lib/modules-load.d
1688 %dir %{_prefix}/lib/sysctl.d
1689 %{_prefix}/lib/sysctl.d/50-default.conf
1690 %dir %{_prefix}/lib/systemd
1691 %dir %{_prefix}/lib/systemd/catalog
1692 %dir %{_prefix}/lib/systemd/system-shutdown
1693 %dir %{_prefix}/lib/systemd/system-sleep
1694 %dir %{_prefix}/lib/systemd/user
1695 %{_prefix}/lib/systemd/user/app.slice
1696 %{_prefix}/lib/systemd/user/background.slice
1697 %{_prefix}/lib/systemd/user/basic.target
1698 %{_prefix}/lib/systemd/user/bluetooth.target
1699 %{_prefix}/lib/systemd/user/default.target
1700 %{_prefix}/lib/systemd/user/exit.target
1701 %{_prefix}/lib/systemd/user/paths.target
1702 %{_prefix}/lib/systemd/user/printer.target
1703 %{_prefix}/lib/systemd/user/session.slice
1704 %{_prefix}/lib/systemd/user/shutdown.target
1705 %{_prefix}/lib/systemd/user/smartcard.target
1706 %{_prefix}/lib/systemd/user/sockets.target
1707 %{_prefix}/lib/systemd/user/sound.target
1708 %{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.service
1709 %{_prefix}/lib/systemd/user/systemd-tmpfiles-clean.timer
1710 %{_prefix}/lib/systemd/user/systemd-tmpfiles-setup.service
1711 %{_prefix}/lib/systemd/user/timers.target
1712 %{_prefix}/lib/systemd/user/systemd-exit.service
1713 %{_prefix}/lib/systemd/user/xdg-desktop-autostart.target
1714 %dir %{_prefix}/lib/systemd/user-generators
1715 %attr(755,root,root) %{_prefix}/lib/systemd/user-generators/systemd-xdg-autostart-generator
1716 %dir %{_prefix}/lib/systemd/user-environment-generators
1717 %attr(755,root,root) %{_prefix}/lib/systemd/user-environment-generators/30-systemd-environment-d-generator
1718 %dir %{_prefix}/lib/systemd/user-preset
1719 %{_prefix}/lib/systemd/user-preset/90-systemd.preset
1720 %dir %{_prefix}/lib/systemd/system-environment-generators
1721 %dir /lib/systemd/ntp-units.d
1722 /lib/systemd/ntp-units.d/80-systemd-timesync.list
1723 %dir /lib/systemd/pld-helpers.d
1724 %dir /lib/systemd/system-generators
1725 %dir /lib/systemd/system-preset
1726 /lib/systemd/system-preset/90-systemd.preset
1727 %dir /lib/systemd/system-sleep
1728 %dir /lib/systemd/system-shutdown
1729 %attr(755,root,root) /lib/systemd/systemd-update-helper
1730 %attr(755,root,root) /bin/systemctl
1731 %attr(755,root,root) /bin/systemd-tmpfiles
1732 %attr(755,root,root) /bin/systemd_booted
1733 %{_mandir}/man1/systemctl.1*
1734 %{_mandir}/man5/tmpfiles.d.5*
1735 %{_mandir}/man5/environment.d.5*
1736 %{_mandir}/man8/systemd-tmpfiles.8*
1737
1738 %{systemdunitdir}/dev-hugepages.mount
1739 %{systemdunitdir}/dev-mqueue.mount
1740 %{systemdunitdir}/initrd-root-device.target
1741 %{systemdunitdir}/proc-sys-fs-binfmt_misc.automount
1742 %{systemdunitdir}/proc-sys-fs-binfmt_misc.mount
1743 %{systemdunitdir}/sockets.target.wants/systemd-coredump.socket
1744 %{systemdunitdir}/sys-fs-fuse-connections.mount
1745 %{systemdunitdir}/sys-kernel-config.mount
1746 %{systemdunitdir}/sys-kernel-debug.mount
1747 %{systemdunitdir}/sys-kernel-tracing.mount
1748 %{systemdunitdir}/systemd-coredump@.service
1749 %{systemdunitdir}/systemd-coredump.socket
1750 %{systemdunitdir}/systemd-exit.service
1751 %{systemdunitdir}/systemd-pstore.service
1752 %{systemdunitdir}/systemd-rfkill.socket
1753 %{systemdunitdir}/tmp.mount
1754 %{systemdunitdir}/var-lib-machines.mount
1755 %{systemdunitdir}/var-lock.mount
1756 %{systemdunitdir}/var-run.mount
1757 %{systemdunitdir}/systemd-ask-password-console.path
1758 %{systemdunitdir}/systemd-ask-password-wall.path
1759 %{systemdunitdir}/allowlogin.service
1760 %{systemdunitdir}/autovt@.service
1761 %{systemdunitdir}/console-getty.service
1762 %{systemdunitdir}/console.service
1763 %{systemdunitdir}/container-getty@.service
1764 %{systemdunitdir}/cpusets.service
1765 %{systemdunitdir}/dbus-org.freedesktop.hostname1.service
1766 %{systemdunitdir}/dbus-org.freedesktop.import1.service
1767 %{systemdunitdir}/dbus-org.freedesktop.locale1.service
1768 %{systemdunitdir}/dbus-org.freedesktop.login1.service
1769 %{systemdunitdir}/dbus-org.freedesktop.machine1.service
1770 %{systemdunitdir}/dbus-org.freedesktop.timedate1.service
1771 %{systemdunitdir}/debug-shell.service
1772 %{systemdunitdir}/display-manager.service
1773 %{systemdunitdir}/emergency.service
1774 %{systemdunitdir}/getty@.service
1775 %{systemdunitdir}/initrd-cleanup.service
1776 %{systemdunitdir}/initrd-parse-etc.service
1777 %{systemdunitdir}/initrd-switch-root.service
1778 %{systemdunitdir}/initrd-udevadm-cleanup-db.service
1779 %{systemdunitdir}/killall.service
1780 %{systemdunitdir}/kmod-static-nodes.service
1781 %{systemdunitdir}/ldconfig.service
1782 %{systemdunitdir}/modprobe@.service
1783 %{systemdunitdir}/netfs.service
1784 %{systemdunitdir}/network.service
1785 %{systemdunitdir}/pld-clean-tmp.service
1786 %{systemdunitdir}/prefdm.service
1787 %{systemdunitdir}/quotaon.service
1788 %{systemdunitdir}/random.service
1789 %{systemdunitdir}/rescue.service
1790 %{systemdunitdir}/serial-getty@.service
1791 %{systemdunitdir}/single.service
1792 %{systemdunitdir}/sigpwr-container-shutdown.service
1793 %{systemdunitdir}/suspend-then-hibernate.target
1794 %{systemdunitdir}/sys-kernel-config.service
1795 %{systemdunitdir}/system-update-cleanup.service
1796 %{systemdunitdir}/system-update-pre.target
1797 %{systemdunitdir}/systemd-ask-password-console.service
1798 %{systemdunitdir}/systemd-ask-password-wall.service
1799 %{systemdunitdir}/systemd-backlight@.service
1800 %{systemdunitdir}/systemd-binfmt.service
1801 %if %{with efi}
1802 %{systemdunitdir}/systemd-bless-boot.service
1803 %{systemdunitdir}/systemd-boot-system-token.service
1804 %{systemdunitdir}/systemd-boot-update.service
1805 %endif
1806 %{systemdunitdir}/systemd-boot-check-no-failures.service
1807 %{systemdunitdir}/systemd-firstboot.service
1808 %{systemdunitdir}/systemd-fsck-root.service
1809 %{systemdunitdir}/systemd-fsck@.service
1810 %{systemdunitdir}/systemd-halt.service
1811 %{systemdunitdir}/systemd-hibernate-resume@.service
1812 %{systemdunitdir}/systemd-hibernate.service
1813 %{systemdunitdir}/systemd-hostnamed.service
1814 %{systemdunitdir}/systemd-hwdb-update.service
1815 %{systemdunitdir}/systemd-hybrid-sleep.service
1816 %{systemdunitdir}/systemd-importd.service
1817 %{systemdunitdir}/systemd-initctl.service
1818 %{systemdunitdir}/systemd-journal-catalog-update.service
1819 %{systemdunitdir}/systemd-journal-flush.service
1820 %{systemdunitdir}/systemd-journal-gatewayd.service
1821 %{systemdunitdir}/systemd-journal-remote.service
1822 %{systemdunitdir}/systemd-journal-upload.service
1823 %{systemdunitdir}/systemd-journald.service
1824 %{systemdunitdir}/systemd-journald@.service
1825 %{systemdunitdir}/systemd-kexec.service
1826 %{systemdunitdir}/systemd-localed.service
1827 %{systemdunitdir}/systemd-logind.service
1828 %{systemdunitdir}/systemd-machine-id-commit.service
1829 %{systemdunitdir}/systemd-machined.service
1830 %{systemdunitdir}/systemd-modules-load.service
1831 %{systemdunitdir}/systemd-nspawn@.service
1832 %{systemdunitdir}/systemd-poweroff.service
1833 %{systemdunitdir}/systemd-quotacheck.service
1834 %{systemdunitdir}/systemd-random-seed.service
1835 %{systemdunitdir}/systemd-reboot.service
1836 %{systemdunitdir}/systemd-remount-fs.service
1837 %{systemdunitdir}/systemd-rfkill.service
1838 %{systemdunitdir}/systemd-suspend.service
1839 %{systemdunitdir}/systemd-suspend-then-hibernate.service
1840 %{systemdunitdir}/systemd-sysctl.service
1841 %{systemdunitdir}/systemd-sysext.service
1842 %{systemdunitdir}/systemd-sysusers.service
1843 %{systemdunitdir}/systemd-time-wait-sync.service
1844 %{systemdunitdir}/systemd-timedated.service
1845 %{systemdunitdir}/systemd-timesyncd.service
1846 %{systemdunitdir}/systemd-tmpfiles-clean.service
1847 %{systemdunitdir}/systemd-tmpfiles-setup-dev.service
1848 %{systemdunitdir}/systemd-tmpfiles-setup.service
1849 %{systemdunitdir}/systemd-udev-settle.service
1850 %{systemdunitdir}/systemd-udev-trigger.service
1851 %{systemdunitdir}/systemd-udevd.service
1852 %dir %{systemdunitdir}/systemd-udevd.service.d
1853 %{systemdunitdir}/systemd-update-done.service
1854 %{systemdunitdir}/systemd-update-utmp-runlevel.service
1855 %{systemdunitdir}/systemd-update-utmp.service
1856 %{systemdunitdir}/systemd-user-sessions.service
1857 %{systemdunitdir}/systemd-userdbd.service
1858 %{systemdunitdir}/systemd-userdbd.socket
1859 %{systemdunitdir}/systemd-vconsole-setup.service
1860 %{systemdunitdir}/systemd-volatile-root.service
1861 %{systemdunitdir}/user@.service
1862 %{systemdunitdir}/machine.slice
1863 #%{systemdunitdir}/system.slice
1864 %{?with_cryptsetup:%{systemdunitdir}/system-systemd\x2dcryptsetup.slice}
1865 %dir %{systemdunitdir}/user-.slice.d
1866 %{systemdunitdir}/user-.slice.d/10-defaults.conf
1867 %{systemdunitdir}/user-runtime-dir@.service
1868 %{systemdunitdir}/user.slice
1869 %exclude %{systemdunitdir}/rc-inetd.service
1870 %{systemdunitdir}/syslog.socket
1871 %{systemdunitdir}/systemd-initctl.socket
1872 %{systemdunitdir}/systemd-journal-remote.socket
1873 %{systemdunitdir}/systemd-journald-audit.socket
1874 %{systemdunitdir}/systemd-journald-dev-log.socket
1875 %{systemdunitdir}/systemd-journald-varlink@.socket
1876 %{systemdunitdir}/systemd-journald.socket
1877 %{systemdunitdir}/systemd-journald@.socket
1878 %{systemdunitdir}/systemd-udevd-control.socket
1879 %{systemdunitdir}/systemd-udevd-kernel.socket
1880 %{systemdunitdir}/basic.target
1881 %{systemdunitdir}/blockdev@.target
1882 %{systemdunitdir}/bluetooth.target
1883 %{systemdunitdir}/boot-complete.target
1884 %if %{with cryptsetup}
1885 %{systemdunitdir}/cryptsetup-pre.target
1886 %{systemdunitdir}/cryptsetup.target
1887 %{systemdunitdir}/integritysetup-pre.target
1888 %{systemdunitdir}/integritysetup.target
1889 %{systemdunitdir}/veritysetup-pre.target
1890 %{systemdunitdir}/veritysetup.target
1891 %endif
1892 %{systemdunitdir}/ctrl-alt-del.target
1893 %{systemdunitdir}/default.target
1894 %{systemdunitdir}/emergency.target
1895 %{systemdunitdir}/exit.target
1896 %{systemdunitdir}/factory-reset.target
1897 %{systemdunitdir}/final.target
1898 %{systemdunitdir}/first-boot-complete.target
1899 %{systemdunitdir}/getty.target
1900 %{systemdunitdir}/getty-pre.target
1901 %{systemdunitdir}/graphical.target
1902 %{systemdunitdir}/halt.target
1903 %{systemdunitdir}/hibernate.target
1904 %{systemdunitdir}/hybrid-sleep.target
1905 %{systemdunitdir}/initrd-fs.target
1906 %{systemdunitdir}/initrd-root-fs.target
1907 %{systemdunitdir}/initrd-switch-root.target
1908 %{systemdunitdir}/initrd-usr-fs.target
1909 %{systemdunitdir}/initrd.target
1910 %{systemdunitdir}/kexec.target
1911 %{systemdunitdir}/local-fs-pre.target
1912 %{systemdunitdir}/local-fs.target
1913 %{systemdunitdir}/machines.target
1914 %{systemdunitdir}/multi-user.target
1915 %{systemdunitdir}/network-online.target
1916 %{systemdunitdir}/network-pre.target
1917 %{systemdunitdir}/network.target
1918 %{systemdunitdir}/nss-lookup.target
1919 %{systemdunitdir}/nss-user-lookup.target
1920 %{systemdunitdir}/paths.target
1921 %{systemdunitdir}/poweroff.target
1922 %{systemdunitdir}/printer.target
1923 %{systemdunitdir}/reboot.target
1924 %{systemdunitdir}/remote-fs-pre.target
1925 %{systemdunitdir}/remote-fs.target
1926 %if %{with cryptsetup}
1927 %{systemdunitdir}/remote-cryptsetup.target
1928 %{systemdunitdir}/remote-veritysetup.target
1929 %endif
1930 %{systemdunitdir}/rescue.target
1931 %{systemdunitdir}/rpcbind.target
1932 %{systemdunitdir}/runlevel0.target
1933 %{systemdunitdir}/runlevel1.target
1934 %{systemdunitdir}/runlevel2.target
1935 %{systemdunitdir}/runlevel3.target
1936 %{systemdunitdir}/runlevel4.target
1937 %{systemdunitdir}/runlevel5.target
1938 %{systemdunitdir}/runlevel6.target
1939 %{systemdunitdir}/shutdown.target
1940 %{systemdunitdir}/sigpwr.target
1941 %{systemdunitdir}/sleep.target
1942 %{systemdunitdir}/slices.target
1943 %{systemdunitdir}/smartcard.target
1944 %{systemdunitdir}/sockets.target
1945 %{systemdunitdir}/sound.target
1946 %{systemdunitdir}/suspend.target
1947 %{systemdunitdir}/swap.target
1948 %{systemdunitdir}/sysinit.target
1949 %{systemdunitdir}/system-update.target
1950 %{systemdunitdir}/time-set.target
1951 %{systemdunitdir}/time-sync.target
1952 %{systemdunitdir}/timers.target
1953 %{systemdunitdir}/umount.target
1954 %{systemdunitdir}/usb-gadget.target
1955 %{systemdunitdir}/systemd-tmpfiles-clean.timer
1956 %dir %{systemdunitdir}/basic.target.wants
1957 %dir %{systemdunitdir}/dbus.target.wants
1958 %dir %{systemdunitdir}/final.target.wants
1959 %dir %{systemdunitdir}/graphical.target.wants
1960 %dir %{systemdunitdir}/halt.target.wants
1961 %dir %{systemdunitdir}/initrd.target.wants
1962 %dir %{systemdunitdir}/initrd-root-device.target.wants
1963 %dir %{systemdunitdir}/initrd-root-fs.target.wants
1964 %dir %{systemdunitdir}/kexec.target.wants
1965 %dir %{systemdunitdir}/local-fs.target.wants
1966 %dir %{systemdunitdir}/machines.target.wants
1967 %dir %{systemdunitdir}/multi-user.target.wants
1968 %dir %{systemdunitdir}/poweroff.target.wants
1969 %dir %{systemdunitdir}/reboot.target.wants
1970 %dir %{systemdunitdir}/remote-fs.target.wants
1971 %dir %{systemdunitdir}/rescue.target.wants
1972 %dir %{systemdunitdir}/runlevel[12345].target.wants
1973 %dir %{systemdunitdir}/shutdown.target.wants
1974 %dir %{systemdunitdir}/sigpwr.target.wants
1975 %dir %{systemdunitdir}/sockets.target.wants
1976 %dir %{systemdunitdir}/sound.target.wants
1977 %dir %{systemdunitdir}/sysinit.target.wants
1978 %dir %{systemdunitdir}/syslog.target.wants
1979 %dir %{systemdunitdir}/system-update.target.wants
1980 %dir %{systemdunitdir}/timers.target.wants
1981 %if %{with cryptsetup}
1982 %{systemdunitdir}/initrd-root-device.target.wants/remote-cryptsetup.target
1983 %{systemdunitdir}/initrd-root-device.target.wants/remote-veritysetup.target
1984 %endif
1985 %{systemdunitdir}/graphical.target.wants/display-manager.service
1986 %{systemdunitdir}/graphical.target.wants/systemd-update-utmp-runlevel.service
1987 %{systemdunitdir}/local-fs.target.wants/pld-clean-tmp.service
1988 %{systemdunitdir}/local-fs.target.wants/var-lock.mount
1989 %{systemdunitdir}/local-fs.target.wants/var-run.mount
1990 %{systemdunitdir}/machines.target.wants/var-lib-machines.mount
1991 %{systemdunitdir}/multi-user.target.wants/getty.target
1992 %{systemdunitdir}/multi-user.target.wants/rc-local.service
1993 %{systemdunitdir}/multi-user.target.wants/systemd-ask-password-wall.path
1994 %{systemdunitdir}/multi-user.target.wants/systemd-logind.service
1995 %{systemdunitdir}/multi-user.target.wants/systemd-update-utmp-runlevel.service
1996 %{systemdunitdir}/multi-user.target.wants/systemd-user-sessions.service
1997 %{systemdunitdir}/remote-fs.target.wants/var-lib-machines.mount
1998 %{systemdunitdir}/rescue.target.wants/systemd-update-utmp-runlevel.service
1999 %{systemdunitdir}/sigpwr.target.wants/sigpwr-container-shutdown.service
2000 %{systemdunitdir}/sockets.target.wants/systemd-initctl.socket
2001 %{systemdunitdir}/sockets.target.wants/systemd-journald-audit.socket
2002 %{systemdunitdir}/sockets.target.wants/systemd-journald-dev-log.socket
2003 %{systemdunitdir}/sockets.target.wants/systemd-journald.socket
2004 %{systemdunitdir}/sockets.target.wants/systemd-udevd-control.socket
2005 %{systemdunitdir}/sockets.target.wants/systemd-udevd-kernel.socket
2006 %if %{with cryptsetup}
2007 %{systemdunitdir}/sysinit.target.wants/cryptsetup.target
2008 %{systemdunitdir}/sysinit.target.wants/integritysetup.target
2009 %{systemdunitdir}/sysinit.target.wants/veritysetup.target
2010 %endif
2011 %{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount
2012 %{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount
2013 %{systemdunitdir}/sysinit.target.wants/kmod-static-nodes.service
2014 %{systemdunitdir}/sysinit.target.wants/ldconfig.service
2015 %{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount
2016 %{systemdunitdir}/sysinit.target.wants/sys-fs-fuse-connections.mount
2017 %{systemdunitdir}/sysinit.target.wants/sys-kernel-debug.mount
2018 %{systemdunitdir}/sysinit.target.wants/sys-kernel-tracing.mount
2019 %{systemdunitdir}/sysinit.target.wants/systemd-ask-password-console.path
2020 %{systemdunitdir}/sysinit.target.wants/systemd-binfmt.service
2021 %{?with_efi:%{systemdunitdir}/sysinit.target.wants/systemd-boot-system-token.service}
2022 %{systemdunitdir}/sysinit.target.wants/systemd-firstboot.service
2023 %{systemdunitdir}/sysinit.target.wants/systemd-hwdb-update.service
2024 %{systemdunitdir}/sysinit.target.wants/systemd-journal-catalog-update.service
2025 %{systemdunitdir}/sysinit.target.wants/systemd-journald.service
2026 %{systemdunitdir}/sysinit.target.wants/systemd-journal-flush.service
2027 %{systemdunitdir}/sysinit.target.wants/systemd-machine-id-commit.service
2028 %{systemdunitdir}/sysinit.target.wants/systemd-modules-load.service
2029 %{systemdunitdir}/sysinit.target.wants/systemd-random-seed.service
2030 %{systemdunitdir}/sysinit.target.wants/systemd-sysctl.service
2031 %{systemdunitdir}/sysinit.target.wants/systemd-sysusers.service
2032 %{systemdunitdir}/sysinit.target.wants/systemd-tmpfiles-setup-dev.service
2033 %{systemdunitdir}/sysinit.target.wants/systemd-tmpfiles-setup.service
2034 %{systemdunitdir}/sysinit.target.wants/systemd-udevd.service
2035 %{systemdunitdir}/sysinit.target.wants/systemd-udev-trigger.service
2036 %{systemdunitdir}/sysinit.target.wants/systemd-update-done.service
2037 %{systemdunitdir}/sysinit.target.wants/systemd-update-utmp.service
2038 %{systemdunitdir}/timers.target.wants/systemd-tmpfiles-clean.timer
2039 %dir %{systemduserunitdir}/sockets.target.wants
2040 %{systemduserunitdir}/graphical-session-pre.target
2041 %{systemduserunitdir}/graphical-session.target
2042 %{_mandir}/man5/user@.service.5*
2043 %{_mandir}/man5/user-runtime-dir@.service.5*
2044 %{_mandir}/man8/30-systemd-environment-d-generator.8*
2045 %{_mandir}/man8/systemd-environment-d-generator.8*
2046 %{_mandir}/man8/systemd-ask-password-console.path.8*
2047 %{_mandir}/man8/systemd-ask-password-console.service.8*
2048 %{_mandir}/man8/systemd-ask-password-wall.path.8*
2049 %{_mandir}/man8/systemd-ask-password-wall.service.8*
2050 %{_mandir}/man8/systemd-backlight@.service.8*
2051 %{_mandir}/man8/systemd-binfmt.service.8*
2052 %{?with_efi:%{_mandir}/man8/systemd-bless-boot.service.8*}
2053 %{_mandir}/man8/systemd-boot-check-no-failures.service.8*
2054 %{?with_efi:%{_mandir}/man8/systemd-boot-system-token.service.8*}
2055 %{_mandir}/man8/systemd-coredump.socket.8*
2056 %{_mandir}/man8/systemd-coredump@.service.8*
2057 %if %{with cryptsetup}
2058 %{_mandir}/man8/systemd-cryptsetup.8*
2059 %{_mandir}/man8/systemd-cryptsetup@.service.8*
2060 %{_mandir}/man8/systemd-integritysetup.8*
2061 %{_mandir}/man8/systemd-integritysetup@.service.8*
2062 %endif
2063 %{_mandir}/man8/systemd-fsck-root.service.8*
2064 %{_mandir}/man8/systemd-fsck@.service.8*
2065 %{_mandir}/man8/systemd-halt.service.8*
2066 %{_mandir}/man8/systemd-hibernate.service.8*
2067 %{_mandir}/man8/systemd-hostnamed.service.8*
2068 %{_mandir}/man8/systemd-hybrid-sleep.service.8*
2069 %{_mandir}/man8/systemd-importd.service.8*
2070 %{_mandir}/man8/systemd-initctl.service.8*
2071 %{_mandir}/man8/systemd-initctl.socket.8*
2072 %{_mandir}/man8/systemd-journal-remote.service.8*
2073 %{_mandir}/man8/systemd-journal-remote.socket.8*
2074 %{_mandir}/man8/systemd-journal-upload.service.8*
2075 %{_mandir}/man8/systemd-journald.service.8*
2076 %{_mandir}/man8/systemd-journald.socket.8*
2077 %{_mandir}/man8/systemd-journald-audit.socket.8*
2078 %{_mandir}/man8/systemd-kexec.service.8*
2079 %{_mandir}/man8/systemd-localed.service.8*
2080 %{_mandir}/man8/systemd-logind.service.8*
2081 %{_mandir}/man8/systemd-machined.service.8*
2082 %{_mandir}/man8/systemd-modules-load.service.8*
2083 %{_mandir}/man8/systemd-poweroff.service.8*
2084 %{_mandir}/man8/systemd-quotacheck.service.8*
2085 %{_mandir}/man8/systemd-random-seed.service.8*
2086 %{_mandir}/man8/systemd-reboot.service.8*
2087 %{_mandir}/man8/systemd-remount-fs.service.8*
2088 %{_mandir}/man8/systemd-rfkill.socket.8*
2089 %{_mandir}/man8/systemd-suspend.service.8*
2090 %{_mandir}/man8/systemd-suspend-then-hibernate.service.8*
2091 %{_mandir}/man8/systemd-sysctl.service.8*
2092 %{_mandir}/man8/systemd-sysext.service.8*
2093 %{_mandir}/man8/systemd-time-wait-sync.service.8*
2094 %{_mandir}/man8/systemd-timedated.service.8*
2095 %{_mandir}/man8/systemd-tmpfiles-clean.service.8*
2096 %{_mandir}/man8/systemd-tmpfiles-clean.timer.8*
2097 %{_mandir}/man8/systemd-tmpfiles-setup.service.8*
2098 %{_mandir}/man8/systemd-tmpfiles-setup-dev.service.8*
2099 %{_mandir}/man8/systemd-udev-settle.service.8*
2100 %{_mandir}/man8/systemd-udevd.service.8*
2101 %{_mandir}/man8/systemd-udevd-control.socket.8*
2102 %{_mandir}/man8/systemd-udevd-kernel.socket.8*
2103 %{_mandir}/man8/systemd-update-utmp-runlevel.service.8*
2104 %{_mandir}/man8/systemd-update-utmp.service.8*
2105 %{_mandir}/man8/systemd-user-sessions.service.8*
2106 %{_mandir}/man8/systemd-userdbd.service.8*
2107 %{_mandir}/man8/systemd-vconsole-setup.service.8*
2108
2109 %files tools
2110 %defattr(644,root,root,755)
2111 %attr(755,root,root) %{_bindir}/systemd-cgls
2112 %attr(755,root,root) %{_bindir}/systemd-cgtop
2113 %{_mandir}/man1/systemd-cgls.1*
2114 %{_mandir}/man1/systemd-cgtop.1*
2115
2116 %if %{with microhttpd}
2117 %files journal-gateway
2118 %defattr(644,root,root,755)
2119 %{systemdunitdir}/systemd-journal-gatewayd.socket
2120 %attr(755,root,root) /lib/systemd/systemd-journal-gatewayd
2121 %{_mandir}/man8/systemd-journal-gatewayd.8*
2122 %{_mandir}/man8/systemd-journal-gatewayd.service.8*
2123 %{_mandir}/man8/systemd-journal-gatewayd.socket.8*
2124 %endif
2125
2126 %files homed
2127 %defattr(644,root,root,755)
2128 %attr(755,root,root) /bin/homectl
2129 %attr(755,root,root) /lib/systemd/systemd-homed
2130 %attr(755,root,root) /lib/systemd/systemd-homework
2131 %attr(755,root,root) /%{_lib}/security/pam_systemd_home.so
2132 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/homed.conf
2133 %{systemdunitdir}/systemd-homed.service
2134 %{systemdunitdir}/systemd-homed-activate.service
2135 %{_datadir}/dbus-1/interfaces/org.freedesktop.home1.*.xml
2136 %{_datadir}/dbus-1/system-services/org.freedesktop.home1.service
2137 %{_datadir}/dbus-1/system.d/org.freedesktop.home1.conf
2138 %{_datadir}/polkit-1/actions/org.freedesktop.home1.policy
2139 %{_mandir}/man1/homectl.1*
2140 %{_mandir}/man5/homed.conf.5*
2141 %{_mandir}/man5/homed.conf.d.5*
2142 %{_mandir}/man5/org.freedesktop.home1.5*
2143 %{_mandir}/man8/pam_systemd_home.8*
2144 %{_mandir}/man8/systemd-homed.8*
2145 %{_mandir}/man8/systemd-homed.service.8*
2146
2147 %files networkd
2148 %defattr(644,root,root,755)
2149 %{_datadir}/dbus-1/interfaces/org.freedesktop.network1.*.xml
2150 %{_datadir}/dbus-1/system.d/org.freedesktop.network1.conf
2151 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/networkd.conf
2152 %dir %{_sysconfdir}/systemd/network
2153 /lib/systemd/network/80-6rd-tunnel.network
2154 /lib/systemd/network/80-container-host0.network
2155 /lib/systemd/network/80-container-ve.network
2156 /lib/systemd/network/80-container-vz.network
2157 /lib/systemd/network/80-vm-vt.network
2158 /lib/systemd/network/80-wifi-adhoc.network
2159 %{_prefix}/lib/sysusers.d/systemd-network.conf
2160 %{systemdunitdir}/systemd-network-generator.service
2161 %{systemdunitdir}/systemd-networkd-wait-online.service
2162 %{systemdunitdir}/systemd-networkd.service
2163 %{systemdunitdir}/systemd-networkd.socket
2164 %{_datadir}/dbus-1/system-services/org.freedesktop.network1.service
2165 %{_datadir}/polkit-1/actions/org.freedesktop.network1.policy
2166 %attr(755,root,root) /bin/networkctl
2167 %attr(755,root,root) /lib/systemd/systemd-network-generator
2168 %attr(755,root,root) /lib/systemd/systemd-networkd
2169 %attr(755,root,root) /lib/systemd/systemd-networkd-wait-online
2170 %{_mandir}/man1/networkctl.1*
2171 %{_mandir}/man5/networkd.conf.5*
2172 %{_mandir}/man5/networkd.conf.d.5*
2173 %{_mandir}/man5/org.freedesktop.network1.5*
2174 %{_mandir}/man7/systemd.net-naming-scheme.7*
2175 %{_mandir}/man8/systemd-network-generator.8*
2176 %{_mandir}/man8/systemd-network-generator.service.8*
2177 %{_mandir}/man8/systemd-networkd-wait-online.8*
2178 %{_mandir}/man8/systemd-networkd-wait-online.service.8*
2179 %{_mandir}/man8/systemd-networkd.8*
2180 %{_mandir}/man8/systemd-networkd.service.8*
2181
2182 %files oomd
2183 %defattr(644,root,root,755)
2184 %attr(755,root,root) /bin/oomctl
2185 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/oomd.conf
2186 %attr(755,root,root) /lib/systemd/systemd-oomd
2187 %{_prefix}/lib/sysusers.d/systemd-oom.conf
2188 %{systemdunitdir}/dbus-org.freedesktop.oom1.service
2189 %{systemdunitdir}/systemd-oomd.service
2190 %{systemdunitdir}/systemd-oomd.socket
2191 %{_datadir}/dbus-1/interfaces/org.freedesktop.oom1.*.xml
2192 %{_datadir}/dbus-1/system-services/org.freedesktop.oom1.service
2193 %{_datadir}/dbus-1/system.d/org.freedesktop.oom1.conf
2194 %{_mandir}/man1/oomctl.1*
2195 %{_mandir}/man5/oomd.conf.5*
2196 %{_mandir}/man5/oomd.conf.d.5*
2197 %{_mandir}/man5/org.freedesktop.oom1.5*
2198 %{_mandir}/man8/systemd-oomd.8*
2199 %{_mandir}/man8/systemd-oomd.service.8*
2200
2201 %files portabled
2202 %defattr(644,root,root,755)
2203 %doc docs/PORTABLE_SERVICES.md
2204 %attr(755,root,root) /bin/portablectl
2205 %attr(755,root,root) /lib/systemd/systemd-portabled
2206 %{systemdunitdir}/dbus-org.freedesktop.portable1.service
2207 %{systemdunitdir}/systemd-portabled.service
2208 %dir /lib/systemd/portable
2209 %dir /lib/systemd/portable/profile
2210 %dir /lib/systemd/portable/profile/default
2211 /lib/systemd/portable/profile/default/service.conf
2212 %dir /lib/systemd/portable/profile/nonetwork
2213 /lib/systemd/portable/profile/nonetwork/service.conf
2214 %dir /lib/systemd/portable/profile/strict
2215 /lib/systemd/portable/profile/strict/service.conf
2216 %dir /lib/systemd/portable/profile/trusted
2217 /lib/systemd/portable/profile/trusted/service.conf
2218 %{systemdtmpfilesdir}/portables.conf
2219 %{_datadir}/dbus-1/interfaces/org.freedesktop.portable1.*.xml
2220 %{_datadir}/dbus-1/system-services/org.freedesktop.portable1.service
2221 %{_datadir}/dbus-1/system.d/org.freedesktop.portable1.conf
2222 %{_datadir}/polkit-1/actions/org.freedesktop.portable1.policy
2223 %{_mandir}/man1/portablectl.1*
2224 %{_mandir}/man5/org.freedesktop.portable1.5*
2225 %{_mandir}/man8/systemd-portabled.8*
2226 %{_mandir}/man8/systemd-portabled.service.8*
2227
2228 %files repart
2229 %defattr(644,root,root,755)
2230 %dir %{_sysconfdir}/repart.d
2231 %attr(755,root,root) /bin/systemd-repart
2232 %{systemdunitdir}/systemd-repart.service
2233 %{systemdunitdir}/initrd-root-fs.target.wants/systemd-repart.service
2234 %{systemdunitdir}/sysinit.target.wants/systemd-repart.service
2235 %dir %{_prefix}/lib/repart.d
2236 %{_mandir}/man5/repart.d.5*
2237 %{_mandir}/man8/systemd-repart.8*
2238 %{_mandir}/man8/systemd-repart.service.8*
2239
2240 %files resolved
2241 %defattr(644,root,root,755)
2242 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/resolved.conf
2243 %{_prefix}/lib/sysusers.d/systemd-resolve.conf
2244 %{_prefix}/lib/tmpfiles.d/systemd-resolve.conf
2245 %{_datadir}/dbus-1/interfaces/org.freedesktop.resolve1.*.xml
2246 %{_datadir}/dbus-1/system.d/org.freedesktop.resolve1.conf
2247 %{_datadir}/dbus-1/system-services/org.freedesktop.resolve1.service
2248 %{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy
2249 %{systemdunitdir}/systemd-resolved.service
2250 %attr(755,root,root) /sbin/resolvconf
2251 %attr(755,root,root) %{_bindir}/resolvectl
2252 %attr(755,root,root) /lib/systemd/systemd-resolved
2253 %{_mandir}/man1/resolvconf.1*
2254 %{_mandir}/man1/resolvectl.1*
2255 %{_mandir}/man5/org.freedesktop.resolve1.5*
2256 %{_mandir}/man5/resolved.conf.5*
2257 %{_mandir}/man5/resolved.conf.d.5*
2258 %{_mandir}/man8/systemd-resolved.8*
2259 %{_mandir}/man8/systemd-resolved.service.8*
2260
2261 %files inetd
2262 %defattr(644,root,root,755)
2263 %attr(755,root,root) %{systemdunitdir}-generators/pld-rc-inetd-generator
2264 %{systemdunitdir}/rc-inetd.service
2265
2266 %files analyze
2267 %defattr(644,root,root,755)
2268 %attr(755,root,root) %{_bindir}/systemd-analyze
2269 %{_mandir}/man1/systemd-analyze.1*
2270
2271 %files libs
2272 %defattr(644,root,root,755)
2273 %attr(755,root,root) /%{_lib}/libnss_myhostname.so.2
2274 %attr(755,root,root) /%{_lib}/libnss_mymachines.so.2
2275 %attr(755,root,root) /%{_lib}/libnss_resolve.so.2
2276 %attr(755,root,root) /%{_lib}/libnss_systemd.so.2
2277 %attr(755,root,root) /%{_lib}/libsystemd.so.*.*.*
2278 %attr(755,root,root) %ghost /%{_lib}/libsystemd.so.0
2279 %attr(755,root,root) /lib/systemd/libsystemd-shared*.so
2280 %{_mandir}/man8/libnss_resolve.so.2.8*
2281 %{_mandir}/man8/libnss_systemd.so.2.8*
2282 %{_mandir}/man8/nss-resolve.8*
2283 %{_mandir}/man8/nss-systemd.8*
2284
2285 %files devel
2286 %defattr(644,root,root,755)
2287 %attr(755,root,root) /%{_lib}/libsystemd.so
2288 %{_includedir}/%{name}
2289 %{_pkgconfigdir}/libsystemd.pc
2290 %{_npkgconfigdir}/systemd.pc
2291 %{_mandir}/man3/SD_*.3*
2292 %{_mandir}/man3/sd*.3*
2293
2294 %files -n bash-completion-systemd
2295 %defattr(644,root,root,755)
2296 %{bash_compdir}/bootctl
2297 %{bash_compdir}/busctl
2298 %{bash_compdir}/coredumpctl
2299 %{bash_compdir}/homectl
2300 %{bash_compdir}/hostnamectl
2301 %{bash_compdir}/journalctl
2302 %{bash_compdir}/kernel-install
2303 %{bash_compdir}/localectl
2304 %{bash_compdir}/loginctl
2305 %{bash_compdir}/machinectl
2306 %{bash_compdir}/networkctl
2307 %{bash_compdir}/portablectl
2308 %{bash_compdir}/resolvectl
2309 %{bash_compdir}/systemctl
2310 %{bash_compdir}/systemd-analyze
2311 %{bash_compdir}/systemd-cat
2312 %{bash_compdir}/systemd-cgls
2313 %{bash_compdir}/systemd-cgtop
2314 %{bash_compdir}/systemd-delta
2315 %{bash_compdir}/systemd-detect-virt
2316 %{bash_compdir}/systemd-id128
2317 %{bash_compdir}/systemd-nspawn
2318 %{bash_compdir}/systemd-path
2319 %{bash_compdir}/systemd-resolve
2320 %{bash_compdir}/systemd-run
2321 %{bash_compdir}/timedatectl
2322
2323 %files -n zsh-completion-systemd
2324 %defattr(644,root,root,755)
2325 %{zsh_compdir}/_bootctl
2326 %{zsh_compdir}/_busctl
2327 %{zsh_compdir}/_coredumpctl
2328 %{zsh_compdir}/_hostnamectl
2329 %{zsh_compdir}/_journalctl
2330 %{zsh_compdir}/_kernel-install
2331 %{zsh_compdir}/_localectl
2332 %{zsh_compdir}/_loginctl
2333 %{zsh_compdir}/_machinectl
2334 %{zsh_compdir}/_networkctl
2335 %{zsh_compdir}/_resolvectl
2336 %{zsh_compdir}/_sd_hosts_or_user_at_host
2337 %{zsh_compdir}/_sd_machines
2338 %{zsh_compdir}/_sd_outputmodes
2339 %{zsh_compdir}/_sd_unit_files
2340 %{zsh_compdir}/_systemctl
2341 %{zsh_compdir}/_systemd
2342 %{zsh_compdir}/_systemd-analyze
2343 %{zsh_compdir}/_systemd-delta
2344 %{zsh_compdir}/_systemd-inhibit
2345 %{zsh_compdir}/_systemd-nspawn
2346 %{zsh_compdir}/_systemd-path
2347 %{zsh_compdir}/_systemd-run
2348 %{zsh_compdir}/_systemd-tmpfiles
2349 %{zsh_compdir}/_timedatectl
2350
2351 %files -n udev
2352 %defattr(644,root,root,755)
2353 %dev(c,1,3) %attr(666,root,root) /dev/null
2354 %dev(c,5,1) %attr(660,root,console) /dev/console
2355 %dev(c,1,5) %attr(666,root,root) /dev/zero
2356
2357 %files -n udev-core
2358 %defattr(644,root,root,755)
2359
2360 %{_prefix}/lib/udev
2361
2362 %attr(755,root,root) /lib/udev/net_helper
2363
2364 %attr(755,root,root) /lib/udev/ata_id
2365 %attr(755,root,root) /lib/udev/cdrom_id
2366 %attr(755,root,root) /lib/udev/dmi_memory_id
2367 %attr(755,root,root) /lib/udev/fido_id
2368 %attr(755,root,root) /lib/udev/mtd_probe
2369 %attr(755,root,root) /lib/udev/scsi_id
2370 %attr(755,root,root) /lib/udev/v4l_id
2371
2372 %attr(755,root,root) /lib/udev/udevd
2373
2374 /lib/udev/hwdb.d/20-acpi-vendor.hwdb
2375 /lib/udev/hwdb.d/20-bluetooth-vendor-product.hwdb
2376 /lib/udev/hwdb.d/20-dmi-id.hwdb
2377 /lib/udev/hwdb.d/20-net-ifname.hwdb
2378 /lib/udev/hwdb.d/20-OUI.hwdb
2379 /lib/udev/hwdb.d/20-pci-classes.hwdb
2380 /lib/udev/hwdb.d/20-pci-vendor-model.hwdb
2381 /lib/udev/hwdb.d/20-sdio-classes.hwdb
2382 /lib/udev/hwdb.d/20-sdio-vendor-model.hwdb
2383 /lib/udev/hwdb.d/20-usb-classes.hwdb
2384 /lib/udev/hwdb.d/20-usb-vendor-model.hwdb
2385 /lib/udev/hwdb.d/20-vmbus-class.hwdb
2386 /lib/udev/hwdb.d/60-autosuspend-chromiumos.hwdb
2387 /lib/udev/hwdb.d/60-autosuspend-fingerprint-reader.hwdb
2388 /lib/udev/hwdb.d/60-autosuspend.hwdb
2389 /lib/udev/hwdb.d/60-evdev.hwdb
2390 /lib/udev/hwdb.d/60-input-id.hwdb
2391 /lib/udev/hwdb.d/60-keyboard.hwdb
2392 /lib/udev/hwdb.d/60-seat.hwdb
2393 /lib/udev/hwdb.d/60-sensor.hwdb
2394 /lib/udev/hwdb.d/70-analyzers.hwdb
2395 /lib/udev/hwdb.d/70-cameras.hwdb
2396 /lib/udev/hwdb.d/70-joystick.hwdb
2397 /lib/udev/hwdb.d/70-mouse.hwdb
2398 /lib/udev/hwdb.d/70-pointingstick.hwdb
2399 /lib/udev/hwdb.d/70-touchpad.hwdb
2400 /lib/udev/hwdb.d/80-ieee1394-unit-function.hwdb
2401
2402 %attr(755,root,root) %{_rootsbindir}/start_udev
2403 %attr(755,root,root) %{_rootsbindir}/udevd
2404 %attr(755,root,root) %{_rootsbindir}/udevadm
2405 %attr(755,root,root) /bin/systemd-hwdb
2406 %attr(755,root,root) /bin/udevadm
2407
2408 %dir %{_sysconfdir}/udev
2409 %dir %{_sysconfdir}/udev/rules.d
2410 %dir %{_sysconfdir}/udev/hwdb.d
2411 %ghost %{_sysconfdir}/udev/hwdb.bin
2412
2413 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/fbdev-blacklist.conf
2414 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/udev_blacklist.conf
2415 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/links.conf
2416 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
2417 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules
2418 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-uinput.rules
2419 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-steam_controller.rules
2420 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-i2c.rules
2421 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/80-net-setup-link.rules
2422
2423 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf
2424
2425 # rules below are NOT supposed to be changed by users
2426 /lib/udev/rules.d/50-udev-default.rules
2427 /lib/udev/rules.d/60-autosuspend.rules
2428 /lib/udev/rules.d/60-block.rules
2429 /lib/udev/rules.d/60-cdrom_id.rules
2430 /lib/udev/rules.d/60-drm.rules
2431 /lib/udev/rules.d/60-evdev.rules
2432 /lib/udev/rules.d/60-fido-id.rules
2433 /lib/udev/rules.d/60-input-id.rules
2434 /lib/udev/rules.d/60-persistent-alsa.rules
2435 /lib/udev/rules.d/60-persistent-input.rules
2436 /lib/udev/rules.d/60-persistent-storage.rules
2437 /lib/udev/rules.d/60-persistent-storage-tape.rules
2438 /lib/udev/rules.d/60-persistent-v4l.rules
2439 /lib/udev/rules.d/60-sensor.rules
2440 /lib/udev/rules.d/60-serial.rules
2441 /lib/udev/rules.d/64-btrfs.rules
2442 /lib/udev/rules.d/70-camera.rules
2443 /lib/udev/rules.d/70-joystick.rules
2444 /lib/udev/rules.d/70-memory.rules
2445 /lib/udev/rules.d/70-mouse.rules
2446 /lib/udev/rules.d/70-power-switch.rules
2447 /lib/udev/rules.d/70-touchpad.rules
2448 /lib/udev/rules.d/70-uaccess.rules
2449 /lib/udev/rules.d/71-seat.rules
2450 /lib/udev/rules.d/73-seat-late.rules
2451 /lib/udev/rules.d/75-net-description.rules
2452 /lib/udev/rules.d/75-probe_mtd.rules
2453 /lib/udev/rules.d/78-sound-card.rules
2454 /lib/udev/rules.d/80-drivers.rules
2455 /lib/udev/rules.d/80-net-setup-link.rules
2456 /lib/udev/rules.d/81-net-dhcp.rules
2457 /lib/udev/rules.d/90-vconsole.rules
2458
2459 %{_mandir}/man5/udev.conf.5*
2460 %{_mandir}/man7/udev.7*
2461 %{_mandir}/man7/hwdb.7*
2462 %{_mandir}/man8/systemd-hwdb.8*
2463 %{_mandir}/man8/udevadm.8*
2464 %{_mandir}/man8/udevd.8*
2465
2466 %files -n udev-libs
2467 %defattr(644,root,root,755)
2468 %attr(755,root,root) /%{_lib}/libudev.so.*.*.*
2469 %attr(755,root,root) %ghost /%{_lib}/libudev.so.1
2470
2471 %files -n udev-devel
2472 %defattr(644,root,root,755)
2473 %attr(755,root,root) /%{_lib}/libudev.so
2474 %{_includedir}/libudev.h
2475 %{_pkgconfigdir}/libudev.pc
2476 %{_npkgconfigdir}/udev.pc
2477 %{_mandir}/man3/libudev.3*
2478 %{_mandir}/man3/udev_*.3*
2479
2480 %files -n bash-completion-udev
2481 %defattr(644,root,root,755)
2482 %{bash_compdir}/udevadm
2483
2484 %files -n zsh-completion-udev
2485 %defattr(644,root,root,755)
2486 %{zsh_compdir}/_udevadm
2487
2488 %files -n rpm-macros-systemd
2489 %defattr(644,root,root,755)
2490 /usr/lib/rpm/macros.d/macros.systemd
This page took 0.358043 seconds and 4 git commands to generate.