[systemd-devel] Sending a SIGABRT to PID1

Víctor Fernández vfrico at gmail.com
Sun May 3 08:18:38 PDT 2015


I'm using rigth now a Manjaro distribution (derived from arch). Making some
test, i've discovered that sending SIGABRT (6) to PID 1 (systemd) will
cause system to enter on unstable mode:

after doing this, the system reboot graphic server (at least, it request to
login again) and if you resend the SIGABRT, the system goes to Kernel Panic

Here is the code I've tested (executing as sudo, of course).

echo "int main(){kill(1,6);kill(1,6);}" > a.c && gcc a.c && sudo ./a.out

It appears not to be a very large problem (since root permisions are
required), but I think is an undiserable behaviour.

Is this really a bug?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150503/7ed2d955/attachment-0001.html>

More information about the systemd-devel mailing list