Bug 1756835
Summary: | Error "Unable to read ceph module lang ext file" during multiple RPM installs | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul DeStefano <prd-fedora> |
Component: | libsemanage | Assignee: | Petr Lautrbach <plautrba> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 30 | CC: | dwalsh, mgrepl, plautrba, vmojzis |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-07 10:36:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Paul DeStefano
2019-09-30 04:20:08 UTC
It looks like your SELinux module store is broken due to some hw/fs issues. Most likely you have a directory /var/lib/selinux/targeted/active/modules/400/ceph with empty files. If this is the only problem, you should be able to fix it using the following commands: # dnf reinstall ceph-selinux or manually using: # mv /var/lib/selinux/targeted/active/modules/400/ceph /root/backup/ceph-module # semodule -i /usr/share/selinux/packages/ceph.pp Thanks Petr. Here's what I get... Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Reinstalling : ceph-selinux-2:14.2.3-1.fc30.x86_64 1/2 Running scriptlet: ceph-selinux-2:14.2.3-1.fc30.x86_64 1/2 libsemanage.semanage_direct_get_module_info: Unable to read ceph module lang ext file. libsemanage.semanage_direct_get_module_info: Unable to read pcpupstream module lang ext file. (No such file or directory). libsemanage.semanage_direct_get_module_info: Unable to read pcpupstream module lang ext file. (No such file or directory). /usr/sbin/semodule: Failed on /usr/share/selinux/packages/ceph.pp! Cleanup : ceph-selinux-2:14.2.3-1.fc30.x86_64 2/2 Running scriptlet: ceph-selinux-2:14.2.3-1.fc30.x86_64 2/2 Verifying : ceph-selinux-2:14.2.3-1.fc30.x86_64 1/2 Verifying : ceph-selinux-2:14.2.3-1.fc30.x86_64 2/2 Reinstalled: ceph-selinux-2:14.2.3-1.fc30.x86_64 Complete! Okay, you were right, the active ceph stuff was empty, so I moved that directory to a backup location. But, when I tried to semanage install it, again, from /usr/share/... it failed complaining about pcpupstream module. libsemanage.semanage_direct_get_module_info: Unable to read pcpupstream module lang ext file. libsemanage.semanage_direct_get_module_info: Unable to read pcpupstream module lang ext file. (No such file or directory). libsemanage.semanage_direct_get_module_info: Unable to read pcpupstream module lang ext file. (No such file or directory). I'm not sure what to do. Apparently there's a bunch of problems. The simplest way would be to reinstall selinux-policy-targeted: # dnf reinstall selinux-policy-targeted or # mv /var/lib/selinux/targeted /root/targeted.backup # dnf reinstall selinux-policy-targeted and you might want to install modules - .pp or .pp.bz2 - from /usr/share/selinux/packages Anyway, this is clearly a broken system problem and not a bug. |