Re: Report on Xen-4.6rc2 from virt7-xen-46-candidate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 9, 2015 at 12:25 PM, Eliezer Croitoru <eliezer@xxxxxxxxxxxx> wrote:
> Hey,
>
> What do you mean by doesn't do forking?
> It allows forking processes if the application can do that.
> It doesn't fork them by default but ,is it really needed?
> If xenstored is testing to be run under systemd and not forks itself because
> of it, that's another thing.

Sorry, typing quickly, leaving out important information. :-)

I know very little about systemd, but I know that the Xen project
comes with systemd files which have been written by people who should
know, and that these are tested on a regular basis.

The xenstored.service file includes this line:
 Type=notify
where other options for "type" might be "forking".

I also know that xenstored is explicitly coded to be able to detect
whether it's been run from systemd, and to Do The Right Thing in that
situation -- and that actually includes ignoring the pidfile and not
forking.

So what I meant was, "xenstored is designed not to do its own forking
under systemd".

 -George



>
> Eliezer
>
> On 09/09/2015 12:40, George Dunlap wrote:
>>
>> I think because systemd doesn't do forking, that it doesn't need a
>> pidfile.  In fact, if xenstored detects that it's running under
>> systemd, it will actually ignore the --pid-file directive.
>>
>>   -George
>
>
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos-virt
_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos-virt



[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux