Bug 1769160 - SELinux is preventing systemd-tmpfile from using the 'setrlimit' accesses on a process.
Summary: SELinux is preventing systemd-tmpfile from using the 'setrlimit' accesses on ...
Keywords:
Status: CLOSED DUPLICATE of bug 1767394
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 31
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:0599895a821d905dd69cbeffeca...
: 1772115 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-06 01:57 UTC by Martin Wolf
Modified: 2019-11-13 17:10 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-11-06 08:25:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Martin Wolf 2019-11-06 01:57:19 UTC
Description of problem:
SELinux is preventing systemd-tmpfile from using the 'setrlimit' accesses on a process.

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

Wenn Sie denken, dass es systemd-tmpfile standardmäßig erlaubt sein sollte, setrlimit Zugriff auf systemd_tmpfiles_t Prozesse zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# ausearch -c 'systemd-tmpfile' --raw | audit2allow -M my-systemdtmpfile
# semodule -X 300 -i my-systemdtmpfile.pp

Additional Information:
Source Context                system_u:system_r:systemd_tmpfiles_t:s0
Target Context                system_u:system_r:systemd_tmpfiles_t:s0
Target Objects                Unbekannt [ process ]
Source                        systemd-tmpfile
Source Path                   systemd-tmpfile
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    <Unbekannt>
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.3.8-300.fc31.x86_64 #1 SMP Tue
                              Oct 29 14:28:41 UTC 2019 x86_64 x86_64
Alert Count                   1
First Seen                    2019-11-06 02:56:19 CET
Last Seen                     2019-11-06 02:56:19 CET
Local ID                      7ec0a280-cbef-420e-ab1c-dcb8b142a5b8

Raw Audit Messages
type=AVC msg=audit(1573005379.949:472): avc:  denied  { setrlimit } for  pid=14280 comm="systemd-tmpfile" scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=system_u:system_r:systemd_tmpfiles_t:s0 tclass=process permissive=0


Hash: systemd-tmpfile,systemd_tmpfiles_t,systemd_tmpfiles_t,process,setrlimit


Additional info:
component:      selinux-policy
reporter:       libreport-2.10.1
hashmarkername: setroubleshoot
kernel:         5.3.8-300.fc31.x86_64
type:           libreport

Comment 1 Zdenek Pytela 2019-11-06 08:25:08 UTC

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

Comment 2 Ivan Makfinsky 2019-11-13 17:10:30 UTC
*** Bug 1772115 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.