Re: [systemd-devel] Error handling problems with systemd-machined

2013-07-24 Thread Daniel P. Berrange
On Wed, Jul 24, 2013 at 05:10:59PM +0100, Daniel P. Berrange wrote: > On Wed, Jul 24, 2013 at 05:59:48PM +0200, Lennart Poettering wrote: > > > Once I fixed the unit name to removing the leading '/', I hit a second > > > error > > > > > > recvmsg(5, {msg_name(0)=NULL, > > > msg_iov(1)=[{"l\3\1\00

Re: [systemd-devel] Error handling problems with systemd-machined

2013-07-24 Thread Daniel P. Berrange
On Wed, Jul 24, 2013 at 05:59:48PM +0200, Lennart Poettering wrote: > > When something goes wrong with the CreateMachine DBus call though all I > > ever seem to get back is "Input/output error". > > > > After strace'ing systemd-machined I find the real error > > > > recvmsg(5, {msg_name(0)=NULL,

Re: [systemd-devel] Error handling problems with systemd-machined

2013-07-24 Thread Lennart Poettering
On Wed, 24.07.13 14:13, Daniel P. Berrange ([email protected]) wrote: > I'm working on integrating libvirt with systemd-machined for cgroups > setup and hitting a number of problems > > The first was that v205 ignores all parameters passed though as scope > properties in the DBus CreateMachine

Re: [systemd-devel] Error handling problems with systemd-machined

2013-07-24 Thread Daniel P. Berrange
On Wed, Jul 24, 2013 at 02:36:44PM +0100, Daniel P. Berrange wrote: > On Wed, Jul 24, 2013 at 02:13:30PM +0100, Daniel P. Berrange wrote: > > I'm working on integrating libvirt with systemd-machined for cgroups > > setup and hitting a number of problems > > A further discovery - if I pass "MemoryA

Re: [systemd-devel] Error handling problems with systemd-machined

2013-07-24 Thread Daniel P. Berrange
On Wed, Jul 24, 2013 at 02:13:30PM +0100, Daniel P. Berrange wrote: > I'm working on integrating libvirt with systemd-machined for cgroups > setup and hitting a number of problems A further discovery - if I pass "MemoryAccounting=yes" as a scope property, then the process gets immediately killed b

[systemd-devel] Error handling problems with systemd-machined

2013-07-24 Thread Daniel P. Berrange
I'm working on integrating libvirt with systemd-machined for cgroups setup and hitting a number of problems The first was that v205 ignores all parameters passed though as scope properties in the DBus CreateMachine call. So I upgraded to v206 which seems to have fixed that. When something goes wr