Re: [apparmor] [PATCH] 0001-fix-aa-sandbox-race.patch

2013-02-15 Thread Jamie Strandboge
On 02/15/2013 10:44 AM, Jamie Strandboge wrote: Fix two race conditions: 1) make sure that the xpra socket exists before trying to attach to it 2) make sure that the client has attached before we start the application The fix for '1' solves a problem when the system is under load and the

Re: [apparmor] [PATCH] 0001-fix-aa-sandbox-race.patch

2013-02-15 Thread Seth Arnold
On Fri, Feb 15, 2013 at 11:10:24AM -0600, Jamie Strandboge wrote: +for i in range(self.timeout): # Up to self.timeout seconds to start rc, out = cmd(['xpra', 'list']) + +if 'DEAD session at %s' % self.display in out: +error(xpra session at '%s'