Re: [CentOS] tmpfs / selinux issue

2020-07-28 Thread Leon Fauster via CentOS
Am 26.07.20 um 17:23 schrieb Leon Fauster: Am 26.07.20 um 12:23 schrieb Strahil Nikolov: На 25 юли 2020 г. 14:20:19 GMT+03:00, Leon Fauster via CentOS написа: Hi all, I have some AVC in the logs and wonder how to resolve this: Under EL8 (enforcing SElinux) I have /var/lib/php/session mount

Re: [CentOS] tmpfs / selinux issue

2020-07-27 Thread Jonathan Billings
On Jul 25, 2020, at 07:20, Leon Fauster via CentOS wrote: > > I wonder about the "remount" and the comm="ostnamed". > > I do not found any ostnamed application, the closest is hostnamed. You don’t happen to have snapd installed, do you? I can see several bugs posted related to snapd and selin

Re: [CentOS] tmpfs / selinux issue

2020-07-26 Thread Leon Fauster via CentOS
Am 26.07.20 um 12:23 schrieb Strahil Nikolov: На 25 юли 2020 г. 14:20:19 GMT+03:00, Leon Fauster via CentOS написа: Hi all, I have some AVC in the logs and wonder how to resolve this: Under EL8 (enforcing SElinux) I have /var/lib/php/session mounted as tmpfs. # tail -1 /etc/fstab tmpfs /

Re: [CentOS] tmpfs / selinux issue

2020-07-26 Thread Strahil Nikolov via CentOS
Hi Leon, have you tried mounting with 'httpd_sys_rw_content_t' instead of 'httpd_var_run_t' ? Best Regards, Strahil Nikolov На 25 юли 2020 г. 14:20:19 GMT+03:00, Leon Fauster via CentOS написа: >Hi all, > >I have some AVC in the logs and wonder how to resolve this: Under >EL8 (enforcing S

[CentOS] tmpfs / selinux issue

2020-07-25 Thread Leon Fauster via CentOS
Hi all, I have some AVC in the logs and wonder how to resolve this: Under EL8 (enforcing SElinux) I have /var/lib/php/session mounted as tmpfs. # tail -1 /etc/fstab tmpfs /var/lib/php/session tmpfs defaults,noatime,mode=770,gid=apache,size=16777216,context="system_u:object_r:httpd_var_run_t: