Re: [systemd-devel] pid namespaces, systemd and signals on reboot(2)

2017-05-29 Thread Michał Zegan
W dniu 29.05.2017 o 11:37, Lennart Poettering pisze: > On Sat, 27.05.17 20:51, Michał Zegan (webczat_...@poczta.onet.pl) wrote: > >> Hello. >> >> I came across the following: >> The manpage reboot(2) says, that inside of a pid namespace, a reboot >> call that normally would trigger restart actua

Re: [systemd-devel] pid namespaces, systemd and signals on reboot(2)

2017-05-29 Thread Lennart Poettering
On Sat, 27.05.17 20:51, Michał Zegan (webczat_...@poczta.onet.pl) wrote: > Hello. > > I came across the following: > The manpage reboot(2) says, that inside of a pid namespace, a reboot > call that normally would trigger restart actually triggers sending > sighup to the init of a namespace, and s

Re: [systemd-devel] pid namespaces, systemd and signals on reboot(2)

2017-05-28 Thread Michał Zegan
W dniu 28.05.2017 o 20:43, Mike Gilbert pisze: > On Sat, May 27, 2017 at 2:51 PM, Michał Zegan > wrote: >> Hello. >> >> I came across the following: >> The manpage reboot(2) says, that inside of a pid namespace, a reboot >> call that normally would trigger restart actually triggers sending >> si

Re: [systemd-devel] pid namespaces, systemd and signals on reboot(2)

2017-05-28 Thread Mike Gilbert
On Sat, May 27, 2017 at 2:51 PM, Michał Zegan wrote: > Hello. > > I came across the following: > The manpage reboot(2) says, that inside of a pid namespace, a reboot > call that normally would trigger restart actually triggers sending > sighup to the init of a namespace, and sigint is sent in case

[systemd-devel] pid namespaces, systemd and signals on reboot(2)

2017-05-27 Thread Michał Zegan
Hello. I came across the following: The manpage reboot(2) says, that inside of a pid namespace, a reboot call that normally would trigger restart actually triggers sending sighup to the init of a namespace, and sigint is sent in case of halt/poweroff. I have verified that reboot actually triggers