Skip to content
This repository was archived by the owner on Dec 9, 2022. It is now read-only.
This repository was archived by the owner on Dec 9, 2022. It is now read-only.

possible improvement - plugin restorecon suggests no-op command (99.5 confidence) #48

Description

@bachradsusi

I used semanage fcontext + restorecon, and then (still) suffered an AVC denial executing the file.

This is not my complaint, I clearly don't understand selinux enough to implement any workaround more subtle than disabling selinux,

The problem detected is that setroubleshootd suggests the most likely fix is to run restorecon -v on the file. That was part of how I caused the problem, and of course re-running it does nothing to help.

The plugin actually knows what label "should" be re-applied. So it could easily see that something more is wrong. (Just run the equivalent of restorecon -nv).

For more information see https://bugzilla.redhat.com/show_bug.cgi?id=1427142

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions