| Summary: | SELinux is preventing /usr/sbin/sshd from 'search' accesses on the directory /home/dev. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mads Kiilerich <mads> | ||||
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | abrt_hash:1a98ef2f37bac5a57b673c224d5f15b368f9470a0700807f62f596e8963ac4c9 | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-12-05 20:58:00 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Mads Kiilerich
2011-12-05 14:41:16 UTC
Created attachment 540946 [details]
File: description
Apparently a regression since -61. (Don't get confused - the username is 'dev') Any idea how it could get this mislabeling? # restorecon -R -v /home/dev Oh, right, sandbox_file_t - I hadn't noticed that. I have been playing with sandbox, so it is probably my own fault that it ended up that way. I had verified that restorecon didn't report any problems - and as far as I can see I haven't messed it up so bad that I have redefined what the right context is. Is it intentional that the policy accepts sandbox_file_t for /home/* ? Your question indicates that you wouldn't expect that. I can see how something like this could make sense for sandboxing arbitrary users, but I would expect a label for a sandboxed home to be something like sandbox_home_t. If that is 'works as designed' them I am happy - except that I am sorry to have filed a bogus bug report ;-) sandbox_file_t is a customizable type. Meaning restorecon will not modify it unless forced. This allows you to setup permanent homedirs/tmpdirs that sandboxes in random locations and restorecon will ignore them. Oops, I missed "-F" switch. |