2015-12-02 16:45:15 +01:00
|
|
|
Nasty bug reported on boo#867663
|
2014-04-17 15:36:28 +02:00
|
|
|
|
2015-06-23 14:56:50 +02:00
|
|
|
---
|
|
|
|
src/basic/def.h | 2 +-
|
|
|
|
src/core/manager.c | 3 ++-
|
|
|
|
2 files changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
|
2015-12-02 16:45:15 +01:00
|
|
|
Index: systemd-228/src/basic/def.h
|
2015-06-23 14:56:50 +02:00
|
|
|
===================================================================
|
2015-12-02 16:45:15 +01:00
|
|
|
--- systemd-228.orig/src/basic/def.h
|
|
|
|
+++ systemd-228/src/basic/def.h
|
|
|
|
@@ -40,7 +40,7 @@
|
2015-06-23 14:56:50 +02:00
|
|
|
|
2015-12-02 16:45:15 +01:00
|
|
|
#define SYSTEMD_CGROUP_CONTROLLER "name=systemd"
|
2015-06-23 14:56:50 +02:00
|
|
|
|
|
|
|
-#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
|
|
|
|
|
2015-12-02 16:45:15 +01:00
|
|
|
#define REBOOT_PARAM_FILE "/run/systemd/reboot-param"
|
|
|
|
Index: systemd-228/src/core/manager.c
|
2015-06-23 14:56:50 +02:00
|
|
|
===================================================================
|
2015-12-02 16:45:15 +01:00
|
|
|
--- systemd-228.orig/src/core/manager.c
|
|
|
|
+++ systemd-228/src/core/manager.c
|
|
|
|
@@ -2003,7 +2003,8 @@ static int manager_dispatch_jobs_in_prog
|
2014-04-17 15:36:28 +02:00
|
|
|
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);
|