Public bug reported: When trying to use the guestmount, it fails to read the kernel:
supermin: kernel: picked kernel vmlinuz-4.4.0-34-generic cp: cannot open '/boot/vmlinuz-4.4.0-34-generic' for reading: Permission denied supermin: cp -p '/boot/vmlinuz-4.4.0-34-generic' '/var/tmp/.guestfs-1000/appliance.d.s2vmg60k/kernel': command failed, see earlier errors libguestfs: error: /usr/bin/supermin exited with error status 1, see debug messages above libguestfs: trace: launch = -1 (error) libguestfs: trace: close libguestfs: closing guestfs handle 0x1892d20 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfs680ObV Related to this bug "The kernel is no longer readable by non-root users": https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759725 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: libguestfs-tools 1:1.32.2-4ubuntu2 ProcVersionSignature: Ubuntu 4.4.0-34.53-generic 4.4.15 Uname: Linux 4.4.0-34-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.5 Architecture: amd64 CurrentDesktop: Unity Date: Thu Mar 16 12:23:04 2017 InstallationDate: Installed on 2013-06-03 (1381 days ago) InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213) SourcePackage: libguestfs UpgradeStatus: Upgraded to xenial on 2016-08-29 (198 days ago) ** Affects: libguestfs (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1673431 Title: Make kernel readable by non-root users To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/1673431/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs