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

Re: [Xen-devel] [OSSTEST PATCH 1/3] ts-depriv-audit-qemu: Create complete /run/user in appropriate root

George Dunlap writes ("Re: [OSSTEST PATCH 1/3] ts-depriv-audit-qemu: Create 
complete /run/user in appropriate root"):
> On 11/19/18 4:27 PM, Ian Jackson wrote:
> > CC: George Dunlap <george.dunlap@xxxxxxxxxx>
> > Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> It doesn't look  like this does an `rm -rf $qroot` afterwards.  If on
> this system, a domain with the same domid ever starts again in depriv
> mode, the `rmdir` of the chroot directory will fail, and libxl will
> abort domain creation.

Doesn't something in libxl already rm -r the directory ?

> I realize it's a low probability something like that will happen, but I
> would probably at least mention the possibility somewhere.

Hrm.  Well, this is OK for a test script for now anyway I think.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.