Bug 1674118

Summary: SELinux is preventing /usr/lib/systemd/systemd-journald from using the 'signull' accesses on a process.
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dwalsh, lvrabec, mgrepl, plautrba, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:9a50011e5a0b4b07c3d32bacabd231aa327997b7cbecff1a7e5818382a7a9379;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-11 12:16:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***