[libvirt] Guest log getting written in cache directory rather /var/log/libvirt/qemu

2012-08-23 Thread Richa Marwaha
Hi Everyone I am running libvirt with selinux driver under unprivileged user and the Guest.log file is not written into /var/log/libvirt/qemu/Guest.log but remains in Home Directory/.cache/libvirt/qemu/log/Guest.log. Does anyone know why its not writing to the required log location. Thanks

Re: [libvirt] Guest log getting written in cache directory rather /var/log/libvirt/qemu

2012-08-23 Thread Eric Blake
On 08/23/2012 02:19 PM, Richa Marwaha wrote: Hi Everyone I am running libvirt with selinux driver under unprivileged user and the Guest.log file is not written into /var/log/libvirt/qemu/Guest.log but remains in Home Directory/.cache/libvirt/qemu/log/Guest.log. Does anyone know why its

Re: [libvirt] Guest log getting written in cache directory rather /var/log/libvirt/qemu

2012-08-23 Thread Richa Marwaha
Eric Blake ebl...@redhat.com wrote on 08/23/2012 04:32:02 PM: From: Eric Blake ebl...@redhat.com To: Richa Marwaha/Silicon Valley/IBM@IBMUS Cc: libvir-list@redhat.com Date: 08/23/2012 04:32 PM Subject: Re: [libvirt] Guest log getting written in cache directory rather / var

Re: [libvirt] Guest log getting written in cache directory rather /var/log/libvirt/qemu

2012-08-23 Thread Richa Marwaha
Eric Blake ebl...@redhat.com wrote on 08/23/2012 04:32:02 PM: From: Eric Blake ebl...@redhat.com To: Richa Marwaha/Silicon Valley/IBM@IBMUS Cc: libvir-list@redhat.com Date: 08/23/2012 04:32 PM Subject: Re: [libvirt] Guest log getting written in cache directory rather / var

Re: [libvirt] Guest log getting written in cache directory rather /var/log/libvirt/qemu

2012-08-23 Thread Eric Blake
On 08/23/2012 03:09 PM, Richa Marwaha wrote: I have another question shouldn't the label of HomeDirectory/.cache/libvirt/qemu/log/Guest.log be virt_log_t instead of cache_home_t as I am getting the following denial for qemu-kvm when I am running the guest type=AVC