View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0018194 | CentOS-7 | selinux-policy | public | 2021-05-15 20:31 | 2021-05-16 12:18 |
Reporter | dkhLaw | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
OS Version | 7 | ||||
Summary | 0018194: SELinux is preventing /usr/sbin/ldconfig from 'setattr' accesses on the file ld.so.cache~. | ||||
Description | Description of problem: SELinux is preventing /usr/sbin/ldconfig from 'setattr' accesses on the file ld.so.cache~. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that ldconfig should be allowed setattr access on the ld.so.cache~ file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c 'ldconfig' --raw | audit2allow -M my-ldconfig # semodule -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 ld.so.cache~ [ file ] Source ldconfig Source Path /usr/sbin/ldconfig Port <Unknown> Host (removed) Source RPM Packages glibc-2.17-324.el7_9.x86_64 Target RPM Packages Policy RPM selinux-policy-3.13.1-268.el7_9.2.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.10.0-1160.25.1.el7.x86_64 #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86_64 x86_64 Alert Count 38 First Seen 2021-04-26 14:02:14 EDT Last Seen 2021-05-08 23:37:15 EDT Local ID efd538f6-1476-47e7-ba4c-f9ff085eb54b Raw Audit Messages type=AVC msg=audit(1620531435.108:231): avc: denied { setattr } for pid=8545 comm="ldconfig" name="ld.so.cache~" dev="dm-0" ino=68346261 scontext=system_u:system_r:ldconfig_t:s0 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file permissive=1 type=SYSCALL msg=audit(1620531435.108:231): arch=x86_64 syscall=chmod success=yes exit=0 a0=fb1d50 a1=1a4 a2=1411 a3=7ffe10858190 items=0 ppid=31522 pid=8545 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=ldconfig exe=/usr/sbin/ldconfig subj=system_u:system_r:ldconfig_t:s0 key=(null) Hash: ldconfig,ldconfig_t,initrc_tmp_t,file,setattr Version-Release number of selected component: selinux-policy-3.13.1-268.el7_9.2.noarch | ||||
Additional Information | reporter: libreport-2.1.11.1 hashmarkername: setroubleshoot kernel: 3.10.0-1160.25.1.el7.x86_64 reproducible: Not sure how to reproduce the problem type: libreport | ||||
Tags | No tags attached. | ||||
abrt_hash | c12ae661f1b0984a8952dafce416af87870745c191f886edf54958c60faad121 | ||||
URL | |||||
1. ld.so.cache- is not needed for normal use 2. you probably need a relabel of the filesystem. I suggest to try restorecon -Rv /etc/ |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-05-15 20:31 | dkhLaw | New Issue | |
2021-05-16 12:17 | ManuelWolfshant | Note Added: 0038443 | |
2021-05-16 12:18 | ManuelWolfshant | Note Edited: 0038443 |