From 748ee0eb267800ed3581712b53936567dfe0c0612e17a2e145d9478b132bc004 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Thu, 2 May 2019 14:58:57 +0000 Subject: [PATCH 1/4] - Upgrade to v242 (commit 071c380dcc434dca2a0c8b6de0519cc9e816c6d6) See https://github.com/openSUSE/systemd/blob/SUSE/v242/NEWS for details. - Drop "BuildRequires: -post-build-checks" from the specfile (bsc#1130230) The syntax of this directive is obsolete and should be replaced by "#!BuildIgnore: post-build-checks". However there's no good reasons to disable these SUSE extra checks, so let's re-enable them and fix the few errors it detected. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1059 --- ...ward-compatibility-with-UserTasksMax.patch | 26 +++++----- debug-only-remove-new-policies.patch | 51 +++++++++++++++++++ systemd-mini.changes | 19 +++++++ systemd-mini.spec | 13 ++--- systemd-v241+suse.46.g4e6e66ea9.tar.xz | 3 -- systemd-v242+suse.56.g071c380dcc.tar.xz | 3 ++ systemd.changes | 19 +++++++ systemd.spec | 13 ++--- 8 files changed, 120 insertions(+), 27 deletions(-) create mode 100644 debug-only-remove-new-policies.patch delete mode 100644 systemd-v241+suse.46.g4e6e66ea9.tar.xz create mode 100644 systemd-v242+suse.56.g071c380dcc.tar.xz diff --git a/0001-logind-keep-backward-compatibility-with-UserTasksMax.patch b/0001-logind-keep-backward-compatibility-with-UserTasksMax.patch index 04b042c..553fd89 100644 --- a/0001-logind-keep-backward-compatibility-with-UserTasksMax.patch +++ b/0001-logind-keep-backward-compatibility-with-UserTasksMax.patch @@ -1,4 +1,4 @@ -From 819616fabe327d4baf587337f427c24588192af5 Mon Sep 17 00:00:00 2001 +From ce59acc7743f1897a335449b718f9ede33add394 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Tue, 6 Nov 2018 11:51:26 +0100 Subject: [PATCH] logind: keep backward compatibility with UserTasksMax= in @@ -23,17 +23,17 @@ The main advantages to use a generator are: Expect this generator to be dropped in the future. --- - meson.build | 8 ++++ - src/login/compat-tasks-max-generator.c | 66 ++++++++++++++++++++++++++ - src/login/logind-user.c | 43 +++++++++++++++-- - 3 files changed, 112 insertions(+), 5 deletions(-) + meson.build | 8 +++ + src/login/compat-tasks-max-generator.c | 68 ++++++++++++++++++++++++++ + src/login/logind-user.c | 43 ++++++++++++++-- + 3 files changed, 114 insertions(+), 5 deletions(-) create mode 100644 src/login/compat-tasks-max-generator.c diff --git a/meson.build b/meson.build -index eacadc1505..7c00470fff 100644 +index dc6e970095..d834108f24 100644 --- a/meson.build +++ b/meson.build -@@ -1866,6 +1866,14 @@ if conf.get('ENABLE_LOGIND') == 1 +@@ -1885,6 +1885,14 @@ if conf.get('ENABLE_LOGIND') == 1 endif endif @@ -50,11 +50,13 @@ index eacadc1505..7c00470fff 100644 include_directories : includes, diff --git a/src/login/compat-tasks-max-generator.c b/src/login/compat-tasks-max-generator.c new file mode 100644 -index 0000000000..404ca5f237 +index 0000000000..964d0596fb --- /dev/null +++ b/src/login/compat-tasks-max-generator.c -@@ -0,0 +1,66 @@ +@@ -0,0 +1,68 @@ +#include ++#include ++#include + +#include "alloc-util.h" +#include "dropin.h" @@ -121,10 +123,10 @@ index 0000000000..404ca5f237 + return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS; +} diff --git a/src/login/logind-user.c b/src/login/logind-user.c -index ae27bfb662..bbcac62783 100644 +index 045b6f0e17..1c19d6512b 100644 --- a/src/login/logind-user.c +++ b/src/login/logind-user.c -@@ -843,17 +843,50 @@ int config_parse_compat_user_tasks_max( +@@ -847,17 +847,50 @@ int config_parse_compat_user_tasks_max( void *data, void *userdata) { @@ -181,5 +183,5 @@ index ae27bfb662..bbcac62783 100644 return 0; } -- -2.20.1 +2.21.0 diff --git a/debug-only-remove-new-policies.patch b/debug-only-remove-new-policies.patch new file mode 100644 index 0000000..670f8f2 --- /dev/null +++ b/debug-only-remove-new-policies.patch @@ -0,0 +1,51 @@ +diff --git a/src/login/org.freedesktop.login1.policy b/src/login/org.freedesktop.login1.policy +index 6dc79aa32a..398fb7bc21 100644 +--- a/src/login/org.freedesktop.login1.policy ++++ b/src/login/org.freedesktop.login1.policy +@@ -337,17 +337,6 @@ + + + +- +- Set the reboot "reason" in the kernel +- Authentication is required to set the reboot "reason" in the kernel. +- +- auth_admin_keep +- auth_admin_keep +- yes +- +- org.freedesktop.login1.reboot +- +- + + Indicate to the firmware to boot to setup interface + Authentication is required to indicate to the firmware to boot to setup interface. +@@ -359,28 +348,6 @@ + org.freedesktop.login1.reboot + + +- +- Indicate to the boot loader to boot to the boot loader menu +- Authentication is required to indicate to the boot loader to boot to the boot loader menu. +- +- auth_admin_keep +- auth_admin_keep +- yes +- +- org.freedesktop.login1.reboot +- +- +- +- Indicate to the boot loader to boot a specific entry +- Authentication is required to indicate to the boot loader to boot into a specific boot loader entry. +- +- auth_admin_keep +- auth_admin_keep +- yes +- +- org.freedesktop.login1.reboot +- +- + + Set a wall message + Authentication is required to set a wall message diff --git a/systemd-mini.changes b/systemd-mini.changes index 3eb25d2..93be926 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Thu May 2 13:12:23 UTC 2019 - Franck Bui + +- Upgrade to v242 (commit 071c380dcc434dca2a0c8b6de0519cc9e816c6d6) + + See https://github.com/openSUSE/systemd/blob/SUSE/v242/NEWS for + details. + +------------------------------------------------------------------- +Wed Apr 24 07:23:44 UTC 2019 - Franck Bui + +- Drop "BuildRequires: -post-build-checks" from the specfile (bsc#1130230) + + The syntax of this directive is obsolete and should be replaced by + "#!BuildIgnore: post-build-checks". + + However there's no good reasons to disable these SUSE extra checks, + so let's re-enable them and fix the few errors it detected. + ------------------------------------------------------------------- Fri Apr 12 14:13:54 UTC 2019 - Franck Bui diff --git a/systemd-mini.spec b/systemd-mini.spec index 168751e..43d7d45 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -26,7 +26,7 @@ ##### WARNING: please do not edit this auto generated spec file. Use the systemd.spec! ##### %define mini -mini %define min_kernel_version 4.5 -%define suse_version +suse.46.g4e6e66ea9 +%define suse_version +suse.56.g071c380dcc %bcond_with gnuefi %if 0%{?bootstrap} @@ -53,14 +53,13 @@ Name: systemd-mini Url: http://www.freedesktop.org/wiki/Software/systemd -Version: 241 +Version: 242 Release: 0 Summary: A System and Session Manager License: LGPL-2.1-or-later Group: System/Base BuildRoot: %{_tmppath}/%{name}-%{version}-build %if ! 0%{?bootstrap} -BuildRequires: -post-build-checks BuildRequires: docbook-xsl-stylesheets BuildRequires: kbd BuildRequires: libapparmor-devel @@ -167,6 +166,7 @@ Source200: scripts-udev-convert-lib-udev-path.sh # merged by upstream. Patch1: 0001-resolved-create-etc-resolv.conf-symlink-at-runtime.patch Patch2: 0001-logind-keep-backward-compatibility-with-UserTasksMax.patch +Patch3: debug-only-remove-new-policies.patch %description Systemd is a system and service manager, compatible with SysV and LSB @@ -606,6 +606,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d # Make sure directories in /var exist mkdir -p %{buildroot}%{_localstatedir}/lib/systemd/coredump mkdir -p %{buildroot}%{_localstatedir}/lib/systemd/catalog + # Create ghost databases touch %{buildroot}%{_localstatedir}/lib/systemd/catalog/database touch %{buildroot}%{_sysconfdir}/udev/hwdb.bin @@ -942,6 +943,7 @@ fi %{_bindir}/systemd-cat %dir %{_prefix}/lib/kernel %dir %{_prefix}/lib/kernel/install.d +%{_prefix}/lib/kernel/install.d/00-entry-directory.install %{_prefix}/lib/kernel/install.d/50-depmod.install %{_prefix}/lib/kernel/install.d/90-loaderentry.install %dir %{_prefix}/lib/systemd @@ -1090,11 +1092,9 @@ fi %{_datadir}/dbus-1/system.d/org.freedesktop.timedate1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.timesync1.conf %if %{with networkd} -%{_sysconfdir}/systemd/system/dbus-org.freedesktop.network1.service %{_datadir}/dbus-1/system.d/org.freedesktop.network1.conf %endif %if %{with resolved} -%{_sysconfdir}/systemd/system/dbus-org.freedesktop.resolve1.service %{_datadir}/dbus-1/system.d/org.freedesktop.resolve1.conf %endif @@ -1142,6 +1142,7 @@ fi %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy %if %{with networkd} +%dir %{_datadir}/polkit-1/rules.d %{_datadir}/polkit-1/rules.d/60-systemd-networkd.rules %endif %if %{with resolved} @@ -1263,7 +1264,7 @@ fi %{_prefix}/lib/udev/scripts/ %dir %{_sysconfdir}/udev/ %dir %{_sysconfdir}/udev/rules.d/ -%ghost %{_sysconfdir}/udev/hwdb.bin +%ghost %attr(444, root, root) %{_sysconfdir}/udev/hwdb.bin %config(noreplace) %{_sysconfdir}/udev/udev.conf %if ! 0%{?bootstrap} %{_mandir}/man5/udev* diff --git a/systemd-v241+suse.46.g4e6e66ea9.tar.xz b/systemd-v241+suse.46.g4e6e66ea9.tar.xz deleted file mode 100644 index 381248a..0000000 --- a/systemd-v241+suse.46.g4e6e66ea9.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5f2a3be6a40ed5994348c6db064051f09470bdfd0f0be6012b01209f26ccf3ee -size 5192692 diff --git a/systemd-v242+suse.56.g071c380dcc.tar.xz b/systemd-v242+suse.56.g071c380dcc.tar.xz new file mode 100644 index 0000000..980c50a --- /dev/null +++ b/systemd-v242+suse.56.g071c380dcc.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25e46b15e7c13e0c8492a3593b74257f8586a1124bf094b1c6de12ee2c4a735b +size 5322252 diff --git a/systemd.changes b/systemd.changes index 3eb25d2..93be926 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Thu May 2 13:12:23 UTC 2019 - Franck Bui + +- Upgrade to v242 (commit 071c380dcc434dca2a0c8b6de0519cc9e816c6d6) + + See https://github.com/openSUSE/systemd/blob/SUSE/v242/NEWS for + details. + +------------------------------------------------------------------- +Wed Apr 24 07:23:44 UTC 2019 - Franck Bui + +- Drop "BuildRequires: -post-build-checks" from the specfile (bsc#1130230) + + The syntax of this directive is obsolete and should be replaced by + "#!BuildIgnore: post-build-checks". + + However there's no good reasons to disable these SUSE extra checks, + so let's re-enable them and fix the few errors it detected. + ------------------------------------------------------------------- Fri Apr 12 14:13:54 UTC 2019 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 03bf9e9..61ceaf5 100644 --- a/systemd.spec +++ b/systemd.spec @@ -24,7 +24,7 @@ %define bootstrap 0 %define mini %nil %define min_kernel_version 4.5 -%define suse_version +suse.46.g4e6e66ea9 +%define suse_version +suse.56.g071c380dcc %bcond_with gnuefi %if 0%{?bootstrap} @@ -51,14 +51,13 @@ Name: systemd Url: http://www.freedesktop.org/wiki/Software/systemd -Version: 241 +Version: 242 Release: 0 Summary: A System and Session Manager License: LGPL-2.1-or-later Group: System/Base BuildRoot: %{_tmppath}/%{name}-%{version}-build %if ! 0%{?bootstrap} -BuildRequires: -post-build-checks BuildRequires: docbook-xsl-stylesheets BuildRequires: kbd BuildRequires: libapparmor-devel @@ -165,6 +164,7 @@ Source200: scripts-udev-convert-lib-udev-path.sh # merged by upstream. Patch1: 0001-resolved-create-etc-resolv.conf-symlink-at-runtime.patch Patch2: 0001-logind-keep-backward-compatibility-with-UserTasksMax.patch +Patch3: debug-only-remove-new-policies.patch %description Systemd is a system and service manager, compatible with SysV and LSB @@ -604,6 +604,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d # Make sure directories in /var exist mkdir -p %{buildroot}%{_localstatedir}/lib/systemd/coredump mkdir -p %{buildroot}%{_localstatedir}/lib/systemd/catalog + # Create ghost databases touch %{buildroot}%{_localstatedir}/lib/systemd/catalog/database touch %{buildroot}%{_sysconfdir}/udev/hwdb.bin @@ -940,6 +941,7 @@ fi %{_bindir}/systemd-cat %dir %{_prefix}/lib/kernel %dir %{_prefix}/lib/kernel/install.d +%{_prefix}/lib/kernel/install.d/00-entry-directory.install %{_prefix}/lib/kernel/install.d/50-depmod.install %{_prefix}/lib/kernel/install.d/90-loaderentry.install %dir %{_prefix}/lib/systemd @@ -1088,11 +1090,9 @@ fi %{_datadir}/dbus-1/system.d/org.freedesktop.timedate1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.timesync1.conf %if %{with networkd} -%{_sysconfdir}/systemd/system/dbus-org.freedesktop.network1.service %{_datadir}/dbus-1/system.d/org.freedesktop.network1.conf %endif %if %{with resolved} -%{_sysconfdir}/systemd/system/dbus-org.freedesktop.resolve1.service %{_datadir}/dbus-1/system.d/org.freedesktop.resolve1.conf %endif @@ -1140,6 +1140,7 @@ fi %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy %if %{with networkd} +%dir %{_datadir}/polkit-1/rules.d %{_datadir}/polkit-1/rules.d/60-systemd-networkd.rules %endif %if %{with resolved} @@ -1261,7 +1262,7 @@ fi %{_prefix}/lib/udev/scripts/ %dir %{_sysconfdir}/udev/ %dir %{_sysconfdir}/udev/rules.d/ -%ghost %{_sysconfdir}/udev/hwdb.bin +%ghost %attr(444, root, root) %{_sysconfdir}/udev/hwdb.bin %config(noreplace) %{_sysconfdir}/udev/udev.conf %if ! 0%{?bootstrap} %{_mandir}/man5/udev* From 94040427282ea81d4911220306fdd5e3e6e636648b33c4c6f75e946e07e2777e Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Thu, 9 May 2019 07:17:05 +0000 Subject: [PATCH 2/4] - Add debug-only-remove-new-policies.patch A temporary patch to suppress the new DBUS methods introduced by v242 until they are reviewed and whitelisted by the secteam. - Add a comment explaining why static enablement symlinks in /etc are suppressed Also remove any /etc/systemd/system/*.requires/ symlinks for the same reason. - preset remote-cryptsetup.target during package installation This target is supposed to be part of the targets that should be enabled (or not depending on the presets) at package installation. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1060 --- systemd-mini.changes | 24 ++++++++++++++++++++++++ systemd-mini.spec | 6 +++++- systemd.changes | 24 ++++++++++++++++++++++++ systemd.spec | 6 +++++- 4 files changed, 58 insertions(+), 2 deletions(-) diff --git a/systemd-mini.changes b/systemd-mini.changes index 93be926..0cc3558 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Thu May 9 07:13:44 UTC 2019 - Franck Bui + +- Add debug-only-remove-new-policies.patch + + A temporary patch to suppress the new DBUS methods introduced by + v242 until they are reviewed and whitelisted by the secteam. + +------------------------------------------------------------------- +Thu May 9 07:11:08 UTC 2019 - Franck Bui + +- Add a comment explaining why static enablement symlinks in /etc are suppressed + + Also remove any /etc/systemd/system/*.requires/ symlinks for the + same reason. + +------------------------------------------------------------------- +Thu May 2 15:24:45 UTC 2019 - Franck Bui + +- preset remote-cryptsetup.target during package installation + + This target is supposed to be part of the targets that should be + enabled (or not depending on the presets) at package installation. + ------------------------------------------------------------------- Thu May 2 13:12:23 UTC 2019 - Franck Bui diff --git a/systemd-mini.spec b/systemd-mini.spec index 43d7d45..8ef239d 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -544,7 +544,10 @@ ln -s ../usr/bin/systemctl %{buildroot}/sbin/shutdown ln -s ../usr/bin/systemctl %{buildroot}/sbin/poweroff ln -s ../usr/bin/systemctl %{buildroot}/sbin/telinit ln -s ../usr/bin/systemctl %{buildroot}/sbin/runlevel -rm -rf %{buildroot}/etc/systemd/system/*.target.wants + +# Make sure we don't ship static enablement symlinks in /etc during +# installation, presets should be honoured instead. +rm -rf %{buildroot}/etc/systemd/system/*.target.{requires,wants} rm -f %{buildroot}/etc/systemd/system/default.target # Replace /etc/pam.d/systemd-user shipped by upstream with the openSUSE one. @@ -733,6 +736,7 @@ systemctl daemon-reexec || : # Create default config in /etc at first install. # Later package updates should not overwrite these settings. +%systemd_post remote-cryptsetup.target %systemd_post getty@.service %systemd_post machines.target %systemd_post remote-fs.target diff --git a/systemd.changes b/systemd.changes index 93be926..0cc3558 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Thu May 9 07:13:44 UTC 2019 - Franck Bui + +- Add debug-only-remove-new-policies.patch + + A temporary patch to suppress the new DBUS methods introduced by + v242 until they are reviewed and whitelisted by the secteam. + +------------------------------------------------------------------- +Thu May 9 07:11:08 UTC 2019 - Franck Bui + +- Add a comment explaining why static enablement symlinks in /etc are suppressed + + Also remove any /etc/systemd/system/*.requires/ symlinks for the + same reason. + +------------------------------------------------------------------- +Thu May 2 15:24:45 UTC 2019 - Franck Bui + +- preset remote-cryptsetup.target during package installation + + This target is supposed to be part of the targets that should be + enabled (or not depending on the presets) at package installation. + ------------------------------------------------------------------- Thu May 2 13:12:23 UTC 2019 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 61ceaf5..6c5b184 100644 --- a/systemd.spec +++ b/systemd.spec @@ -542,7 +542,10 @@ ln -s ../usr/bin/systemctl %{buildroot}/sbin/shutdown ln -s ../usr/bin/systemctl %{buildroot}/sbin/poweroff ln -s ../usr/bin/systemctl %{buildroot}/sbin/telinit ln -s ../usr/bin/systemctl %{buildroot}/sbin/runlevel -rm -rf %{buildroot}/etc/systemd/system/*.target.wants + +# Make sure we don't ship static enablement symlinks in /etc during +# installation, presets should be honoured instead. +rm -rf %{buildroot}/etc/systemd/system/*.target.{requires,wants} rm -f %{buildroot}/etc/systemd/system/default.target # Replace /etc/pam.d/systemd-user shipped by upstream with the openSUSE one. @@ -731,6 +734,7 @@ systemctl daemon-reexec || : # Create default config in /etc at first install. # Later package updates should not overwrite these settings. +%systemd_post remote-cryptsetup.target %systemd_post getty@.service %systemd_post machines.target %systemd_post remote-fs.target From 7c28ecb852cd0e0a4a6efa8d4a98df9f9d0e1d72b06363198d3d129661d403a3 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Mon, 13 May 2019 08:55:25 +0000 Subject: [PATCH 3/4] - Buildrequire polkit so /usr/share/polkit-1/rules.d has an owner Otherwise the "post build checks" would complain and would force systemd to own this directory. The owner should still be "polkit" and the perms should be in sync with the perm set by polkit itself. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1061 --- systemd-mini.changes | 10 ++++++++++ systemd-mini.spec | 2 +- systemd.changes | 10 ++++++++++ systemd.spec | 2 +- 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/systemd-mini.changes b/systemd-mini.changes index 0cc3558..72ff826 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon May 13 08:46:38 UTC 2019 - Franck Bui + +- Buildrequire polkit so /usr/share/polkit-1/rules.d has an owner + + Otherwise the "post build checks" would complain and would force + systemd to own this directory. The owner should still be "polkit" + and the perms should be in sync with the perm set by polkit + itself. + ------------------------------------------------------------------- Thu May 9 07:13:44 UTC 2019 - Franck Bui diff --git a/systemd-mini.spec b/systemd-mini.spec index 8ef239d..8d335ca 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -65,6 +65,7 @@ BuildRequires: kbd BuildRequires: libapparmor-devel BuildRequires: libgcrypt-devel BuildRequires: libxslt-tools +BuildRequires: polkit # python is only required for generating systemd.directives.xml BuildRequires: python3 BuildRequires: python3-lxml @@ -1146,7 +1147,6 @@ fi %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy %if %{with networkd} -%dir %{_datadir}/polkit-1/rules.d %{_datadir}/polkit-1/rules.d/60-systemd-networkd.rules %endif %if %{with resolved} diff --git a/systemd.changes b/systemd.changes index 0cc3558..72ff826 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon May 13 08:46:38 UTC 2019 - Franck Bui + +- Buildrequire polkit so /usr/share/polkit-1/rules.d has an owner + + Otherwise the "post build checks" would complain and would force + systemd to own this directory. The owner should still be "polkit" + and the perms should be in sync with the perm set by polkit + itself. + ------------------------------------------------------------------- Thu May 9 07:13:44 UTC 2019 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 6c5b184..38e15bd 100644 --- a/systemd.spec +++ b/systemd.spec @@ -63,6 +63,7 @@ BuildRequires: kbd BuildRequires: libapparmor-devel BuildRequires: libgcrypt-devel BuildRequires: libxslt-tools +BuildRequires: polkit # python is only required for generating systemd.directives.xml BuildRequires: python3 BuildRequires: python3-lxml @@ -1144,7 +1145,6 @@ fi %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy %if %{with networkd} -%dir %{_datadir}/polkit-1/rules.d %{_datadir}/polkit-1/rules.d/60-systemd-networkd.rules %endif %if %{with resolved} From 9cdbc5425045b8e270f1e3a44a4613a6ec5cc0d4ca8794d9e15ed53a5eda6aa0 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Tue, 14 May 2019 15:44:47 +0000 Subject: [PATCH 4/4] =?UTF-8?q?-=20Import=20commit=209984a86d0d2259d54c706?= =?UTF-8?q?0f9c09f214202b4efa7=20=20=20f2459bf373=20random-util:=20eat=20u?= =?UTF-8?q?p=20bad=20RDRAND=20values=20seen=20on=20AMD=20CPUs=20=20=20c90a?= =?UTF-8?q?2e9793=20util-lib:=20fix=20a=20typo=20in=20rdrand=20=20=204db1c?= =?UTF-8?q?c9d46=20random-util:=20rename=20"err"=20to=20"success"=20=20=20?= =?UTF-8?q?981a62a102=20random-util:=20hash=20AT=5FRANDOM=20getauxval()=20?= =?UTF-8?q?value=20before=20using=20it=20=20=2064a9c3d918=20random-util:?= =?UTF-8?q?=20use=20gcc's=20bit=5FRDRND=20definition=20if=20it=20exists=20?= =?UTF-8?q?=20=20c5d6ecfdca=20random-util:=20rename=20RANDOM=5FDONT=5FDRAI?= =?UTF-8?q?N=20=E2=86=92=20RANDOM=5FMAY=5FFAIL=20=20=20298d13df7e=20networ?= =?UTF-8?q?k:=20remove=20redunant=20link=20name=20in=20message=20=20=2077c?= =?UTF-8?q?bde31f2=20hwdb:=20Align=20airplane=20mode=20toggle=20key=20mapp?= =?UTF-8?q?ing=20for=20all=20Acer=20series=20=20=20460f03794e=20Revert=20"?= =?UTF-8?q?hwdb:=20Apply=20Acer=20mappings=20to=20all=20Gateway=20and=20Pa?= =?UTF-8?q?ckard=20Bell=20models"=20=20=20fe9271ad84=20test:=20return=20a?= =?UTF-8?q?=20non-zero=20return=20code=20when=20'nobody'=20user=20doesn't?= =?UTF-8?q?=20exist=20=20=2029d355e755=20fstab-generator:=20Prevent=20doub?= =?UTF-8?q?le=20free=20of=20reused=20FILE*=20=20=20f30f1adc11=20meson:=20m?= =?UTF-8?q?ake=20source=20files=20including=20nspawn-settings.h=20depend?= =?UTF-8?q?=20on=20libseccomp=20=20=2084bab914b8=20alloc-util:=20don't=20u?= =?UTF-8?q?se=20malloc=5Fusable=5Fsize()=20to=20determine=20allocated=20si?= =?UTF-8?q?ze=20=20=205240972d8d=20units:=20drop=20reference=20to=20sushel?= =?UTF-8?q?l=20man=20page=20=20=200a26de5e33=20codespell:=20fix=20spelling?= =?UTF-8?q?=20errors=20=20=20582de105c8=20nspawn-expose-ports:=20fix=20a?= =?UTF-8?q?=20typo=20in=20error=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1062 --- systemd-mini.changes | 22 ++++++++++++++++++++++ systemd-mini.spec | 2 +- systemd-v242+suse.56.g071c380dcc.tar.xz | 3 --- systemd-v242+suse.75.g9984a86d0d.tar.xz | 3 +++ systemd.changes | 22 ++++++++++++++++++++++ systemd.spec | 2 +- 6 files changed, 49 insertions(+), 5 deletions(-) delete mode 100644 systemd-v242+suse.56.g071c380dcc.tar.xz create mode 100644 systemd-v242+suse.75.g9984a86d0d.tar.xz diff --git a/systemd-mini.changes b/systemd-mini.changes index 72ff826..51e13e4 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Tue May 14 14:27:12 UTC 2019 - Franck Bui + +- Import commit 9984a86d0d2259d54c7060f9c09f214202b4efa7 + + f2459bf373 random-util: eat up bad RDRAND values seen on AMD CPUs + c90a2e9793 util-lib: fix a typo in rdrand + 4db1cc9d46 random-util: rename "err" to "success" + 981a62a102 random-util: hash AT_RANDOM getauxval() value before using it + 64a9c3d918 random-util: use gcc's bit_RDRND definition if it exists + c5d6ecfdca random-util: rename RANDOM_DONT_DRAIN → RANDOM_MAY_FAIL + 298d13df7e network: remove redunant link name in message + 77cbde31f2 hwdb: Align airplane mode toggle key mapping for all Acer series + 460f03794e Revert "hwdb: Apply Acer mappings to all Gateway and Packard Bell models" + fe9271ad84 test: return a non-zero return code when 'nobody' user doesn't exist + 29d355e755 fstab-generator: Prevent double free of reused FILE* + f30f1adc11 meson: make source files including nspawn-settings.h depend on libseccomp + 84bab914b8 alloc-util: don't use malloc_usable_size() to determine allocated size + 5240972d8d units: drop reference to sushell man page + 0a26de5e33 codespell: fix spelling errors + 582de105c8 nspawn-expose-ports: fix a typo in error message + ------------------------------------------------------------------- Mon May 13 08:46:38 UTC 2019 - Franck Bui diff --git a/systemd-mini.spec b/systemd-mini.spec index 8d335ca..8ff7604 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -26,7 +26,7 @@ ##### WARNING: please do not edit this auto generated spec file. Use the systemd.spec! ##### %define mini -mini %define min_kernel_version 4.5 -%define suse_version +suse.56.g071c380dcc +%define suse_version +suse.75.g9984a86d0d %bcond_with gnuefi %if 0%{?bootstrap} diff --git a/systemd-v242+suse.56.g071c380dcc.tar.xz b/systemd-v242+suse.56.g071c380dcc.tar.xz deleted file mode 100644 index 980c50a..0000000 --- a/systemd-v242+suse.56.g071c380dcc.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:25e46b15e7c13e0c8492a3593b74257f8586a1124bf094b1c6de12ee2c4a735b -size 5322252 diff --git a/systemd-v242+suse.75.g9984a86d0d.tar.xz b/systemd-v242+suse.75.g9984a86d0d.tar.xz new file mode 100644 index 0000000..50615f1 --- /dev/null +++ b/systemd-v242+suse.75.g9984a86d0d.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5ad0c9c95ffa3b089676482ccdf91c72d6e2a01f4f97eece0264a737afc9af5 +size 5323056 diff --git a/systemd.changes b/systemd.changes index 72ff826..51e13e4 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Tue May 14 14:27:12 UTC 2019 - Franck Bui + +- Import commit 9984a86d0d2259d54c7060f9c09f214202b4efa7 + + f2459bf373 random-util: eat up bad RDRAND values seen on AMD CPUs + c90a2e9793 util-lib: fix a typo in rdrand + 4db1cc9d46 random-util: rename "err" to "success" + 981a62a102 random-util: hash AT_RANDOM getauxval() value before using it + 64a9c3d918 random-util: use gcc's bit_RDRND definition if it exists + c5d6ecfdca random-util: rename RANDOM_DONT_DRAIN → RANDOM_MAY_FAIL + 298d13df7e network: remove redunant link name in message + 77cbde31f2 hwdb: Align airplane mode toggle key mapping for all Acer series + 460f03794e Revert "hwdb: Apply Acer mappings to all Gateway and Packard Bell models" + fe9271ad84 test: return a non-zero return code when 'nobody' user doesn't exist + 29d355e755 fstab-generator: Prevent double free of reused FILE* + f30f1adc11 meson: make source files including nspawn-settings.h depend on libseccomp + 84bab914b8 alloc-util: don't use malloc_usable_size() to determine allocated size + 5240972d8d units: drop reference to sushell man page + 0a26de5e33 codespell: fix spelling errors + 582de105c8 nspawn-expose-ports: fix a typo in error message + ------------------------------------------------------------------- Mon May 13 08:46:38 UTC 2019 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 38e15bd..245e57c 100644 --- a/systemd.spec +++ b/systemd.spec @@ -24,7 +24,7 @@ %define bootstrap 0 %define mini %nil %define min_kernel_version 4.5 -%define suse_version +suse.56.g071c380dcc +%define suse_version +suse.75.g9984a86d0d %bcond_with gnuefi %if 0%{?bootstrap}