Bug 1674118 - SELinux is preventing /usr/lib/systemd/systemd-journald from using the 'signull' accesses on a process.
Summary: SELinux is preventing /usr/lib/systemd/systemd-journald from using the 'signu...
Keywords:
Status: CLOSED DUPLICATE of bug 1674109
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9a50011e5a0b4b07c3d32bacabd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-09 09:30 UTC by Nicolas Mailhot
Modified: 2019-02-11 12:16 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-02-11 12:16:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nicolas Mailhot 2019-02-09 09:30:07 UTC
Description of problem:
SELinux is preventing /usr/lib/systemd/systemd-journald from using the 'signull' accesses on a process.

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

Si vous pensez que systemd-journald devrait être autorisé à accéder signull sur les processus étiquetés alsa_t par défaut.
Then vous devriez rapporter ceci en tant qu'anomalie.
Vous pouvez générer un module de stratégie local pour autoriser cet accès.
Do
autoriser cet accès pour le moment en exécutant :
# ausearch -c "systemd-journal" --raw | audit2allow -M my-systemdjournal
# semodule -X 300 -i my-systemdjournal.pp

Additional Information:
Source Context                system_u:system_r:syslogd_t:s0
Target Context                system_u:system_r:alsa_t:s0
Target Objects                Inconnu [ process ]
Source                        systemd-journal
Source Path                   /usr/lib/systemd/systemd-journald
Port                          <Inconnu>
Host                          (removed)
Source RPM Packages           systemd-241~rc2-1.fc30.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.3-20.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 5.0.0-0.rc5.git0.1.fc30.x86_64 #1
                              SMP Mon Feb 4 15:03:14 UTC 2019 x86_64 x86_64
Alert Count                   8
First Seen                    2019-02-09 10:23:21 CET
Last Seen                     2019-02-09 10:24:23 CET
Local ID                      31d8e186-06c1-4201-85aa-4e26dc5e1e31

Raw Audit Messages
type=AVC msg=audit(1549704263.506:374): avc:  denied  { signull } for  pid=638 comm="systemd-journal" scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:system_r:alsa_t:s0 tclass=process permissive=1


type=SYSCALL msg=audit(1549704263.506:374): arch=x86_64 syscall=kill success=yes exit=0 a0=395 a1=0 a2=ffffffff a3=22672 items=0 ppid=1 pid=638 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-journal exe=/usr/lib/systemd/systemd-journald subj=system_u:system_r:syslogd_t:s0 key=(null)

Hash: systemd-journal,syslogd_t,alsa_t,process,signull

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

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.0
hashmarkername: setroubleshoot
kernel:         5.0.0-0.rc5.git0.1.fc30.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2019-02-11 12:16:38 UTC

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


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