Giter VIP home page Giter VIP logo

Comments (8)

curiosityseeker avatar curiosityseeker commented on May 16, 2024 1

I'm very happy to report that aa-logprof seems to work again with the newest AppArmor version 3.1.2 on Arch Linux! I'm not sure which commit fixed this issue.

I'll leave this issue open for another couple of days until I'm sure that everything is okay.

EDIT: Note that I haven't tested the new version with regard to the @{exec_path} problem yet.

from apparmor.d.

curiosityseeker avatar curiosityseeker commented on May 16, 2024

I don't think that this issue can be traced back to https://gitlab.com/apparmor/apparmor/-/issues/90 as I remove all instances of @{exec_path} . The problem must be caused by something else, IMO.

from apparmor.d.

roddhjav avatar roddhjav commented on May 16, 2024

The problem is indirectly due to @{exec_path}. In practice the source cause is that the python library behind aa-logprof does not parse variable used in profile attachment (and possibly too in profile header). This is a know bug in AppArmor. But has it is not trivial to fix, it has be open for years.

from apparmor.d.

curiosityseeker avatar curiosityseeker commented on May 16, 2024

I'm not quite sure that I understand. Do you mean the additional variables introduced by this project?

If so - does that mean that it would be necessary to rewrite every profile by removing those additional variables?

from apparmor.d.

roddhjav avatar roddhjav commented on May 16, 2024

No, I mean the variables defined in a profile preamble (just before the profile ... line) not the one in the tunables

To sum up, this issue might still be open for years as it is not easy to fix.

from apparmor.d.

curiosityseeker avatar curiosityseeker commented on May 16, 2024

No, I mean the variables defined in a profile preamble (just before the profile ... line) not the one in the tunables

Ah, I see - but, quite frankly, I'm not fully convinced. I had been using the libreoffice profiles (which originally come from Canonical) for some years. The *.soffice.bin profile contains variables ( @{libreoffice_ext} and @{libo_user_dirs} ) as well and they had never caused any trouble with aa-logprof. Similarly, I've been using @{okular_ext} = [eE][pP][uU][bB] [pP][dD][fF]
in my okular profile for some time without any problems.

So I still think that there must be another culprit.

from apparmor.d.

curiosityseeker avatar curiosityseeker commented on May 16, 2024

EDIT: Note that I haven't tested the new version with regard to the @{exec_path} problem yet.

Unfortunately, this problem still exists.

from apparmor.d.

curiosityseeker avatar curiosityseeker commented on May 16, 2024

Closing as fixed by upstream.

from apparmor.d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.