| Summary: | SELinux is preventing ldconfig from 'getattr' accesses on the lnk_file /usr/lib64/liblzma.so.5. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | utom <tomasz.urbanski> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | bfn924, dominick.grift, dwalsh, lvrabec, mgrepl, plautrba, pmoore |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:8b26da6ed8a6cff0516c0b2d5ede405b7dfe07725ee920e659547f760d68457b;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-10-11 08:40:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This is mislabeling issue. Please execute /sbin/restorecon -R -v /usr/lib64/ to fix labeling for /usr/lib64/ directory. Thank you. Description of problem: After software update reboot Version-Release number of selected component: selinux-policy-3.13.1-191.24.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.9.6-100.fc24.x86_64 type: libreport |
Description of problem: SELinux is preventing ldconfig from 'getattr' accesses on the lnk_file /usr/lib64/liblzma.so.5. ***** Plugin restorecon (99.5 confidence) suggests ************************ If aby naprawić etykietę. domyślna etykieta /usr/lib64/liblzma.so.5 powinna wynosić lib_t. Then można wykonać polecenie restorecon. Do # /sbin/restorecon -v /usr/lib64/liblzma.so.5 ***** Plugin catchall (1.49 confidence) suggests ************************** If aby ldconfig powinno mieć domyślnie getattr dostęp do liblzma.so.5 lnk_file. Then proszę to zgłosić jako błąd. Można utworzyć lokalny moduł polityki, aby umożliwić ten dostęp. Do allow this access for now by executing: # ausearch -c 'ldconfig' --raw | audit2allow -M my-ldconfig # semodule -X 300 -i my-ldconfig.pp Additional Information: Source Context system_u:system_r:ldconfig_t:s0 Target Context system_u:object_r:initrc_tmp_t:s0 Target Objects /usr/lib64/liblzma.so.5 [ lnk_file ] Source ldconfig Source Path ldconfig Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages xz-libs-5.2.2-2.fc24.x86_64 Policy RPM selinux-policy-3.13.1-191.18.fc24.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.7.6-200.fc24.x86_64 #1 SMP Mon Oct 3 20:10:24 UTC 2016 x86_64 x86_64 Alert Count 195 First Seen 2016-10-10 15:34:13 CEST Last Seen 2016-10-11 10:15:13 CEST Local ID 1a2fbf84-a4c4-4dbd-9f29-5c6020867a20 Raw Audit Messages type=AVC msg=audit(1476173713.543:326): avc: denied { getattr } for pid=12786 comm="ldconfig" path="/usr/lib64/liblzma.so.5" dev="dm-0" ino=2499011 scontext=system_u:system_r:ldconfig_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=lnk_file permissive=0 Hash: ldconfig,ldconfig_t,initrc_tmp_t,lnk_file,getattr Version-Release number of selected component: selinux-policy-3.13.1-191.18.fc24.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.7.6-200.fc24.x86_64 type: libreport