Bug 1474014 - 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: CLOSED DUPLICATE of bug 1474017
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-07-23 02:31 EDT by Alessio
Modified: 2017-07-23 07:48 EDT (History)
8 users (show)

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

Attachments (Terms of Use)

  None (edit)
Description Alessio 2017-07-23 02:31:35 EDT
Description of problem:
Installing Workstation Live, circa at the end
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.
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:loadkeys_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-265.fc27.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.13.0-0.rc1.git3.1.fc27.x86_64 #1
                              SMP Thu Jul 20 14:34:31 UTC 2017 x86_64 x86_64
Alert Count                   1
First Seen                    2017-07-23 02:27:06 EDT
Last Seen                     2017-07-23 02:27:06 EDT
Local ID                      8a14dd4b-04d3-41bf-8272-034f2aaf47cc

Raw Audit Messages
type=AVC msg=audit(1500791226.446:290): avc:  denied  { write } for  pid=17290 comm="sh" name="nss" dev="dm-0" ino=160341 scontext=system_u:system_r:loadkeys_t:s0 tcontext=system_u:object_r:sssd_var_lib_t:s0 tclass=sock_file permissive=1

Hash: sh,loadkeys_t,sssd_var_lib_t,sock_file,write

Version-Release number of selected component:

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.13.0-0.rc1.git3.1.fc27.x86_64
type:           libreport
Comment 1 Daniel Walsh 2017-07-23 07:48:11 EDT

*** This bug has been marked as a duplicate of bug 1474017 ***

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