Hide Forgot
Description of problem: systemd-logind is unable to access /dev/shm/PostgreSQL due to unable to read tmpfs by selinux,It is showing below error systemd-logind: Failed to stat() POSIX shared memory segment PostgreSQL.1804289383: Permission denied And in /var/log/audit/audit.log: type=AVC msg=audit(1453450858.765:5271): avc: denied { getattr } for pid=697 comm="systemd-logind" path="/dev/shm/PostgreSQL.1804289383" dev="tmpfs" ino=18249 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:initrc_state_t:s0 tclass=file Version-Release number of selected component (if applicable): Red Hat Enterprise Linux 7.2 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: systemd-logind is unable to stat POSIX memory segment getting permission denied Expected results: It should not get any error. Additional info:
Hi, Issue will fix from https://bugzilla.redhat.com/show_bug.cgi?id=1284588 in systemd-logind and workaround is set RemoveIPC=no in /etc/systemd/logind.conf. Now you can close this bug. Regards Mohit Agrawal
Regarding to comment 4, closing this issue as NOTABUG