/etc read only for apache2/php-fpm

Hello

I used SuSE/openSuSE for the last 24 years.
Know I run a OpenSuSE Leap 15.5.

I have a php script runing over apache2 for the last 20 years which
generates vhost entries in /etc/apache2/my_vhosts.
That worked the last years.

on 15.5 I disabled apparmor und unload the profiles to be sure that it is not coming from that.

I can for example write over apache2 with php-fpm to /home/test directory
/test or some where else.

When writing anywhere under /etc the strace shows read only filesystem.
(Directory permissions are set to wwwrun.www so this is not the problem)

I’m not able to write to /etc from a apache2 process.
What has changed ?

Best Regards
Torsten

Systemd service hardening.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.