41f309c818
Revert to version 224 - 228 exhibits issues on updating from 13.2 to TW OBS-URL: https://build.opensuse.org/request/show/350935 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=227
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
Nasty bug reported on bnc#867663
|
|
|
|
---
|
|
src/basic/def.h | 2 +-
|
|
src/core/manager.c | 3 ++-
|
|
2 files changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
Index: systemd-221/src/basic/def.h
|
|
===================================================================
|
|
--- systemd-221.orig/src/basic/def.h
|
|
+++ systemd-221/src/basic/def.h
|
|
@@ -37,7 +37,7 @@
|
|
|
|
#define SYSTEMD_CGROUP_CONTROLLER "systemd"
|
|
|
|
-#define SIGNALS_CRASH_HANDLER SIGSEGV,SIGILL,SIGFPE,SIGBUS,SIGQUIT,SIGABRT
|
|
+#define SIGNALS_CRASH_HANDLER SIGSEGV,SIGILL,SIGFPE,SIGBUS,SIGQUIT,SIGABRT,SIGTRAP,SIGSYS
|
|
#define SIGNALS_IGNORE SIGPIPE
|
|
|
|
#define DIGITS "0123456789"
|
|
Index: systemd-221/src/core/manager.c
|
|
===================================================================
|
|
--- systemd-221.orig/src/core/manager.c
|
|
+++ systemd-221/src/core/manager.c
|
|
@@ -1991,7 +1991,8 @@ static int manager_dispatch_jobs_in_prog
|
|
assert(m);
|
|
assert(source);
|
|
|
|
- manager_print_jobs_in_progress(m);
|
|
+ if (m->n_running_jobs > 0)
|
|
+ manager_print_jobs_in_progress(m);
|
|
|
|
next = now(CLOCK_MONOTONIC) + JOBS_IN_PROGRESS_PERIOD_USEC;
|
|
r = sd_event_source_set_time(source, next);
|