> There is also a python parser (in aa.py) which only seems to understand the
> 'include '
> syntax and it is this which throws errors when running the utility commands.
Exactly, that's the cause of this bug. I'll change the title to make it
obvious.
Interestingly, it has been this way for
This appears to be being triggered because there are actually two
independent profile parsers in apparmor. There is a C version used by
the apparmor_parse which correctly interprets the 'include "xxx"' syntax
and then loads the profile. There is also a python parser (in aa.py)
which only seems
These errors are throwing the qrt-apparmor test suite out.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1734038
Title:
Potential regression found with apparmor test on Xenial/Zesty
To manage
Ok this seems to be an issue with some of the basic apparmor commands
not preprocessing the profiles when working on them.
If we ask apparmor to parse the file in question it is happy to do so:
apparmor_parser -p -Q /etc/apparmor.d/snap.core.3440.usr.lib.snapd.snap-confine
[...]
# Those are
** Description changed:
Issue found with Xenial kernel 4.4.0-102 and Zesty kernel 4.10.0-41,
across different architectures
Multiple tests from ubuntu_qrt_apparmor test suite failed with the same error
message:
ERROR: Syntax Error: Unknown line found in file
** Description changed:
Issue found with Xenial kernel 4.4.0-102 and Zesty kernel 4.10.0-41,
across different architectures
Multiple tests from ubuntu_qrt_apparmor test suite failed with the same error
message:
ERROR: Syntax Error: Unknown line found in file
Could you please also include the output of "snap version" and "apt list
snapd" ?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1734038
Title:
Potential regression found with apparmor test on
Tested with snapd 2.29.3+17.10 on Artful with kernel 4.13.0-17 (the
proposed one will be 4.13.0-18), this issue can be reproduced.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1734038
Title:
** Description changed:
Issue found with Xenial kernel 4.4.0-102 and Zesty kernel 4.10.0-41,
across different architectures
Multiple tests from ubuntu_qrt_apparmor test suite failed with the same error
message:
ERROR: Syntax Error: Unknown line found in file
We believe this is a kernel/apparmor issue. The apparmor documentation
(http://wiki.apparmor.net/index.php/AppArmor_Core_Policy_Reference#Include_statements)
lists "include" as a valid include. We are happy to fix snapd but I'm
sure there a many existing profiles (beside snapd from other packages
The /etc/apparmor.d/usr.lib.snapd.snap-confine.real file from affected
system.
** Attachment added: "usr.lib.snapd.snap-confine.real"
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1734038/+attachment/5013303/+files/usr.lib.snapd.snap-confine.real
--
You received this bug notification
** Description changed:
Issue found with Xenial kernel 4.4.0-102 and Zesty kernel 4.10.0-41,
across different architectures
Multiple tests from ubuntu_qrt_apparmor test suite failed with the same error
message:
- ERROR: Syntax Error: Unknown line found in file
** Also affects: snapd (Ubuntu)
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/1734038
Title:
Potential regression found with apparmor test on
13 matches
Mail list logo