Bug 1464666 - SELinux is preventing sh from 'write' accesses on the sock_file nss.
SELinux is preventing sh from 'write' accesses on the sock_file nss.
Status: NEW
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
26
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
abrt_hash:688973835db4457302670657c76...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-24 07:31 EDT by Jia Yuan Lo
Modified: 2017-06-24 07:31 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jia Yuan Lo 2017-06-24 07:31:07 EDT
Description of problem:
SELinux is preventing sh from 'write' accesses on the sock_file nss.

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

If you believe that sh should be allowed write access on the nss sock_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 'sh' --raw | audit2allow -M my-sh
# semodule -X 300 -i my-sh.pp

Additional Information:
Source Context                system_u:system_r:boinc_t:s0
Target Context                system_u:object_r:sssd_var_lib_t:s0
Target Objects                nss [ sock_file ]
Source                        sh
Source Path                   sh
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-257.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.11.5-300.fc26.x86_64 #1 SMP Wed
                              Jun 14 19:16:35 UTC 2017 x86_64 x86_64
Alert Count                   109
First Seen                    2017-06-24 19:19:14 +08
Last Seen                     2017-06-24 19:19:15 +08
Local ID                      ef701265-3bea-4589-a9a6-9d873c2d6597

Raw Audit Messages
type=AVC msg=audit(1498303155.3:802): avc:  denied  { write } for  pid=6837 comm="sh" name="nss" dev="sda3" ino=538620491 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:sssd_var_lib_t:s0 tclass=sock_file permissive=0


Hash: sh,boinc_t,sssd_var_lib_t,sock_file,write

Version-Release number of selected component:
selinux-policy-3.13.1-257.fc26.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.11.5-300.fc26.x86_64
type:           libreport

Note You need to log in before you can comment on or make changes to this bug.