Bug 1729017

Summary: SELinux is preventing cp from using the 'setfscreate' accesses on a process.
Product: [Fedora] Fedora Reporter: a.wellbrock
Component: snapdAssignee: Zygmunt Krynicki <me>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: achinovnikov, alex.go4more, danie.dejager, dwalsh, go-sig, joseluisxd, lou, lvilchis, lvrabec, mailinglists35, marshallemartzmartz7, me, mgrepl, misha-shisha, moore.tyler.n, ngompa13, patrick, pavloc.kara, plautrba, redhat, satanin.dmitry.2020, shawnsdservice, t00lbawx, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:49f880708eef76095539a427864ea035b96152bcbbd7e7ff6dd2e9570a8eef49;VARIANT_ID=workstation;
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: --- Target Upstream Version:

Description a.wellbrock 2019-07-11 08:05:47 UTC
Description of problem:
SELinux is preventing cp from using the 'setfscreate' accesses on a process.

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

If you believe that cp should be allowed setfscreate access on processes labeled snappy_t 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 'cp' --raw | audit2allow -M my-cp
# semodule -X 300 -i my-cp.pp

Additional Information:
Source Context                system_u:system_r:snappy_t:s0
Target Context                system_u:system_r:snappy_t:s0
Target Objects                Unknown [ process ]
Source                        cp
Source Path                   cp
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.3-39.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.1.15-300.fc30.x86_64 #1 SMP Tue
                              Jun 25 14:07:22 UTC 2019 x86_64 x86_64
Alert Count                   1
First Seen                    2019-07-10 11:48:02 CEST
Last Seen                     2019-07-10 11:48:02 CEST
Local ID                      ed86308a-9853-4d39-b5b6-944292b9668c

Raw Audit Messages
type=AVC msg=audit(1562752082.750:1900): avc:  denied  { setfscreate } for  pid=1859 comm="cp" scontext=system_u:system_r:snappy_t:s0 tcontext=system_u:system_r:snappy_t:s0 tclass=process permissive=1


Hash: cp,snappy_t,snappy_t,process,setfscreate

Version-Release number of selected component:
selinux-policy-3.14.3-39.fc30.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.0
hashmarkername: setroubleshoot
kernel:         5.1.15-300.fc30.x86_64
type:           libreport

Comment 1 Patrick Reinhart 2019-09-10 19:24:41 UTC
Description of problem:
Got this error after installing signal-desktop using snap.

sudo dnf  install snapd and then using the sofware application to install signal-desktop.

Version-Release number of selected component:
selinux-policy-3.14.3-45.fc30.noarch

Additional info:
reporter:       libreport-2.10.1
hashmarkername: setroubleshoot
kernel:         5.2.11-200.fc30.x86_64
type:           libreport

Comment 2 satanin dmitry 2019-09-23 14:36:54 UTC
Version-Release number of selected component:
selinux-policy-3.14.3-45.fc30.noarch

Additional info:
reporter:       libreport-2.10.1
hashmarkername: setroubleshoot
kernel:         5.2.15-200.fc30.x86_64
type:           libreport

Comment 3 Michael 2019-10-07 13:17:02 UTC
Description of problem:
no se que fue lo que causo el problema pero tal vez fue un ataque de los cyber delincuentes 

Version-Release number of selected component:
selinux-policy-3.14.3-46.fc30.noarch

Additional info:
reporter:       libreport-2.10.1
hashmarkername: setroubleshoot
kernel:         5.2.17-200.fc30.x86_64
type:           libreport

Comment 4 Louis C Seifert III 2019-10-14 14:13:31 UTC
Description of problem:
Started up my computer and shortly after logging in I received this error. It doesn't seem to have a critical effect on the system, so this appears low priority , imho. one thing I would note, I did brief research there were comments on two technologies that might have something to do with it, I have a USB hard disk connected and it does seem to happen when that is connected, the second is apache httpd is running on my system and the http port is open, it is behind a firewall, and there is no content other than a basic page. 

Version-Release number of selected component:
selinux-policy-3.14.3-46.fc30.noarch

Additional info:
reporter:       libreport-2.10.1
hashmarkername: setroubleshoot
kernel:         5.2.18-200.fc30.x86_64
type:           libreport

Comment 5 Jose Luis 2019-12-09 19:45:31 UTC
Similar problem has been detected:

Al iniciar spotify se da el error.

hashmarkername: setroubleshoot
kernel:         5.3.13-200.fc30.x86_64
package:        selinux-policy-3.14.3-52.fc30.noarch
reason:         SELinux is preventing cp from using the 'setfscreate' accesses on a process.
type:           libreport

Comment 6 Tyler Moore 2019-12-17 00:47:33 UTC
Similar problem has been detected:

happens on startup. as soon as i sign in, i get this error.

hashmarkername: setroubleshoot
kernel:         5.3.15-200.fc30.x86_64
package:        selinux-policy-3.14.3-53.fc30.noarch
reason:         SELinux is preventing cp from using the 'setfscreate' accesses on a process.
type:           libreport

Comment 7 shawnsdservice 2019-12-20 04:39:11 UTC
Similar problem has been detected:

I turned my Computer on

hashmarkername: setroubleshoot
kernel:         5.3.12-200.fc30.x86_64
package:        selinux-policy-3.14.3-52.fc30.noarch
reason:         SELinux is preventing cp from using the 'setfscreate' accesses on a process.
type:           libreport

Comment 8 NMueller 2020-01-30 10:11:59 UTC
Similar problem has been detected:

It happened after logging into Gnome. I recently installed snap and riot-web.

hashmarkername: setroubleshoot
kernel:         5.4.12-100.fc30.x86_64
package:        selinux-policy-3.14.3-53.fc30.noarch
reason:         SELinux is preventing cp from using the 'setfscreate' accesses on a process.
type:           libreport