Re: Sudden issues with SELINUX

Derek Enz <[email protected]>
Newsgroups gmane.linux.redhat.fedora.testers
Message-ID <CAF4eBFV7NB6GBZQ=m65KCsiF0devFzi0cWAXsg21wfn_CXoL2A@mail.gmail.com>
Hello

So you are seeing these SELinux messages in F42?

I’ve only seen some random SELinux pop up messages in Rawhide so far.

I will keep an eye out for it.

Derek Enz

On Thu, Aug 14, 2025 at 9:22 PM Ian Laurie via test <
[email protected]> wrote:

> In the last day or so I am getting issues with SELINUX on a Fedora 42
> host, for example manipulating boolean variables during kernel testing I
> am seeing errors like this:
>
> zuke# semanage boolean -m --off selinuxuser_execheap
> libsepol.context_from_record: type kmscon_conf_t is not defined
> libsepol.context_from_record: could not create context structure
> libsepol.context_from_string: could not create context structure
> libsepol.sepol_context_to_sid: could not convert
> system_u:object_r:kmscon_conf_t:s0 to sid
> invalid context system_u:object_r:kmscon_conf_t:s0
> libsemanage.semanage_validate_and_compile_fcontexts: setfiles returned
> error code 255.
> OSError: Error
>
> Looks like /etc/kmscon/* defines kmscon_conf_t but I don't have that
> directory hierarchy.  Nothing I have managed to search on the issue has
> been helpful so far.  Also I cannot use the graphical SELinux Management
> utility to remove local policies, a similar error appears in a pop-up.
>
> A working Fedora 42 also doesn't seem to have /etc/kmscon/.
>
> Any ideas?
>
> --
> Ian Laurie
> FAS: nixuser | Matrix: nixuser
> TZ: Australia/Sydney
>
> --
> _______________________________________________
> test mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/[email protected]
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>

-- 
_______________________________________________
test mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.