I tried to verify this with trusty server image on a laptop, everything act as expected before step 6 (except that stuff like desktop startup, suspend on lid close can't be tested with server image). After that it failed with:
ubuntu@ubuntu:~$ sudo snap install test-snapd-tools
error: cannot perform the following tasks:
- Setup snap "test-snapd-tools" (3) security profiles (cannot setup apparmor for snap "test-snapd-tools": cannot load apparmor profile "snap.test-snapd-tools.block": cannot load apparmor profile: exit status 1
apparmor_parser output:
AppArmor parser error for /var/lib/snapd/apparmor/profiles/snap.test-snapd-tools.block in /var/lib/snapd/apparmor/profiles/snap.test-snapd-tools.block at line 305: syntax error, unexpected TOK_CONDLISTID, expecting TOK_MODE
)
- Setup snap "test-snapd-tools" (3) security profiles (cannot load apparmor profile "snap.test-snapd-tools.block": cannot load apparmor profile: exit status 1
apparmor_parser output:
AppArmor parser error for /var/lib/snapd/apparmor/profiles/snap.test-snapd-tools.block in /var/lib/snapd/apparmor/profiles/snap.test-snapd-tools.block at line 305: syntax error, unexpected TOK_CONDLISTID, expecting TOK_MODE
)
Hello,
I tried to verify this with trusty server image on a laptop, everything act as expected before step 6 (except that stuff like desktop startup, suspend on lid close can't be tested with server image). After that it failed with:
ubuntu@ubuntu:~$ sudo snap install test-snapd-tools snapd-tools. block": cannot load apparmor profile: exit status 1 snapd/apparmor/ profiles/ snap.test- snapd-tools. block in /var/lib/ snapd/apparmor/ profiles/ snap.test- snapd-tools. block at line 305: syntax error, unexpected TOK_CONDLISTID, expecting TOK_MODE snapd-tools. block": cannot load apparmor profile: exit status 1 snapd/apparmor/ profiles/ snap.test- snapd-tools. block in /var/lib/ snapd/apparmor/ profiles/ snap.test- snapd-tools. block at line 305: syntax error, unexpected TOK_CONDLISTID, expecting TOK_MODE
error: cannot perform the following tasks:
- Setup snap "test-snapd-tools" (3) security profiles (cannot setup apparmor for snap "test-snapd-tools": cannot load apparmor profile "snap.test-
apparmor_parser output:
AppArmor parser error for /var/lib/
)
- Setup snap "test-snapd-tools" (3) security profiles (cannot load apparmor profile "snap.test-
apparmor_parser output:
AppArmor parser error for /var/lib/
)
snapd came from Thomas' ppa