Bug 2044381
| Summary: | selinux: domain ganesha_t can't be added to permissive mode | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Kaleb KEITHLEY <kkeithle> |
| Component: | Security | Assignee: | Guillaume Abrioux <gabrioux> |
| Status: | CLOSED EOL | QA Contact: | Veera Raghava Reddy <vereddy> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.3 | CC: | amctagga, ceph-eng-bugs, gabrioux, kkeithle, mbenjamin, sostapov, vimishra, vmojzis, zpytela |
| Target Milestone: | --- | Keywords: | SELinux |
| Target Release: | Backlog | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2040185 | Environment: | |
| Last Closed: | 2025-11-20 07:45:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2040185 | ||
| Bug Blocks: | |||
|
Description
Kaleb KEITHLEY
2022-01-24 13:45:37 UTC
I already have a bz[1] for fixing nfs-ganesha-selinux. ceph's selinux package needs some changes before I can fix ganesha's. This bz is for the additional policy needed in the ceph-selinux package — both upstream and downstream. [1] https://bugzilla.redhat.com/show_bug.cgi?id=2040185 Ok, so this is likely an issue with adm then. Guillaume please take a look at this. The error reported by "semanage permissive -a ganesha_t" is probably caused by missing ceph policy module, see: https://github.com/nfs-ganesha/nfs-ganesha/pull/803 To be sure, please run the following to see what semanage is complaining about: # semanage permissive -a ganesha_t Failed to resolve typeattributeset statement at /var/lib/selinux/targeted/tmp/modules/200/ganesha/cil:32 OSError: [Errno 0] Error # bzip2 -d /var/lib/selinux/packages/ganesha.pp.bz2 # sudo /usr/libexec/selinux/hll/pp /var/lib/selinux/packages/ganesha.pp >> ganesha.cil # sed -n 32p ganesha.cil |