Bug 1582950 - SELinux is preventing rm from 'remove_name' accesses on the directory .deliver_lock.
Summary: SELinux is preventing rm from 'remove_name' accesses on the directory .delive...
Keywords:
Status: CLOSED DUPLICATE of bug 1582701
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:cf8d4ac2211e06b017ee52c0135...
: 1591380 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-27 21:52 UTC by henoc
Modified: 2018-06-14 15:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-02 22:42:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description henoc 2018-05-27 21:52:33 UTC
Description of problem:
SELinux is preventing rm from 'remove_name' accesses on the directory .deliver_lock.

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

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

Additional Information:
Source Context                system_u:system_r:fsdaemon_t:s0
Target Context                system_u:object_r:mail_home_rw_t:s0
Target Objects                .deliver_lock [ dir ]
Source                        rm
Source Path                   rm
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-283.34.fc27.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.16.11-200.fc27.x86_64 #1 SMP Tue
                              May 22 18:36:25 UTC 2018 x86_64 x86_64
Alert Count                   427
First Seen                    2016-07-25 15:50:38 AST
Last Seen                     2018-05-27 17:26:03 AST
Local ID                      6786cd69-a377-4cff-8c7a-cb1836d4e0ed

Raw Audit Messages
type=AVC msg=audit(1527456363.979:243): avc:  denied  { remove_name } for  pid=6759 comm="dotlockfile" name=".deliver_lock" dev="sda2" ino=1703959 scontext=system_u:system_r:fsdaemon_t:s0 tcontext=system_u:object_r:mail_home_rw_t:s0 tclass=dir permissive=1


Hash: rm,fsdaemon_t,mail_home_rw_t,dir,remove_name

Version-Release number of selected component:
selinux-policy-3.13.1-283.34.fc27.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.16.11-200.fc27.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2018-06-02 22:42:30 UTC

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

Comment 2 henoc 2018-06-14 15:04:48 UTC
*** Bug 1591380 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.