Bug 1874836
| Summary: | SELinux is preventing (-localed) from remount access on the filesystem while exfat drive is mounted | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | mershl <mweires> |
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 32 | CC: | aziz, dwalsh, grepl.miroslav, jmontleo, lvrabec, mmalik, plautrba, travier, vmojzis, zpytela |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.14.5-44.fc32 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-10-05 17:32:43 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
mershl
2020-09-02 11:39:26 UTC
Hi, Could you show the actual AVC denials? # ausearch -i -m avc,user_avc,selinux_err,user_selinux_err I suppose this is related: https://github.com/fedora-selinux/selinux-policy/pull/425 It is indeed related as a first try/guess to fixing the issue :). Hi,
Filtered to the last 8 denials:
# ausearch -i -m avc,user_avc,selinux_err,user_selinux_err
type=AVC msg=audit(02.09.2020 12:19:42.601:283) : avc: denied { remount } for pid=7820 comm=(geoclue) scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=0
----
type=AVC msg=audit(02.09.2020 12:19:42.874:287) : avc: denied { remount } for pid=7963 comm=(ostnamed) scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=0
----
type=AVC msg=audit(02.09.2020 12:23:12.549:239) : avc: denied { remount } for pid=6680 comm=(-localed) scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=0
----
type=AVC msg=audit(02.09.2020 12:33:27.634:235) : avc: denied { remount } for pid=7790 comm=(ostnamed) scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1
----
type=AVC msg=audit(02.09.2020 12:43:02.530:265) : avc: denied { remount } for pid=11154 comm=(ostnamed) scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1
----
type=AVC msg=audit(02.09.2020 12:45:15.953:215) : avc: denied { remount } for pid=6834 comm=(imedated) scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1
----
type=AVC msg=audit(02.09.2020 15:42:54.752:232) : avc: denied { remount } for pid=7007 comm=(ostnamed) scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1
----
type=AVC msg=audit(02.09.2020 15:43:47.543:247) : avc: denied { remount } for pid=7661 comm=(ostnamed) scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1
*** Bug 1875027 has been marked as a duplicate of this bug. *** *** Bug 1869028 has been marked as a duplicate of this bug. *** *** Bug 1869039 has been marked as a duplicate of this bug. *** commit 192d78550f4e832be2ce4be66d0f84d3bf61304a (HEAD -> f32, upstream/f32)
Author: Timothée Ravier <travier>
Date: Wed Sep 2 13:28:32 2020 +0200
kernel/filesystem: Add exfat support (no extended attributes)
According to [1], the exfat filesystem does not support extended
attributes so it should be handled like fat/vfat/ntfs.
[1] https://en.wikipedia.org/wiki/Comparison_of_file_systems
Resolves: rhbz#1874836
FEDORA-2020-9896f80cf0 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-9896f80cf0 FEDORA-2020-9896f80cf0 has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-9896f80cf0` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-9896f80cf0 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-9896f80cf0 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. |