Bug 1635385 - boltd is causing selinux alerts
Summary: boltd is causing selinux alerts
Keywords:
Status: CLOSED DUPLICATE of bug 1632230
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-02 19:20 UTC by Samuel Sieb
Modified: 2018-10-04 13:13 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-10-04 13:13:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Samuel Sieb 2018-10-02 19:20:05 UTC
boltd is causing three selinux alerts:

SELinux is preventing boltd from write access on the directory boltd.

SELinux is preventing boltd from add_name access on the directory power.

SELinux is preventing boltd from create access on the directory power.

Comment 1 Samuel Sieb 2018-10-02 19:24:27 UTC
Policy RPM                    selinux-policy-3.14.1-42.fc28.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing

Raw Audit Messages
type=AVC msg=audit(1538505198.882:146): avc:  denied  { write } for  pid=996 comm="boltd" name="boltd" dev="tmpfs" ino=32456 scontext=system_u:system_r:boltd_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=dir permissive=1

type=AVC msg=audit(1538505198.882:147): avc:  denied  { add_name } for  pid=996 comm="boltd" name="power" scontext=system_u:system_r:boltd_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=dir permissive=1

type=AVC msg=audit(1538505198.882:148): avc:  denied  { create } for  pid=996 comm="boltd" name="power" scontext=system_u:system_r:boltd_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=dir permissive=1

Deleting the /var/run/boltd directory and starting the bolt service triggers the alerts.

Comment 2 Christian Kellner 2018-10-04 13:13:10 UTC

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


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