Skip to content

Instantly share code, notes, and snippets.

@dryliketoast
Created January 27, 2018 01:11
Show Gist options
  • Select an option

  • Save dryliketoast/1fb9bea91ef1e4b7953d737bd84a8dcb to your computer and use it in GitHub Desktop.

Select an option

Save dryliketoast/1fb9bea91ef1e4b7953d737bd84a8dcb to your computer and use it in GitHub Desktop.
Libvirt + Apparmor + Overlayroot
On Ubuntu, apparmor will sometimes prevent libvirt from working.
/usr/sbin/libvirtd: error while loading shared libraries:
libvirt-admin.so.0: cannot open shared object file: Permission denied
If you are seeing the libvirt container fail with the error above, disable the libvirt profile.
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.libvirtd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment