[systemd-bugs] [Bug 85724] [Systemd 217] System reboots on shutdown

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Nov 1 14:52:51 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=85724

--- Comment #7 from Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> ---
OK, let's drill down then...

If you compile and run the following program, does it also reboot?

############# reboot-force.c ###########
#include <stdio.h>
#include <unistd.h>
#include <sys/reboot.h>

int main(void) {
        reboot(RB_POWER_OFF);
        perror("poweroff");
        return 1;
}

// gcc -Wall -o reboot-force reboot-force.c && sudo ./reboot-force
#########################################

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141101/bb5c6d49/attachment.html>


More information about the systemd-bugs mailing list