Re: [Xen-devel] [PATCH for-4.6 v2 1/4] cxenstored: fix systemd socket activation

2015-08-11 Thread Ian Campbell
On Mon, 2015-08-10 at 09:00 +0100, Wei Liu wrote: > There were two problems with original code: > > 1. sd_booted() was used to determined if the process was started by >systemd, which was wrong. > 2. Exit with error if pidfile was specified, which was too harsh. > > These two combined made cx

[Xen-devel] [PATCH for-4.6 v2 1/4] cxenstored: fix systemd socket activation

2015-08-10 Thread Wei Liu
There were two problems with original code: 1. sd_booted() was used to determined if the process was started by systemd, which was wrong. 2. Exit with error if pidfile was specified, which was too harsh. These two combined made cxenstored unable to start by hand if it ran on a system which had