touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #28877
[Bug 1260090] Re: apparmor_parser complains about '.' and '"' in child profile names
** Also affects: apparmor
Importance: Undecided
Status: New
** Tags added: aa-parser
** Changed in: apparmor
Status: New => Triaged
** Changed in: apparmor
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1260090
Title:
apparmor_parser complains about '.' and '"' in child profile names
Status in AppArmor Linux application security framework:
Triaged
Status in “apparmor” package in Ubuntu:
Triaged
Bug description:
The following fails to compile:
profile "com.ubuntu.developer.jdstrand.test-oxide_test-oxide_0.1" (attach_disconnected) {
/usr/lib/@{multiarch}/oxide-qt/chrome-sandbox cx -> chrome_sandbox,
/usr/lib/@{multiarch}/oxide-qt/oxide-renderer Cx -> oxide_renderer,
profile chrome_sandbox {
/usr/lib/@{multiarch}/oxide-qt/oxide-renderer Px -> com.ubuntu.developer.jdstrand.test-oxide_test-oxide_0.1//oxide_renderer,
}
profile oxide_renderer { }
}
$ apparmor_parser -p /tmp/foo >/dev/null
AppArmor parser error for /tmp/foo in /tmp/foo at line 6: Found unexpected character: '.'
I can also quote the child profile like so:
profile chrome_sandbox {
/usr/lib/@{multiarch}/oxide-qt/oxide-renderer Px -> "com.ubuntu.developer.jdstrand.test-oxide_test-oxide_0.1//oxide_renderer",
}
$ apparmor_parser -p /tmp/bar >/dev/null
AppArmor parser error for /tmp/bar in /tmp/bar at line 6: Found unexpected character: '"'
To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1260090/+subscriptions