[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-12-07 Thread Launchpad Bug Tracker
[Expired for libvirt (Ubuntu) because there has been no activity for 60 days.] ** Changed in: libvirt (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu.

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-12-07 Thread Launchpad Bug Tracker
[Expired for libvirt (Ubuntu) because there has been no activity for 60 days.] ** Changed in: libvirt (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-10-08 Thread Serge Hallyn
** Changed in: libvirt (Ubuntu) Status: Invalid = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/1324393 Title: Force off fails with Permission denied after

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-10-08 Thread Mike Lowe
I had the same problem, solved by restarting apparmor. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1324393 Title: Force off fails with Permission denied after upgrading to 14.04 To manage

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-10-08 Thread Serge Hallyn
** Changed in: libvirt (Ubuntu) Status: Invalid = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1324393 Title: Force off fails with Permission denied after upgrading to 14.04 To

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-10-08 Thread Serge Hallyn
@Mike, when you say you restarted apparmor, could you say exactly what command you used? Was the problem you had also the ptrace DENIED messages? Which release are you on? ** Changed in: libvirt (Ubuntu) Status: Confirmed = Incomplete -- You received this bug notification because you

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-09-30 Thread Serge Hallyn
Could you please file a new bug so we can gather the relevant system information (release, libvirt versions, apparmor files, and DENIED messages from syslog for a start) on a clean sheet of paper as it were? -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-09-26 Thread Genc Tato
Hi, I have the same problem and those three lines that you suggest above are present in my usr.sbin.libvirtd. I don't see any usr.sbin.libvirtd.dpkg-dist file in /etc/apparmor.d/. I also tried to reinstall apparmor as Alex suggest but with no results. Only if I disable apparmor, I can delete my

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-07-10 Thread Axel Pospischil
I had the same problem after updates: After service apparmor teardown I can shutdown the machine. So this is definitely a problem of apparmor. I did: apt-get install --reinstall apparmor And it works now. A file named usr.sbin.libvirtd.dpkg-dist did not exist on the system

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-17 Thread Matej Kenda
After replacing usr.sbin.libvirtd with usr.sbin.libvirtd.dpkg-dist in /etc permission denied is not reported any more. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1324393 Title: Force

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-17 Thread Matej Kenda
diff -u usr.sbin.libvirtd usr.sbin.libvirtd.dpkg-dist --- usr.sbin.libvirtd 2014-01-27 11:31:51.209483436 +0100 +++ usr.sbin.libvirtd.dpkg-dist 2014-04-14 18:23:33.0 +0200 @@ -34,6 +34,10 @@ network inet6 dgram, network packet dgram, + dbus bus=system, + signal, + ptrace, +

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-16 Thread Jamie Strandboge
As Serge said, you are missing required rules in your libvirtd profile. This probably happened during upgrade and you like have a /etc/apparmor.d/usr.sbin.libvirtd.dpkg-new file. If you add these rules to the profile then do: $ sudo apparmor_parser -r /etc/apparmor.d/usr.sbin.libvirtd things

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-16 Thread Matej Kenda
$ cat /etc/apparmor.d/usr.sbin.libvirtd # Last Modified: Mon Jul 6 17:23:58 2009 #include tunables/global @{LIBVIRT}=libvirt /usr/sbin/libvirtd { #include abstractions/base #include abstractions/dbus # Site-specific additions and overrides. See local/README for details. #include

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-16 Thread Serge Hallyn
It looks as though your /etc/apparmor.d/usr.sbin.libvirtd is missing at least these lines: dbus bus=system, signal, ptrace, -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1324393 Title: Force

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-16 Thread Jamie Strandboge
As Serge said, you are missing required rules in your libvirtd profile. This probably happened during upgrade and you like have a /etc/apparmor.d/usr.sbin.libvirtd.dpkg-new file. If you add these rules to the profile then do: $ sudo apparmor_parser -r /etc/apparmor.d/usr.sbin.libvirtd things

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-13 Thread Jamie Strandboge
This denial: [575396.447436] type=1400 audit(1400831118.540:4053058): apparmor=DENIED operation=ptrace profile=/usr/sbin/libvirtd pid=1375 comm=libvirtd requested_mask=trace denied_mask=trace peer=libvirt-d5ad659b-6ea3-31ee-3680-6f7512b3e7c7 shows that it is the libvirtd profile that doesn't

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-13 Thread Serge Hallyn
Hi Jamie, I've temporarily assigned this to you just to ask if you can think of anything that would cause this? I've not seen it happen myself at all. His apparmor profile appears to be uptodate (see comment #3), yet libvirt appears to be unable to signal or trace its vms when asked to destroy

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-10 Thread Matej Kenda
Yes, the files are from remote server, of course. $ virsh destroy tomcat setlocale: No such file or directory error: Failed to destroy domain tomcat error: Failed to terminate process 5170 with SIGTERM: Permission denied After reboot, the result is the same (system started with updated kernel):

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-10 Thread Serge Hallyn
** Changed in: virt-manager (Ubuntu) Status: Incomplete = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1324393 Title: Force off fails with Permission denied after upgrading to 14.04 To

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-09 Thread Serge Hallyn
** Changed in: virt-manager (Ubuntu) Status: Incomplete = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1324393 Title: Force off fails with Permission denied after upgrading to 14.04 To

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-09 Thread Serge Hallyn
Hi, thanks for the information. The apparmor files do look correct. To be sure, those came from the compute node (the remote server), not from the client, right? Does logging into the server and typing 'virsh destroy vm-name' also fail? (I assume so) All I can figure is that for some reason

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-02 Thread Matej Kenda
matejk@zeus:~$ cat /etc/apparmor.d/libvirt/libvirt-6a3beaf2-5362-11e3-bc34-001e4f354ef5.files # DO NOT EDIT THIS FILE DIRECTLY. IT IS MANAGED BY LIBVIRT. /var/log/libvirt/**/win8-build.log w, /var/lib/libvirt/**/win8-build.monitor rw, /var/run/libvirt/**/win8-build.pid rwk,

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-02 Thread Matej Kenda
$ cat /etc/apparmor.d/abstractions/libvirt-qemu # Last Modified: Wed Jul 8 09:57:41 2009 #include abstractions/base #include abstractions/consoles #include abstractions/nameservice # required for reading disk images capability dac_override, capability dac_read_search, capability

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-02 Thread Matej Kenda
$ dpkg -l | grep libvirt ii libvirt-bin 1.2.2-0ubuntu13.1 amd64programs for the libvirt library ii libvirt01.2.2-0ubuntu13.1 amd64library for interfacing with different virtualization

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-02 Thread Matej Kenda
$ cat /etc/apparmor.d/libvirt/libvirt-6a3beaf2-5362-11e3-bc34-001e4f354ef5 # # This profile is for the domain whose UUID matches this file. # #include tunables/global profile libvirt-6a3beaf2-5362-11e3-bc34-001e4f354ef5 { #include abstractions/libvirt-qemu #include

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-06-02 Thread Matej Kenda
Can I somehow force the files to be upgraded manually? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1324393 Title: Force off fails with Permission denied after upgrading to 14.04 To manage

[Bug 1324393] Re: Force off fails with Permission denied after upgrading to 14.04

2014-05-30 Thread Serge Hallyn
Thanks for submitting this bug. Could you please show your libvirt version? (dpkg -l | grep libvirt) What you describe sounds like the file /etc/apparmor.d/abstractions /libvirt-qemu did not get updated correctly with version 1.2.2-0ubuntu9, which should have done: [ Jamie Strandboge ] *