View Issue Details

IDProjectCategoryView StatusLast Update
0015646CentOS-7selinux-policypublic2018-12-28 09:42
Reporterrchaleil 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015646: SELinux is preventing /usr/bin/loginctl from 'read' accesses on the directory journal.
DescriptionDescription of problem:
SELinux is preventing /usr/bin/loginctl from 'read' accesses on the directory journal.

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

If you believe that loginctl should be allowed read access on the journal directory 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 'systemd-loginct' --raw | audit2allow -M my-systemdloginct
# semodule -i my-systemdloginct.pp

Additional Information:
Source Context system_u:system_r:apmd_t:s0
Target Context system_u:object_r:syslogd_var_run_t:s0
Target Objects journal [ dir ]
Source systemd-loginct
Source Path /usr/bin/loginctl
Port <Unknown>
Host (removed)
Source RPM Packages systemd-219-57.el7_5.3.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-192.el7_5.6.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-862.14.4.el7.x86_64 #1 SMP
                              Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64
Alert Count 1
First Seen 2018-11-03 21:14:44 GMT
Last Seen 2018-11-03 21:14:44 GMT
Local ID 830855d8-439b-498b-bd94-127e8a8154c3

Raw Audit Messages
type=AVC msg=audit(1541279684.909:148): avc: denied { read } for pid=2375 comm="systemd-loginct" name="journal" dev="tmpfs" ino=9332 scontext=system_u:system_r:apmd_t:s0 tcontext=system_u:object_r:syslogd_var_run_t:s0 tclass=dir


type=SYSCALL msg=audit(1541279684.909:148): arch=x86_64 syscall=openat success=no exit=EACCES a0=ffffffffffffff9c a1=55d5a88fe4c0 a2=90800 a3=0 items=0 ppid=2367 pid=2375 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-loginct exe=/usr/bin/loginctl subj=system_u:system_r:apmd_t:s0 key=(null)

Hash: systemd-loginct,apmd_t,syslogd_var_run_t,dir,read

Version-Release number of selected component:
selinux-policy-3.13.1-192.el7_5.6.noarch
Additional Informationreporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-957.1.3.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.
abrt_hashd7a9cd296d8c6424d1e361acf4b0708d18c972b2cd22f7f5f9b04595a993632b
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-12-28 09:42 rchaleil New Issue