[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
And for the remaining bug that Thiago reported Nish was so kind to file it separately for better tracking as bug 1680956 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
Uh that was even Thiago, but Nish was the one who sent me a mail to read through - thank you both! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
FWIW, this bug is never going to be fixed in Wily, afaict, I'm deleting the task. ** No longer affects: libvirt (Ubuntu Wily) -- 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/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
FWIW, this bug is never going to be fixed in Wily, afaict, I'm deleting the task. ** No longer affects: libvirt (Ubuntu Wily) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
I'm seeing this problem while trying to launch an Instance on OpenStack Ocata on Ubuntu 16.04, here is the error message on nova-compute.log: --- 2017-04-07 20:13:18.504 3996 ERROR nova.compute.manager [instance: fbbb7bde-763e-40d3-8987-fb3a6c568ad8] libvirtError: internal error: process exited while connecting to monitor: 2017-04-07T20:13:17.764939Z qemu-system-x86_64: -object memory-backend-file,id=ram-node0,prealloc=yes,mem-path=/dev/hugepages-1048576/libvirt/qemu,share=yes,size=4294967296,host-nodes=0,policy=bind: can't open backing store /dev/hugepages-1048576/libvirt/qemu for guest RAM: Permission denied --- At syslog: --- Apr 7 20:13:17 expert-jennet kernel: [ 1535.437956] audit: type=1400 audit(1491595997.759:23): apparmor="DENIED" operation="mknod" profile="libvirt-fbbb7bde-763e-40d3-8987-fb3a6c568ad8" name="/dev/hugepages-1048576/libvirt/qemu/qemu_back_mem._objects_ram-node0.BFNx2W" pid=8341 comm="qemu-system-x86" requested_mask="c" denied_mask="c" fsuid=64055 ouid=64055 --- Any idea about how to fix it? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: libvirt (Ubuntu Wily) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
** No longer affects: libvirt (Ubuntu Vivid) -- 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/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
** No longer affects: libvirt (Ubuntu Vivid) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
** Description changed: + == + SRU Justification + Impact: libvirt unable to grant access to hugepages + Fix: add an apparmor rule to allow libvirt to access hugepages at the path which systemd uses + Test case: boot a vm with hugepages enabled. + Regression potential: We already have an allow rule for the old hugepages mount path, we are only allowing access to the path which systemd uses. So there should be no regressions. + == + If a system is configured to allocate hugepages on boot, systemd will automatically present a hugetblfs at /dev/hugepages This is not compatible with the current apparmor profile which expects presentation at /var/run/hugepages. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: libvirt-bin 1.2.21-2ubuntu1 ProcVersionSignature: Ubuntu 4.3.0-2.11-generic 4.3.0 Uname: Linux 4.3.0-2-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl ApportVersion: 2.19.2-0ubuntu9 Architecture: amd64 CurrentDesktop: Unity Date: Thu Dec 10 11:16:28 2015 EcryptfsInUse: Yes InstallationDate: Installed on 2014-11-25 (379 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141124) SourcePackage: libvirt UpgradeStatus: Upgraded to xenial on 2015-11-02 (38 days ago) modified.conffile..etc.libvirt.qemu.conf: [inaccessible: [Errno 13] Permission denied: '/etc/libvirt/qemu.conf'] modified.conffile..etc.libvirt.qemu.networks.default.xml: [inaccessible: [Errno 13] Permission denied: '/etc/libvirt/qemu/networks/default.xml'] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
** Also affects: libvirt (Ubuntu Wily) Importance: Undecided Status: New ** Also affects: libvirt (Ubuntu Vivid) Importance: Undecided Status: New -- 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/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
** Also affects: libvirt (Ubuntu Wily) Importance: Undecided Status: New ** Also affects: libvirt (Ubuntu Vivid) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
This bug was fixed in the package libvirt - 1.2.21-2ubuntu3 --- libvirt (1.2.21-2ubuntu3) xenial; urgency=medium * Fix build-test autopkgtest: it now expects to run with the current directory set to the root of the unpacked source package, writes to $ADTTMP rather than to the source package, and declares dependencies on build-essential and pkg-config. -- Colin WatsonMon, 28 Dec 2015 05:25:54 + ** Changed in: libvirt (Ubuntu) Status: New => Fix Released -- 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/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
This bug was fixed in the package libvirt - 1.2.21-2ubuntu3 --- libvirt (1.2.21-2ubuntu3) xenial; urgency=medium * Fix build-test autopkgtest: it now expects to run with the current directory set to the root of the unpacked source package, writes to $ADTTMP rather than to the source package, and declares dependencies on build-essential and pkg-config. -- Colin WatsonMon, 28 Dec 2015 05:25:54 + ** Changed in: libvirt (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
Did this happen after upgrading to 1.2.21-2ubuntu1, or was this present in earlier versions? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1524737] Re: systemd presents hugetblfs at /dev/hugepages
Note that '/dev/hugepages/libvirt/qemu' appeared to be auto-created. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1524737 Title: systemd presents hugetblfs at /dev/hugepages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1524737/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs