Re: [Qemu-devel] question:about pr-helper unlink sock file fail

2019-06-18 Thread Paolo Bonzini
On 17/06/19 06:10, wangjie (P) wrote: > Hi, I found there is a bug in pr-helper: > >     We run pr-helper process in root, and drop all capabilities  expect > CAP_SYS_RAWIO. > >     But the sock file which connect from qemu is owned by qemu group, > when pr-helper exit,  > >     it will call  “c

[Qemu-devel] question:about pr-helper unlink sock file fail

2019-06-16 Thread wangjie (P)
Hi, I found there is a bug in pr-helper: We run pr-helper process in root, and drop all capabilities  expect CAP_SYS_RAWIO.     But the sock file which connect from qemu is owned by qemu group, when pr-helper exit,     it will call  “close_server_socket -> object_unref(OBJECT(server_ioc))