View Issue Details

IDProjectCategoryView StatusLast Update
0015842CentOS-7selinux-policypublic2019-02-18 14:32
Reporterkablen123 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015842: SELinux is preventing /usr/bin/journalctl from using the 'setrlimit' accesses on a process.
DescriptionDescription of problem:
SELinux is preventing /usr/bin/journalctl from using the 'setrlimit' accesses on a process.

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

If you believe that journalctl should be allowed setrlimit access on processes labeled psad_t 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 'journalctl' --raw | audit2allow -M my-journalctl
# semodule -i my-journalctl.pp

Additional Information:
Source Context system_u:system_r:psad_t:s0
Target Context system_u:system_r:psad_t:s0
Target Objects Unknown [ process ]
Source journalctl
Source Path /usr/bin/journalctl
Port <Unknown>
Host (removed)
Source RPM Packages systemd-219-62.el7_6.3.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-229.el7_6.9.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-957.5.1.el7.x86_64 #1 SMP
                              Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64
Alert Count 1
First Seen 2019-02-18 09:30:09 EST
Last Seen 2019-02-18 09:30:09 EST
Local ID 0232836b-1542-4113-9be6-1d589d5b8338

Raw Audit Messages
type=AVC msg=audit(1550500209.238:199): avc: denied { setrlimit } for pid=18487 comm="journalctl" scontext=system_u:system_r:psad_t:s0 tcontext=system_u:system_r:psad_t:s0 tclass=process permissive=0


type=SYSCALL msg=audit(1550500209.238:199): arch=x86_64 syscall=setrlimit success=no exit=EACCES a0=7 a1=7ffc9142c2c0 a2=0 a3=8 items=0 ppid=18486 pid=18487 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=journalctl exe=/usr/bin/journalctl subj=system_u:system_r:psad_t:s0 key=(null)

Hash: journalctl,psad_t,psad_t,process,setrlimit

Version-Release number of selected component:
selinux-policy-3.13.1-229.el7_6.9.noarch
Additional Informationreporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-957.5.1.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.
abrt_hash37cd329eecb5c10ab1611cb70e0945a97944ffcc3fc9f9eddffc9d77836914e4
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-02-18 14:32 kablen123 New Issue