View Issue Details

IDProjectCategoryView StatusLast Update
0017733CentOS-7selinux-policypublic2020-09-17 09:06
ReporterHenriDumortier Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
OS Version7 
Summary0017733: SELinux is preventing /usr/libexec/snapd/snap-update-ns from 'mounton' accesses on the file /etc/ld.so.cache.
DescriptionDescription of problem:
SELinux is preventing /usr/libexec/snapd/snap-update-ns from 'mounton' accesses on the file /etc/ld.so.cache.

***** Plugin catchall (100. confidence) suggests **************************

If you believe that snap-update-ns should be allowed mounton 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 '5' --raw | audit2allow -M my-5
# semodule -i my-5.pp

Additional Information:
Source Context system_u:system_r:snappy_mount_t:s0
Target Context unconfined_u:object_r:ld_so_cache_t:s0
Target Objects /etc/ld.so.cache [ file ]
Source 5
Source Path /usr/libexec/snapd/snap-update-ns
Port <Unknown>
Host (removed)
Source RPM Packages snap-confine-2.45.3.1-1.el7.x86_64
Target RPM Packages glibc-2.17-307.el7.1.x86_64
Policy RPM selinux-policy-3.13.1-266.el7_8.1.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-1127.19.1.el7.x86_64 #1 SMP
                              Tue Aug 25 17:23:54 UTC 2020 x86_64 x86_64
Alert Count 1
First Seen 2020-09-17 11:58:27 CEST
Last Seen 2020-09-17 11:58:27 CEST
Local ID 36105841-add3-4456-af66-cee370943f7f

Raw Audit Messages
type=AVC msg=audit(1600336707.403:302): avc: denied { mounton } for pid=20401 comm="5" path="/etc/ld.so.cache" dev="dm-0" ino=68019191 scontext=system_u:system_r:snappy_mount_t:s0 tcontext=unconfined_u:object_r:ld_so_cache_t:s0 tclass=file permissive=1


type=SYSCALL msg=audit(1600336707.403:302): arch=x86_64 syscall=mount success=yes exit=0 a0=c000116320 a1=c0000fe8d0 a2=c0000fe8b8 a3=1000 items=0 ppid=20380 pid=20401 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=5 exe=/usr/libexec/snapd/snap-update-ns subj=system_u:system_r:snappy_mount_t:s0 key=(null)

Hash: 5,snappy_mount_t,ld_so_cache_t,file,mounton

Version-Release number of selected component:
selinux-policy-3.13.1-266.el7_8.1.noarch
Additional Informationreporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-1127.19.1.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.
abrt_hash324eb3ee280178a3d35e50c7d4bd6901ec5f674e1f006b4f7a9928a1d11bba07
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-09-17 09:06 HenriDumortier New Issue