Bug 1699357 - SELinux is preventing mount from read, write access on the chr_file loop-control.
Summary: SELinux is preventing mount from read, write access on the chr_file loop-cont...
Keywords:
Status: CLOSED DUPLICATE of bug 1601273
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d65b9054b75c44d88e48cc225eb...
: 1713973 1714329 1716034 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-12 13:58 UTC by Abhisek Mukherjee
Modified: 2019-06-01 08:07 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-04-12 14:20:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Abhisek Mukherjee 2019-04-12 13:58:04 UTC
Description of problem:
SELinux is preventing mount from read, write access on the chr_file loop-control.

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

If you believe that mount should be allowed read write access on the loop-control chr_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 'mount' --raw | audit2allow -M my-mount
# semodule -X 300 -i my-mount.pp

Additional Information:
Source Context                system_u:system_r:snappy_t:s0
Target Context                system_u:object_r:loop_control_device_t:s0
Target Objects                loop-control [ chr_file ]
Source                        mount
Source Path                   mount
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.3-28.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.0.7-300.fc30.x86_64 #1 SMP Mon
                              Apr 8 18:28:09 UTC 2019 x86_64 x86_64
Alert Count                   2
First Seen                    2019-04-12 19:24:25 IST
Last Seen                     2019-04-12 19:24:36 IST
Local ID                      1a58fba5-02e3-4087-adf7-00c48f671a38

Raw Audit Messages
type=AVC msg=audit(1555077276.955:288): avc:  denied  { read write } for  pid=2257 comm="mount" name="loop-control" dev="devtmpfs" ino=2888 scontext=system_u:system_r:snappy_t:s0 tcontext=system_u:object_r:loop_control_device_t:s0 tclass=chr_file permissive=1


Hash: mount,snappy_t,loop_control_device_t,chr_file,read,write

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

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

Potential duplicate: bug 1601273

Comment 1 Zdenek Pytela 2019-04-12 14:20:36 UTC

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

Comment 2 Jeremy 2019-05-26 10:18:42 UTC
*** Bug 1713973 has been marked as a duplicate of this bug. ***

Comment 3 Jeremy 2019-05-27 17:32:51 UTC
*** Bug 1714329 has been marked as a duplicate of this bug. ***

Comment 4 Jeremy 2019-06-01 08:07:05 UTC
*** Bug 1716034 has been marked as a duplicate of this bug. ***


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