View Issue Details

IDProjectCategoryView StatusLast Update
0016848CentOS-7selinux-policypublic2019-12-19 14:59
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016848: SELinux is preventing /usr/libexec/snapd/snap-update-ns from 'unmount' accesses on the filesystem /snap/keepassxc/590/var.
DescriptionDescription of problem:
SELinux is preventing /usr/libexec/snapd/snap-update-ns from 'unmount' accesses on the filesystem /snap/keepassxc/590/var.

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

If you believe that snap-update-ns should be allowed unmount access on the var filesystem by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# ausearch -c 'snap-update-ns' --raw | audit2allow -M my-snapupdatens
# semodule -i my-snapupdatens.pp

Additional Information:
Source Context system_u:system_r:snappy_mount_t:s0
Target Context system_u:object_r:snappy_snap_t:s0
Target Objects /snap/keepassxc/590/var [ filesystem ]
Source snap-update-ns
Source Path /usr/libexec/snapd/snap-update-ns
Port <Unknown>
Host (removed)
Source RPM Packages snap-confine-2.42.1-1.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-252.el7.1.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-1062.4.1.el7.x86_64 #1 SMP
                              Fri Oct 18 17:15:30 UTC 2019 x86_64 x86_64
Alert Count 1
First Seen 2019-11-13 11:09:18 +08
Last Seen 2019-11-13 11:09:18 +08
Local ID e2b9f06f-8347-4257-8472-1387c1c6b75f

Raw Audit Messages
type=AVC msg=audit(1573614558.194:12036): avc: denied { unmount } for pid=10964 comm="snap-update-ns" scontext=system_u:system_r:snappy_mount_t:s0 tcontext=system_u:object_r:snappy_snap_t:s0 tclass=filesystem permissive=1

type=SYSCALL msg=audit(1573614558.194:12036): arch=x86_64 syscall=umount2 success=yes exit=0 a0=c000143380 a1=a a2=0 a3=0 items=1 ppid=10362 pid=10964 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=snap-update-ns exe=/usr/libexec/snapd/snap-update-ns subj=system_u:system_r:snappy_mount_t:s0 key=(null)

type=CWD msg=audit(1573614558.194:12036): cwd=/

type=PATH msg=audit(1573614558.194:12036): item=0 name=/snap/keepassxc/590/var inode=24386 dev=07:07 mode=040755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:snappy_snap_t:s0 objtype=NORMAL cap_fe=? cap_fver=? cap_fp=? cap_fi=?

Hash: snap-update-ns,snappy_mount_t,snappy_snap_t,filesystem,unmount

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-1062.9.1.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-12-19 14:59 nvycent New Issue