Failed to resolve filecon statement

"Daniel Skip" <[email protected]>
Newsgroups gmane.linux.redhat.fedora.selinux
Message-ID <[email protected]>
I've gotten this message in the past with SElinux and was able to figure it out but since I've taken a few years break from SElinux and now just getting back into it.....I am stumped on how to fix the issue. Basically, I made a simple script and am trying to confine that simple script but have run into this error. Here is the full error:

Failed to resolve filecon statement at /var/lib/selinux/targeted/tmp/modules/400/testscript/cil:39 /usr/sbin/semodule:  Failed!


I'll link you my files from Github. Everything is the same except I just changed the name from "myscript" to "testscript." Any help is greatly appreciated, thank you.

https://github.com/dtdevore64/myscript
_______________________________________________
selinux 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
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.