Giter VIP home page Giter VIP logo

Comments (7)

stephensmalley avatar stephensmalley commented on July 23, 2024

Thanks for the bug report. Did you open a bug on Red Hat's bugzilla too? If not, would recommend it.
We generally prefer that people raise issues on the mailing list as not everyone follows github; subscribe via selinux-join AT tycho.nsa.gov; you can always open an issue here and then post a summary to the list. I can reproduce with the upstream, but the most obvious fix would impose a non-trivial performance cost on setsebool, so will have to investigate further.

from selinux.

carlosefr avatar carlosefr commented on July 23, 2024

I din't open a bug in Red Hat's bugzilla because I'm using CentOS and don't known their policy on this.

I'll repost to that list with a link to this issue.

from selinux.

stephensmalley avatar stephensmalley commented on July 23, 2024

Well, it is reproducible on Fedora, and they take bugs against Fedora certainly.

from selinux.

carlosefr avatar carlosefr commented on July 23, 2024

Ok, I guess I can spin up a Fedora VM quickly enough. :)

from selinux.

stephensmalley avatar stephensmalley commented on July 23, 2024

BTW, the root cause seems to be commit e5aaa01 (mea culpa), which was an attempt to optimize setting booleans by not re-linking modules in that case. The problem though is that it seems the existing linked policy already includes the local customizations (e.g. your port addition) and then we end up adding it again to the final policy. Not sure yet if that was always a problem since that commit or if it got brought it when CIL was merged.

from selinux.

carlosefr avatar carlosefr commented on July 23, 2024

Red Hat Bugzilla issue here: https://bugzilla.redhat.com/show_bug.cgi?id=1439875

from selinux.

stephensmalley avatar stephensmalley commented on July 23, 2024

Commit b61922f resolves this in the simplest way possible, i.e. reverting the breaking change, but results in a significant slowdown and memory overhead for setsebool -P. A follow-on patch has been posted to the list that should restore the optimization without yielding this incorrect behavior.

from selinux.

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.