Re: [systemd-devel] systemd and kernel process

2015-10-03 Thread Steve Dickson
On 10/01/2015 03:50 PM, Kay Sievers wrote: > On Thu, Oct 1, 2015 at 9:30 PM, Steve Dickson wrote: >> >> >> On 10/01/2015 09:24 AM, Kay Sievers wrote: >>> On Wed, Sep 30, 2015 at 10:49 PM, Steve Dickson wrote: Is there a way for systemd to monitor

Re: [systemd-devel] systemd and kernel process

2015-10-03 Thread Lennart Poettering
On Wed, 30.09.15 16:49, Steve Dickson (ste...@redhat.com) wrote: > Hello, > > Is there a way for systemd to monitor kernel process? To add to what Kay said: No. Kernel threads cannot really be tracked by userspace in any sensible manner. We won't get SIGCHLD for them, and they cannot be moved

Re: [systemd-devel] systemd and kernel process

2015-10-03 Thread Steve Dickson
On 10/03/2015 08:18 AM, Lennart Poettering wrote: > On Wed, 30.09.15 16:49, Steve Dickson (ste...@redhat.com) wrote: > >> Hello, >> >> Is there a way for systemd to monitor kernel process? > > To add to what Kay said: > > No. Kernel threads cannot really be tracked by userspace in any >

Re: [systemd-devel] systemd and kernel process

2015-10-01 Thread Kay Sievers
On Wed, Sep 30, 2015 at 10:49 PM, Steve Dickson wrote: > Is there a way for systemd to monitor kernel process? > By monitor I mean the existence. No, and there is no plan to do anything like that. Kernel tasks are kernel internals, and userspace must not make any assumptions

Re: [systemd-devel] systemd and kernel process

2015-10-01 Thread Steve Dickson
On 10/01/2015 09:24 AM, Kay Sievers wrote: > On Wed, Sep 30, 2015 at 10:49 PM, Steve Dickson wrote: >> Is there a way for systemd to monitor kernel process? >> By monitor I mean the existence. > > No, and there is no plan to do anything like that. > > Kernel tasks are

Re: [systemd-devel] systemd and kernel process

2015-10-01 Thread Kay Sievers
On Thu, Oct 1, 2015 at 9:30 PM, Steve Dickson wrote: > > > On 10/01/2015 09:24 AM, Kay Sievers wrote: >> On Wed, Sep 30, 2015 at 10:49 PM, Steve Dickson wrote: >>> Is there a way for systemd to monitor kernel process? >>> By monitor I mean the existence. >>

[systemd-devel] systemd and kernel process

2015-09-30 Thread Steve Dickson
Hello, Is there a way for systemd to monitor kernel process? By monitor I mean the existence. Here the story... a systemd service calls a command that creates a number kernel process/threads then the command exits. Is there a way for systemd to monitor those kernel process even though it