Re: [Xen-devel] [PATCH for-4.6 4/5] oxenstored: fix systemd socket activation

2015-08-06 Thread Ian Campbell
On Thu, 2015-08-06 at 14:50 +0100, Ian Campbell wrote: > On Thu, 2015-08-06 at 14:38 +0100, Wei Liu wrote: > > Use the correct API sd_listen_fds to determine whether the process is > > started by systemd. > > > > Change sd_booted to booted_by_systemd to avoid confusion with systemd's > > API. > >

Re: [Xen-devel] [PATCH for-4.6 4/5] oxenstored: fix systemd socket activation

2015-08-06 Thread Dave Scott
I’m not familiar with the systemd side of things, but the OCaml stub changes look ok: Acked-by: David Scott > On 6 Aug 2015, at 14:38, Wei Liu wrote: > > Use the correct API sd_listen_fds to determine whether the process is > started by systemd. > > Change sd_booted to booted_by_systemd to

Re: [Xen-devel] [PATCH for-4.6 4/5] oxenstored: fix systemd socket activation

2015-08-06 Thread Ian Campbell
On Thu, 2015-08-06 at 14:38 +0100, Wei Liu wrote: > Use the correct API sd_listen_fds to determine whether the process is > started by systemd. > > Change sd_booted to booted_by_systemd to avoid confusion with systemd's > API. launched_by_systemd seems like a more conventional name for this.One d

[Xen-devel] [PATCH for-4.6 4/5] oxenstored: fix systemd socket activation

2015-08-06 Thread Wei Liu
Use the correct API sd_listen_fds to determine whether the process is started by systemd. Change sd_booted to booted_by_systemd to avoid confusion with systemd's API. Signed-off-by: Wei Liu --- Cc: Dave Scott For 4.6: without this oxenstored is broken when running on a system with systemd but