On Monday, May 2, 2022 6:17:46 PM EDT Adam Williamson wrote:
> On Mon, 2022-05-02 at 16:51 -0400, Garry T. Williams wrote:
> > How do I fix an F36 system that gets this error:
> >
> > $ sudo setsebool -PV rsync_export_all_ro true
> > Failed to resolve allow statement at
> > /var/lib/selinux/targeted/tmp/modules/200/flatpak/cil:122
> > Failed to resolve AST
> > Failed to commit changes to booleans: Success
> > $
> >
> > I believe the error was created when I upgraded. This bug report was
> > identified and a duplicate of mine at that time (about a month ago):
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=2075651
> >
> > I have tried uninstalling and reinstalling selinux-policy to no avail.
>
> See https://bugzilla.redhat.com/show_bug.cgi?id=2056303 for quite a lot
> of discussion about this kinda thing. You can try:
>
> dnf reinstall selinux-policy-targeted swtpm snapd-selinux flatpak-selinux
> container-selinux osbuild-selinux
>
> as suggested in comment #93.
Thanks, Adam. But reinstalling already failed to fix the problem for
me. But I tried comment #13,
sudo semodule -X 200 -r snappy -r container -r flatpak -X 400 -r
pcpupstream -r pcpupstream-container -X 100 -r pcp
and that did the trick for me (flatpak and pcp were the only modules
installed here). My policy is no longer broken.
--
Garry T. Williams
_______________________________________________
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 on the list, report it:
https://pagure.io/fedora-infrastructure