From d89dc3c905d2ac57f4c9cd1dc78652e5821b67e396ea314b71cebcc3b057b3a4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 10 Oct 2017 09:37:40 +0000 Subject: [PATCH] Accepting request 532104 from Base:System 1 OBS-URL: https://build.opensuse.org/request/show/532104 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=263 --- ...ce-Use-JobRunningTimeoutSec-for-devi.patch | 48 ------------------- systemd-234.tar.xz | 4 +- systemd-mini.changes | 31 ++++++++++++ systemd-mini.spec | 1 - systemd.changes | 31 ++++++++++++ systemd.spec | 1 - 6 files changed, 64 insertions(+), 52 deletions(-) delete mode 100644 0001-Revert-core-device-Use-JobRunningTimeoutSec-for-devi.patch diff --git a/0001-Revert-core-device-Use-JobRunningTimeoutSec-for-devi.patch b/0001-Revert-core-device-Use-JobRunningTimeoutSec-for-devi.patch deleted file mode 100644 index cc49aea..0000000 --- a/0001-Revert-core-device-Use-JobRunningTimeoutSec-for-devi.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 02a4361a931a210b547795a49d062e90d2462cbc Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Michal=20Koutn=C3=BD?= -Date: Wed, 23 Aug 2017 15:18:19 +0200 -Subject: [PATCH 1/1] Revert "core/device: Use JobRunningTimeoutSec= for device - units" - -This reverts commit d9732d78034cd01a75f2cda6ebaddb4c3a0929ea. - -This is not backwards compatible for outer callers that are used to set -JobTimeoutSec= for devices. The compatibility breaks if JobTimeoutSec= is -longer than default JobRunningTimeoutSec=90, especially JobTimeoutSec=infinity. - -[mkoutny: fixes bsc#1048605] -[fbui: as a consequence, reintroduces bsc#1004995] ---- - src/core/device.c | 2 +- - src/shared/generator.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/core/device.c b/src/core/device.c -index 434a6a9c5..89549f43b 100644 ---- a/src/core/device.c -+++ b/src/core/device.c -@@ -114,7 +114,7 @@ static void device_init(Unit *u) { - * indefinitely for plugged in devices, something which cannot - * happen for the other units since their operations time out - * anyway. */ -- u->job_running_timeout = u->manager->default_timeout_start_usec; -+ u->job_timeout = u->manager->default_timeout_start_usec; - - u->ignore_on_isolate = true; - } -diff --git a/src/shared/generator.c b/src/shared/generator.c -index 47be354ba..743bc88f6 100644 ---- a/src/shared/generator.c -+++ b/src/shared/generator.c -@@ -187,7 +187,7 @@ int generator_write_timeouts( - - return write_drop_in_format(dir, unit, 50, "device-timeout", - "# Automatically generated by %s\n\n" -- "[Unit]\nJobRunningTimeoutSec=%s", -+ "[Unit]\nJobTimeoutSec=%s", - program_invocation_short_name, timeout); - } - --- -2.13.1 - diff --git a/systemd-234.tar.xz b/systemd-234.tar.xz index e3b0218..4b8380f 100644 --- a/systemd-234.tar.xz +++ b/systemd-234.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6ee3972f4e9cb106edc944878ffd753b55e3318efad555bf06c8e66770e7605e -size 3351148 +oid sha256:6fd8f4674008055ae6b3fb870e84fbd64f53c1edaf43c84d95d7a9b6b7bec00b +size 3351212 diff --git a/systemd-mini.changes b/systemd-mini.changes index e8f8c00..1515ef8 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Fri Oct 6 07:44:38 UTC 2017 - fbui@suse.com + +- Damn forgot to drop 0001-Revert-core-device-Use-JobRunningTimeoutSec-for-devi.patch in + the spec file + +------------------------------------------------------------------- +Fri Oct 6 07:30:01 UTC 2017 - fbui@suse.com + +- Import commit 6dea894131d78b20b9e0482f75afa6ee4dec8627 + + 1cdd944b0 unit: when JobTimeoutSec= is turned off, implicitly turn off JobRunningTimeoutSec= too (bsc#1004995) + + This make 0001-Revert-core-device-Use-JobRunningTimeoutSec-for-devi.patch + not needed anymore. + +------------------------------------------------------------------- +Thu Oct 5 12:24:35 UTC 2017 - fbui@suse.com + +- Import commit 93688f8e53b4e482a55a7d4aba2d927ddedebdde + + c53522be3 compat-rules: allow to specify the generation number through the kernel cmdline + +------------------------------------------------------------------- +Wed Oct 4 15:44:14 UTC 2017 - fbui@suse.com + +- Import commit c1e8af7d1e8b09c2878a5b17f513bfc41ae46dc6 + + 982754275 build-sys: make sure 61-persitent-storage-compat.rules is installed with meson + 9ac2e8b9b udev: proc_cmdline_get_key() FTW! (#6925) + ------------------------------------------------------------------- Tue Sep 26 10:14:22 UTC 2017 - fbui@suse.com diff --git a/systemd-mini.spec b/systemd-mini.spec index 02ebdf9..10c9941 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -163,7 +163,6 @@ Source1065: udev-remount-tmpfs # patches are temporary and should be removed as soon as a fix is # merged by upstream. Patch1: 0001-core-disable-session-keyring-per-system-sevice-entir.patch -Patch2: 0001-Revert-core-device-Use-JobRunningTimeoutSec-for-devi.patch %description Systemd is a system and service manager, compatible with SysV and LSB diff --git a/systemd.changes b/systemd.changes index e8f8c00..1515ef8 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Fri Oct 6 07:44:38 UTC 2017 - fbui@suse.com + +- Damn forgot to drop 0001-Revert-core-device-Use-JobRunningTimeoutSec-for-devi.patch in + the spec file + +------------------------------------------------------------------- +Fri Oct 6 07:30:01 UTC 2017 - fbui@suse.com + +- Import commit 6dea894131d78b20b9e0482f75afa6ee4dec8627 + + 1cdd944b0 unit: when JobTimeoutSec= is turned off, implicitly turn off JobRunningTimeoutSec= too (bsc#1004995) + + This make 0001-Revert-core-device-Use-JobRunningTimeoutSec-for-devi.patch + not needed anymore. + +------------------------------------------------------------------- +Thu Oct 5 12:24:35 UTC 2017 - fbui@suse.com + +- Import commit 93688f8e53b4e482a55a7d4aba2d927ddedebdde + + c53522be3 compat-rules: allow to specify the generation number through the kernel cmdline + +------------------------------------------------------------------- +Wed Oct 4 15:44:14 UTC 2017 - fbui@suse.com + +- Import commit c1e8af7d1e8b09c2878a5b17f513bfc41ae46dc6 + + 982754275 build-sys: make sure 61-persitent-storage-compat.rules is installed with meson + 9ac2e8b9b udev: proc_cmdline_get_key() FTW! (#6925) + ------------------------------------------------------------------- Tue Sep 26 10:14:22 UTC 2017 - fbui@suse.com diff --git a/systemd.spec b/systemd.spec index 304d247..d1e982e 100644 --- a/systemd.spec +++ b/systemd.spec @@ -161,7 +161,6 @@ Source1065: udev-remount-tmpfs # patches are temporary and should be removed as soon as a fix is # merged by upstream. Patch1: 0001-core-disable-session-keyring-per-system-sevice-entir.patch -Patch2: 0001-Revert-core-device-Use-JobRunningTimeoutSec-for-devi.patch %description Systemd is a system and service manager, compatible with SysV and LSB