Re: [libvirt-users] virDomainCoreDumpWithFormat files created as root

2015-11-18 Thread noxdafox
On 18/11/15 12:11, Michal Privoznik wrote: On 08.11.2015 12:43, noxdafox wrote: I've been spending a bit of time looking into libvirt's code and I believe this is not implemented as Daniel first said. The issue is in the qemuOpenFileAs function in src/qemu/qemu_driver.c which ignores the dynami

Re: [libvirt-users] virDomainCoreDumpWithFormat files created as root

2015-11-18 Thread Michal Privoznik
On 08.11.2015 12:43, noxdafox wrote: > I've been spending a bit of time looking into libvirt's code and I > believe this is not implemented as Daniel first said. > > The issue is in the qemuOpenFileAs function in src/qemu/qemu_driver.c > which ignores the dynamic ownership flag and does not set co

Re: [libvirt-users] virDomainCoreDumpWithFormat files created as root

2015-11-08 Thread noxdafox
I've been spending a bit of time looking into libvirt's code and I believe this is not implemented as Daniel first said. The issue is in the qemuOpenFileAs function in src/qemu/qemu_driver.c which ignores the dynamic ownership flag and does not set correct ownership on the file. The qemuOpen

Re: [libvirt-users] virDomainCoreDumpWithFormat files created as root

2015-05-29 Thread Mathew Moon
Just a hunch but is the binary that creates the dump suid? You may want to check the perms on it. Not sure if it is libvirtd or some other binary. Sent from my iPhone > On May 29, 2015, at 3:39 AM, NoxDaFox wrote: > > 2015-05-28 12:04 GMT+03:00 Michal Privoznik : >> On 28.05.2015 09:29, NoxDaF

Re: [libvirt-users] virDomainCoreDumpWithFormat files created as root

2015-05-29 Thread NoxDaFox
2015-05-28 12:04 GMT+03:00 Michal Privoznik : > On 28.05.2015 09:29, NoxDaFox wrote: > > Greetings, > > > > I am dumping a guest VM memory for inspection using the command > > "virDomainCoreDumpWithFormat" and the created files appear to belong to > > root (both user and group). > > > > I have sea

Re: [libvirt-users] virDomainCoreDumpWithFormat files created as root

2015-05-28 Thread Michal Privoznik
On 28.05.2015 09:29, NoxDaFox wrote: > Greetings, > > I am dumping a guest VM memory for inspection using the command > "virDomainCoreDumpWithFormat" and the created files appear to belong to > root (both user and group). > > I have searched around but didn't find any answer. Is there a way to >

Re: [libvirt-users] virDomainCoreDumpWithFormat files created as root

2015-05-28 Thread Daniel P. Berrange
On Thu, May 28, 2015 at 10:29:22AM +0300, NoxDaFox wrote: > Greetings, > > I am dumping a guest VM memory for inspection using the command > "virDomainCoreDumpWithFormat" and the created files appear to belong to > root (both user and group). > > I have searched around but didn't find any answer.