[Pkg-xfce-devel] Bug#747252: lightdm: AppArmor parser error in /etc/apparmor.d/abstractions/lightdm_chromium-browser

Daniel Richard G. skunk at iSKUNK.ORG
Sat Jun 21 00:33:38 UTC 2014

On Thu, 2014 Jun 12 8:03+0200, Yves-Alexis Perez wrote:
> Well, I followed intrigeri remark: since guest session is not working
> anyway, there's no point in having a broken AppArmor profile for that.
> That's not the case for the lightdm_chromium-browser one, is it?

Uh, yes, it is. First of all, lightdm_chromium-browser is an
abstraction, not a standalone profile. It's where the actual parse error
was occurring:

    apparmor[12873]: Starting AppArmor profiles:AppArmor parser error for 
    /etc/apparmor.d/lightdm-guest-session in /etc/apparmor.d/abstractions/lightdm_chromium-browser 
    at line 20: syntax error, unexpected TOK_CONDID, expecting TOK_ID or TOK_COLON

And now that the lightdm-guest-session profile has been removed, nothing
is using this abstraction. So, given that the abstraction is not usable
anyway due to the parse error, *why is the package still installing it?*

> In any case, please provide a working patch against the current
> package. I won't do anything more on this until someone actually test
> the changes.

    # rm -f /etc/apparmor.d/abstractions/lightdm_chromium-browser
    # /etc/init.d/apparmor reload
    . ok

Seems to work for me.

More information about the Pkg-xfce-devel mailing list