# Rocky 10.2 get a semanage error when trying to apply tag to folder

**URL:** <https://forums.rockylinux.org/t/rocky-10-2-get-a-semanage-error-when-trying-to-apply-tag-to-folder/20628>\
**Category:** Rocky Linux Help & Support\
**Created:** [June 25, 2026, 3:00pm UTC](https://forums.rockylinux.org/t/rocky-10-2-get-a-semanage-error-when-trying-to-apply-tag-to-folder/20628 "2026-06-25T15:00:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![markvl](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@markvl](https://forums.rockylinux.org/u/markvl)\
**Post date:** [June 25, 2026, 3:00pm UTC](https://forums.rockylinux.org/t/rocky-10-2-get-a-semanage-error-when-trying-to-apply-tag-to-folder/20628/1 "2026-06-25T15:00:56Z")

</div>

this is rocky 10.2 on a fresh install. reinstalled multiple times with same result.  
libsemanage.semanage\_direct\_get\_module\_info: Unable to open extra\_binsbin.bak module lang ext file at /var/lib/selinux/targeted/tmp/modules/40lang\_ext. (No such file or directory).  
extra\_binsbin.bak

after removing the bin file and reinstalling the targeted policy package and running semodule -B

I am able to set the context on the folder. but when I reboot none of the users are allowed to login.  
I need to go into single user mode and set semanage to permissive or disabled to allow logins with a no context found error.

any thoughts on a fix or workaround for this?  
9.8 doesn’t have this issue. will try later with 10.1.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [August 24, 2026, 3:01pm UTC](https://forums.rockylinux.org/t/rocky-10-2-get-a-semanage-error-when-trying-to-apply-tag-to-folder/20628/2 "2026-08-24T15:01:41Z")

</div>

Closed on August 24, 2026, 3:01pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
