View Issue Details

IDProjectCategoryView StatusLast Update
0015175CentOS-7selinux-policypublic2018-08-15 00:41
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015175: SELinux is preventing /usr/bin/certwatch from 'read' accesses on the directory /var/lib/softhsm/tokens/.
DescriptionDescription of problem:
SELinux is preventing /usr/bin/certwatch from 'read' accesses on the directory /var/lib/softhsm/tokens/.

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

If you believe that certwatch should be allowed read access on the directory 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 'certwatch' --raw | audit2allow -M my-certwatch
# semodule -i my-certwatch.pp

Additional Information:
Source Context system_u:system_r:certwatch_t:s0-s0:c0.c1023
Target Context system_u:object_r:named_cache_t:s0
Target Objects /var/lib/softhsm/tokens/ [ dir ]
Source certwatch
Source Path /usr/bin/certwatch
Port <Unknown>
Host (removed)
Source RPM Packages crypto-utils-2.4.1-42.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-192.el7_5.4.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Permissive
Host Name (removed)
Platform Linux (removed) 3.10.0-862.9.1.el7.x86_64 #1 SMP
                              Mon Jul 16 16:29:36 UTC 2018 x86_64 x86_64
Alert Count 13
First Seen 2018-08-04 20:40:40 EDT
Last Seen 2018-08-14 20:05:45 EDT
Local ID 427ee9d1-b926-4905-838c-394b1763a66c

Raw Audit Messages
type=AVC msg=audit(1534291545.947:72166): avc: denied { read } for pid=17741 comm="certwatch" name="tokens" dev="dm-0" ino=841143 scontext=system_u:system_r:certwatch_t:s0-s0:c0.c1023 tcontext=system_u:object_r:named_cache_t:s0 tclass=dir

type=SYSCALL msg=audit(1534291545.947:72166): arch=x86_64 syscall=openat success=yes exit=EIO a0=ffffffffffffff9c a1=c2dab8 a2=90800 a3=0 items=1 ppid=17736 pid=17741 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=19 comm=certwatch exe=/usr/bin/certwatch subj=system_u:system_r:certwatch_t:s0-s0:c0.c1023 key=(null)

type=CWD msg=audit(1534291545.947:72166): cwd=/

type=PATH msg=audit(1534291545.947:72166): item=0 name=/var/lib/softhsm/tokens/ inode=841143 dev=fd:00 mode=040770 ouid=999 ogid=998 rdev=00:00 obj=system_u:object_r:named_cache_t:s0 objtype=NORMAL cap_fp=0000000000000000 cap_fi=0000000000000000 cap_fe=0 cap_fver=0

Hash: certwatch,certwatch_t,named_cache_t,dir,read

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-862.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
2018-08-15 00:41 wrthissell New Issue