Activity log for bug #1591148

Date Who What changed Old value New value Message
2016-06-10 11:42:26 Federico Gimenez bug added bug
2016-10-02 14:30:47 Alexander Kallenbach bug added subscriber Alexander Kallenbach
2016-10-06 07:58:09 Ben M. tags security
2017-02-17 16:28:25 Federico Gimenez bug task added snapd
2017-02-17 16:33:51 Zygmunt Krynicki description In a 16.04 classic system with the default kernel from linode, snapd 2.0.8 installed (built from https://github.com/snapcore/snapd/commit/71244932e45e05528db6919e23711355d6f63d0c), I get an error when trying to install the first snap, it gets stuck in the last line: linode:ubuntu-16.04 ~/tests/basics# uname -a Linux ubuntu 4.5.5-x86_64-linode69 #3 SMP Fri May 20 15:25:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux linode:ubuntu-16.04 ~/tests/basics# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04 LTS Release: 16.04 Codename: xenial linode:ubuntu-16.04 ~/tests/basics# snap list No snaps are installed yet. Try 'snap install hello-world'. linode:ubuntu-16.04 ~/tests/basics# snap install hello-world 2016-06-10T11:22:03Z ERROR cannot setup apparmor for snap "hello-world": cannot load apparmor profile "snap.hello-world.echo": cannot load apparmor profile: exit status 1 apparmor_parser output: Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.) Warning: unable to find a suitable fs in /proc/mounts, is it mounted? Use --subdomainfs to override. [-] Setup snap "hello-world" security profiles A Linode instance of Ubuntu using the stock Linode kernel does not work with snapd as snapd assumes the ubuntu kernel (when os-release says it is ubuntu) and uses apparmor features otherwise not available. There are several issues here: - branding !ubuntu as ubuntu - running on apparmor system that is not supporting new constructs - using runtime detection (across snapd+snap-confine) rather than compile-time or simplified (which distro + release) checks
2017-02-17 16:33:56 Zygmunt Krynicki bug task deleted snappy
2017-02-17 16:34:01 Zygmunt Krynicki snapd: status New Confirmed
2017-02-17 16:36:03 Zygmunt Krynicki summary snap install fails with a kernel lacking apparmor support snapd fails on old kernel apparmor, runtime detection needed
2017-02-17 16:37:11 Zygmunt Krynicki snapd: importance Undecided High
2017-08-18 08:10:55 Zygmunt Krynicki snapd: status Confirmed Fix Released