Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa
Name: systemd
# Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
-Version: 248
+Version: 248.2
Release: 0.1
Epoch: 1
License: GPL v2+ (udev), LGPL v2.1+ (the rest)
Group: Base
#Source0Download: https://github.com/systemd/systemd/releases
Source0: https://github.com/systemd/systemd-stable/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 5f72949ebbc609cb9f07ee05165093fa
+# Source0-md5: a9ef37089c45cd9c80802c30152a7485
Source1: %{name}-sysv-convert
Source2: %{name}_booted.c
Source3: network.service
Group: Base
Requires(post): coreutils
Requires(post): /bin/awk
+Requires: less >= 568
%description units
Basic configuration files, directories and installation tool for the
%groupremove systemd-journal
fi
-%triggerpostun -- systemd < 1:208-1
+%triggerpostun -- systemd < 1:220-1
+# systemd < 1:208-1
chgrp -R systemd-journal /var/log/journal
chmod g+s /var/log/journal
-
-%triggerpostun -- systemd < 1:220-1
+# systemd < 1:220-1
# https://bugs.freedesktop.org/show_bug.cgi?id=89202
/bin/getfacl -p /var/log/journal/$(cat /etc/machine-id) | grep -v '^#' | sort -u | /bin/setfacl -R --set-file=- /var/log/journal/$(cat /etc/machine-id) || :
/bin/systemctl daemon-reload || :
fi
-%triggerpostun units -- systemd-units < 43-7
+%triggerpostun units -- systemd-units < 1:242
+# systemd-units < 43-7
# Remove design fialures
%{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service || :
%{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service || :
%{__rm} -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service || :
/bin/systemctl reenable network.service || :
-
-%triggerpostun units -- systemd-units < 1:183
+# systemd-units < 1:183
/bin/systemctl --quiet enable systemd-udev-settle.service || :
%{__rm} -f /etc/systemd/system/basic.target.wants/udev-settle.service || :
# preserve renamed configs
%{__mv} /etc/systemd/logind.conf{,.rpmnew}
%{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf
fi
-
-%triggerpostun units -- systemd-units < 1:187-3
+# systemd-units < 1:187-3
if [ -f /etc/sysconfig/rpm ]; then
. /etc/sysconfig/rpm
if [ ${RPM_ENABLE_SYSTEMD_SERVICE:-yes} = no ]; then
echo "disable *" >>%{_sysconfdir}/systemd/system-preset/default.preset
fi
fi
-
-%triggerpostun units -- systemd-units < 1:208-9
+# systemd-units < 1:208-9
# remove buggy symlink
if [ -L /etc/systemd/system/getty.target.wants/getty@.service ] ; then
rm -f /etc/systemd/system/getty.target.wants/getty@.service || :
fi
-
-%triggerpostun units -- systemd-units < 1:242
+# systemd-units < 1:242
if [ -L /var/lib/systemd/timesync ] ; then
rm -f /var/lib/systemd/timesync || :
fi
/sbin/start_udev || exit 0
fi
-%triggerpostun -n udev-core -- udev < 108
+%triggerpostun -n udev-core -- udev < 165
+# udev < 108
%{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules
%if "%{_lib}" != "lib"
%{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules
%endif
-%triggerpostun -n udev-core -- udev < 165
+# udev < 165
/bin/udevadm info --convert-db
%post -n udev-core
%attr(755,root,root) /bin/oomctl
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/oomd.conf
%attr(755,root,root) /lib/systemd/systemd-oomd
+%{systemdunitdir}/dbus-org.freedesktop.oom1.service
%{systemdunitdir}/systemd-oomd.service
%{_datadir}/dbus-1/system-services/org.freedesktop.oom1.service
%{_datadir}/dbus-1/system.d/org.freedesktop.oom1.conf