[systemd-commits] 3 commits - .gitignore src/core TODO

Kay Sievers kay at kemper.freedesktop.org
Sat Mar 30 07:07:32 PDT 2013


 .gitignore         |    1 +
 TODO               |    3 +++
 src/core/killall.c |    7 +++++++
 3 files changed, 11 insertions(+)

New commits:
commit e592143e5a522b90645d54706241f07695bf3c30
Author: Kay Sievers <kay at vrfy.org>
Date:   Sat Mar 30 15:06:51 2013 +0100

    gitignore: update

diff --git a/.gitignore b/.gitignore
index 58a5000..9049b74 100644
--- a/.gitignore
+++ b/.gitignore
@@ -111,6 +111,7 @@
 /test-loopback
 /test-mmap-cache
 /test-ns
+/test-path-util
 /test-prioq
 /test-replace-var
 /test-sched-prio

commit 7db293c4a05ec22909841b90b9ab172cb56a44a2
Author: Kay Sievers <kay at vrfy.org>
Date:   Sat Mar 30 15:03:09 2013 +0100

    TODO: update

diff --git a/TODO b/TODO
index 10a2b8c..584646b 100644
--- a/TODO
+++ b/TODO
@@ -1,4 +1,7 @@
 Bugfixes:
+* systemd-journald seems to randomly hang on shutdown, likely not handling
+  SIGTERM, shutdown blocks until we send SIGKILL at the very end.
+
 * check systemd-tmpfiles for selinux context hookup for mknod(), symlink() and similar
 
 * swap units that are activated by one name but shown in the kernel under another are semi-broken

commit df758e98754016119a9c8d49213a636a80ffab22
Author: Kay Sievers <kay at vrfy.org>
Date:   Thu Mar 28 23:00:32 2013 +0100

    killall: print notice what we forcefully KILL

diff --git a/src/core/killall.c b/src/core/killall.c
index 55200ff..1eb3766 100644
--- a/src/core/killall.c
+++ b/src/core/killall.c
@@ -139,6 +139,13 @@ static int killall(int sig) {
                 if (ignore_proc(pid))
                         continue;
 
+                if (sig == SIGKILL) {
+                        _cleanup_free_ char *s;
+
+                        get_process_comm(pid, &s);
+                        log_notice("Sending SIGKILL to PID %lu (%s)", (unsigned long) pid, strna(s));
+                }
+
                 if (kill(pid, sig) >= 0)
                         n_processes++;
                 else if (errno != ENOENT)



More information about the systemd-commits mailing list