SHA256
1
0
forked from pool/systemd

Accepting request 815935 from Base:System

OBS-URL: https://build.opensuse.org/request/show/815935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=311
This commit is contained in:
Dominique Leuenberger 2020-06-24 13:47:45 +00:00 committed by Git OBS Bridge
commit a3ed56a139
6 changed files with 145 additions and 63 deletions

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Fri Jun 19 09:59:29 UTC 2020 - Franck Bui <fbui@suse.com>
- Include in the package version the stable minor (if any).
Also update the version shown by various command such as 'systemctl
--version' to show the stable number.
-------------------------------------------------------------------
Wed Jun 17 18:54:11 UTC 2020 - Franck Bui <fbui@suse.com>
- Don't restart udevd sockets during package update
Otherwise we might miss kernel events as the daemon need to be
stopped as well.
-------------------------------------------------------------------
Wed Jun 17 09:03:40 UTC 2020 - Franck Bui <fbui@suse.com>
- Import commit b12cd8b89b4bccfcf972b47153a2b01cd7775932 (include merge of v245.6)
For a complete list of changes, visit:
https://github.com/openSUSE/systemd/compare/a6d31d1a02c2718a064bbbc40d003668acf72769...b12cd8b89b4bccfcf972b47153a2b01cd7775932
-------------------------------------------------------------------
Thu Jun 4 15:29:03 UTC 2020 - matthias.gerstner@suse.com
- no longer explicitly package setgid directory /var/log/journal (bsc#1172550).
The bit will be set during %post by way of the systemd-tmpfiles invocation.
This avoids a conflict with the permissions package and an rpmlint error
popping up.
-------------------------------------------------------------------
Fri May 29 14:32:41 UTC 2020 - Franck Bui <fbui@suse.com>
- Fix build when resolved is disabled
While at it sort the build conditionals.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 28 09:30:33 UTC 2020 - Franck Bui <fbui@suse.com> Thu May 28 09:30:33 UTC 2020 - Franck Bui <fbui@suse.com>

View File

@ -26,36 +26,36 @@
##### WARNING: please do not edit this auto generated spec file. Use the systemd.spec! ##### ##### WARNING: please do not edit this auto generated spec file. Use the systemd.spec! #####
%define mini -mini %define mini -mini
%define min_kernel_version 4.5 %define min_kernel_version 4.5
%define suse_version +suse.122.ga6d31d1a02 %define suse_version +suse.48.gb12cd8b89b
%bcond_with gnuefi %bcond_with gnuefi
%if 0%{?bootstrap} %if 0%{?bootstrap}
%bcond_with coredump %bcond_with coredump
%bcond_with sysvcompat
%bcond_with machined
%bcond_with importd %bcond_with importd
%bcond_with journal_remote
%bcond_with machined
%bcond_with networkd %bcond_with networkd
%bcond_with portabled %bcond_with portabled
%bcond_with resolved %bcond_with resolved
%bcond_with journal_remote %bcond_with sysvcompat
%else %else
%bcond_without coredump %bcond_without coredump
%bcond_without sysvcompat
%bcond_without machined
%bcond_without importd
%bcond_without networkd
%bcond_without portabled
%bcond_without resolved
%bcond_without journal_remote
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
%bcond_without gnuefi %bcond_without gnuefi
%endif %endif
%bcond_without importd
%bcond_without journal_remote
%bcond_without machined
%bcond_without networkd
%bcond_without portabled
%bcond_without resolved
%bcond_without sysvcompat
%endif %endif
%bcond_with parentpathid %bcond_with parentpathid
Name: systemd-mini Name: systemd-mini
URL: http://www.freedesktop.org/wiki/Software/systemd URL: http://www.freedesktop.org/wiki/Software/systemd
Version: 245 Version: 245.6
Release: 0 Release: 0
Summary: A System and Session Manager Summary: A System and Session Manager
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -492,7 +492,7 @@ ntp_servers=({0..3}.suse.pool.ntp.org)
# keep split-usr until all packages have moved their systemd rules to /usr # keep split-usr until all packages have moved their systemd rules to /usr
%meson \ %meson \
-Dversion-tag=%{suse_version} \ -Dversion-tag=%{version}%{suse_version} \
-Ddocdir=%{_docdir}/systemd \ -Ddocdir=%{_docdir}/systemd \
-Drootprefix=/usr \ -Drootprefix=/usr \
-Dsplit-usr=true \ -Dsplit-usr=true \
@ -861,15 +861,18 @@ fi
# This includes all hacks needed when upgrading from SysV. # This includes all hacks needed when upgrading from SysV.
%{_prefix}/lib/systemd/scripts/upgrade-from-pre-210.sh || : %{_prefix}/lib/systemd/scripts/upgrade-from-pre-210.sh || :
# Migrate i18n settings that could be previously configured in # Migrate old i18n settings previously configured in /etc/sysconfig to
# /etc/sysconfig but now is defined only in the systemd official # the new locations used by systemd (/etc/locale.conf,
# places (/etc/locale.conf, /etc/vconsole.conf, etc...). This is done # /etc/vconsole.conf, ...). Recent versions of systemd parse the new
# only once usually during package updates but might be also needed # locations only.
# during installations when we upgrade from a distro using SysV init. #
test -e %{_prefix}/lib/systemd/scripts/.migrate-sysconfig-i18n.sh~done || { # This is needed both at package updates and package installations
# because we might be upgrading from a system which was running SysV
# init (systemd package is being installed).
if ! test -e %{_prefix}/lib/systemd/scripts/.migrate-sysconfig-i18n.sh~done; then
%{_prefix}/lib/systemd/scripts/migrate-sysconfig-i18n.sh && %{_prefix}/lib/systemd/scripts/migrate-sysconfig-i18n.sh &&
touch %{_prefix}/lib/systemd/scripts/.migrate-sysconfig-i18n.sh~done || : touch %{_prefix}/lib/systemd/scripts/.migrate-sysconfig-i18n.sh~done || :
} fi
%postun %postun
%systemd_postun %systemd_postun
@ -900,13 +903,11 @@ rm -f /etc/udev/rules.d/{20,55,65}-cdrom.rules
%postun -n udev%{?mini} %postun -n udev%{?mini}
%regenerate_initrd_post %regenerate_initrd_post
systemctl daemon-reload || : # Restarting udevd sockets means also stopping the daemon. But we
# On package update: the restart of the socket units will probably # don't want the sockets and the daemon to be inactive at the same
# fail as the daemon is most likely running. It's not really an issue # time because we might loose new events sent by the kernel during the
# since we restart systemd-udevd right after and that will pull in the # package update otherwise. Hence we accept the fact that the socket
# socket units again. We should be informed at that time if something # properties might not be updated. They are unlikely changed anyway.
# really went wrong the first time we started the socket units.
%systemd_postun_with_restart systemd-udevd-{control,kernel}.socket 2>/dev/null
%systemd_postun_with_restart systemd-udevd.service %systemd_postun_with_restart systemd-udevd.service
%posttrans -n udev%{?mini} %posttrans -n udev%{?mini}
@ -1499,7 +1500,8 @@ fi
%files logger %files logger
%defattr(-,root,root) %defattr(-,root,root)
%dir %attr(2755,root,systemd-journal) %{_localstatedir}/log/journal/ # package without explicit setgid bit / attrs (see bsc#1172550)
%dir %{_localstatedir}/log/journal/
%doc %{_localstatedir}/log/README %doc %{_localstatedir}/log/README
%files -n nss-myhostname %files -n nss-myhostname
@ -1569,8 +1571,6 @@ fi
%{_unitdir}/systemd-networkd.service %{_unitdir}/systemd-networkd.service
%{_unitdir}/systemd-networkd.socket %{_unitdir}/systemd-networkd.socket
%{_unitdir}/systemd-networkd-wait-online.service %{_unitdir}/systemd-networkd-wait-online.service
%{_prefix}/lib/systemd/systemd-resolved
%{_unitdir}/systemd-resolved.service
%endif %endif
%if %{with resolved} %if %{with resolved}
%{_bindir}/resolvectl %{_bindir}/resolvectl
@ -1580,6 +1580,8 @@ fi
%{_datadir}/dbus-1/system-services/org.freedesktop.resolve1.service %{_datadir}/dbus-1/system-services/org.freedesktop.resolve1.service
%{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy %{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy
%{_prefix}/lib/systemd/resolv.conf %{_prefix}/lib/systemd/resolv.conf
%{_prefix}/lib/systemd/systemd-resolved
%{_unitdir}/systemd-resolved.service
%endif %endif
%endif %endif

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edf10c3da62bb0cd6dcff78c0e836f79cb0ed65fb6b9ea5cdbbd12514a702025
size 6173184

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc34032d49edabf9df4d2342063084b79040abbebcb56fc417449d0e08f2815e
size 6175556

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Fri Jun 19 09:59:29 UTC 2020 - Franck Bui <fbui@suse.com>
- Include in the package version the stable minor (if any).
Also update the version shown by various command such as 'systemctl
--version' to show the stable number.
-------------------------------------------------------------------
Wed Jun 17 18:54:11 UTC 2020 - Franck Bui <fbui@suse.com>
- Don't restart udevd sockets during package update
Otherwise we might miss kernel events as the daemon need to be
stopped as well.
-------------------------------------------------------------------
Wed Jun 17 09:03:40 UTC 2020 - Franck Bui <fbui@suse.com>
- Import commit b12cd8b89b4bccfcf972b47153a2b01cd7775932 (include merge of v245.6)
For a complete list of changes, visit:
https://github.com/openSUSE/systemd/compare/a6d31d1a02c2718a064bbbc40d003668acf72769...b12cd8b89b4bccfcf972b47153a2b01cd7775932
-------------------------------------------------------------------
Thu Jun 4 15:29:03 UTC 2020 - matthias.gerstner@suse.com
- no longer explicitly package setgid directory /var/log/journal (bsc#1172550).
The bit will be set during %post by way of the systemd-tmpfiles invocation.
This avoids a conflict with the permissions package and an rpmlint error
popping up.
-------------------------------------------------------------------
Fri May 29 14:32:41 UTC 2020 - Franck Bui <fbui@suse.com>
- Fix build when resolved is disabled
While at it sort the build conditionals.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 28 09:30:33 UTC 2020 - Franck Bui <fbui@suse.com> Thu May 28 09:30:33 UTC 2020 - Franck Bui <fbui@suse.com>

View File

@ -24,36 +24,36 @@
%define bootstrap 0 %define bootstrap 0
%define mini %nil %define mini %nil
%define min_kernel_version 4.5 %define min_kernel_version 4.5
%define suse_version +suse.122.ga6d31d1a02 %define suse_version +suse.48.gb12cd8b89b
%bcond_with gnuefi %bcond_with gnuefi
%if 0%{?bootstrap} %if 0%{?bootstrap}
%bcond_with coredump %bcond_with coredump
%bcond_with sysvcompat
%bcond_with machined
%bcond_with importd %bcond_with importd
%bcond_with journal_remote
%bcond_with machined
%bcond_with networkd %bcond_with networkd
%bcond_with portabled %bcond_with portabled
%bcond_with resolved %bcond_with resolved
%bcond_with journal_remote %bcond_with sysvcompat
%else %else
%bcond_without coredump %bcond_without coredump
%bcond_without sysvcompat
%bcond_without machined
%bcond_without importd
%bcond_without networkd
%bcond_without portabled
%bcond_without resolved
%bcond_without journal_remote
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
%bcond_without gnuefi %bcond_without gnuefi
%endif %endif
%bcond_without importd
%bcond_without journal_remote
%bcond_without machined
%bcond_without networkd
%bcond_without portabled
%bcond_without resolved
%bcond_without sysvcompat
%endif %endif
%bcond_with parentpathid %bcond_with parentpathid
Name: systemd Name: systemd
URL: http://www.freedesktop.org/wiki/Software/systemd URL: http://www.freedesktop.org/wiki/Software/systemd
Version: 245 Version: 245.6
Release: 0 Release: 0
Summary: A System and Session Manager Summary: A System and Session Manager
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -490,7 +490,7 @@ ntp_servers=({0..3}.suse.pool.ntp.org)
# keep split-usr until all packages have moved their systemd rules to /usr # keep split-usr until all packages have moved their systemd rules to /usr
%meson \ %meson \
-Dversion-tag=%{suse_version} \ -Dversion-tag=%{version}%{suse_version} \
-Ddocdir=%{_docdir}/systemd \ -Ddocdir=%{_docdir}/systemd \
-Drootprefix=/usr \ -Drootprefix=/usr \
-Dsplit-usr=true \ -Dsplit-usr=true \
@ -859,15 +859,18 @@ fi
# This includes all hacks needed when upgrading from SysV. # This includes all hacks needed when upgrading from SysV.
%{_prefix}/lib/systemd/scripts/upgrade-from-pre-210.sh || : %{_prefix}/lib/systemd/scripts/upgrade-from-pre-210.sh || :
# Migrate i18n settings that could be previously configured in # Migrate old i18n settings previously configured in /etc/sysconfig to
# /etc/sysconfig but now is defined only in the systemd official # the new locations used by systemd (/etc/locale.conf,
# places (/etc/locale.conf, /etc/vconsole.conf, etc...). This is done # /etc/vconsole.conf, ...). Recent versions of systemd parse the new
# only once usually during package updates but might be also needed # locations only.
# during installations when we upgrade from a distro using SysV init. #
test -e %{_prefix}/lib/systemd/scripts/.migrate-sysconfig-i18n.sh~done || { # This is needed both at package updates and package installations
# because we might be upgrading from a system which was running SysV
# init (systemd package is being installed).
if ! test -e %{_prefix}/lib/systemd/scripts/.migrate-sysconfig-i18n.sh~done; then
%{_prefix}/lib/systemd/scripts/migrate-sysconfig-i18n.sh && %{_prefix}/lib/systemd/scripts/migrate-sysconfig-i18n.sh &&
touch %{_prefix}/lib/systemd/scripts/.migrate-sysconfig-i18n.sh~done || : touch %{_prefix}/lib/systemd/scripts/.migrate-sysconfig-i18n.sh~done || :
} fi
%postun %postun
%systemd_postun %systemd_postun
@ -898,13 +901,11 @@ rm -f /etc/udev/rules.d/{20,55,65}-cdrom.rules
%postun -n udev%{?mini} %postun -n udev%{?mini}
%regenerate_initrd_post %regenerate_initrd_post
systemctl daemon-reload || : # Restarting udevd sockets means also stopping the daemon. But we
# On package update: the restart of the socket units will probably # don't want the sockets and the daemon to be inactive at the same
# fail as the daemon is most likely running. It's not really an issue # time because we might loose new events sent by the kernel during the
# since we restart systemd-udevd right after and that will pull in the # package update otherwise. Hence we accept the fact that the socket
# socket units again. We should be informed at that time if something # properties might not be updated. They are unlikely changed anyway.
# really went wrong the first time we started the socket units.
%systemd_postun_with_restart systemd-udevd-{control,kernel}.socket 2>/dev/null
%systemd_postun_with_restart systemd-udevd.service %systemd_postun_with_restart systemd-udevd.service
%posttrans -n udev%{?mini} %posttrans -n udev%{?mini}
@ -1497,7 +1498,8 @@ fi
%files logger %files logger
%defattr(-,root,root) %defattr(-,root,root)
%dir %attr(2755,root,systemd-journal) %{_localstatedir}/log/journal/ # package without explicit setgid bit / attrs (see bsc#1172550)
%dir %{_localstatedir}/log/journal/
%doc %{_localstatedir}/log/README %doc %{_localstatedir}/log/README
%files -n nss-myhostname %files -n nss-myhostname
@ -1567,8 +1569,6 @@ fi
%{_unitdir}/systemd-networkd.service %{_unitdir}/systemd-networkd.service
%{_unitdir}/systemd-networkd.socket %{_unitdir}/systemd-networkd.socket
%{_unitdir}/systemd-networkd-wait-online.service %{_unitdir}/systemd-networkd-wait-online.service
%{_prefix}/lib/systemd/systemd-resolved
%{_unitdir}/systemd-resolved.service
%endif %endif
%if %{with resolved} %if %{with resolved}
%{_bindir}/resolvectl %{_bindir}/resolvectl
@ -1578,6 +1578,8 @@ fi
%{_datadir}/dbus-1/system-services/org.freedesktop.resolve1.service %{_datadir}/dbus-1/system-services/org.freedesktop.resolve1.service
%{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy %{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy
%{_prefix}/lib/systemd/resolv.conf %{_prefix}/lib/systemd/resolv.conf
%{_prefix}/lib/systemd/systemd-resolved
%{_unitdir}/systemd-resolved.service
%endif %endif
%endif %endif