Bug 1711506 - SELinux is preventing cjdroute from 'search' accesses on the directory /var/lib/sss.
Summary: SELinux is preventing cjdroute from 'search' accesses on the directory /var/l...
Keywords:
Status: CLOSED DUPLICATE of bug 1589395
Alias: None
Product: Fedora
Classification: Fedora
Component: cjdns
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stuart D Gathman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ae8522cdb29954dd89aaedb34c5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-18 06:53 UTC by bernard827
Modified: 2019-05-20 21:02 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-20 21:02:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description bernard827 2019-05-18 06:53:57 UTC
Description of problem:
SELinux is preventing cjdroute from 'search' accesses on the directory /var/lib/sss.

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

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

Additional Information:
Source Context                system_u:system_r:cjdns_t:s0
Target Context                system_u:object_r:sssd_var_lib_t:s0
Target Objects                /var/lib/sss [ dir ]
Source                        cjdroute
Source Path                   cjdroute
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           sssd-common-2.1.0-2.fc30.x86_64
Policy RPM                    selinux-policy-3.14.3-35.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.0.16-300.fc30.x86_64 #1 SMP Tue
                              May 14 19:33:09 UTC 2019 x86_64 x86_64
Alert Count                   36
First Seen                    2019-05-09 02:26:15 EDT
Last Seen                     2019-05-18 02:51:52 EDT
Local ID                      f7d70079-a2e2-4c33-8c35-7374ae06032e

Raw Audit Messages
type=AVC msg=audit(1558162312.196:691): avc:  denied  { search } for  pid=52316 comm="cjdroute" name="sss" dev="dm-0" ino=653001 scontext=system_u:system_r:cjdns_t:s0 tcontext=system_u:object_r:sssd_var_lib_t:s0 tclass=dir permissive=0


Hash: cjdroute,cjdns_t,sssd_var_lib_t,dir,search

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

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

Potential duplicate: bug 1471320

Comment 1 Lukas Vrabec 2019-05-20 08:59:39 UTC
Hi All, 

cjdns ships own selinux package, moving to right component.

Thanks,
Lukas.

Comment 2 Stuart D Gathman 2019-05-20 21:02:54 UTC

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


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