Package: php7.3-fpm Version: 7.3.2-3 Severity: normal Tags: patch If restorecon exists it will label the directory if SE Linux is running or do nothing otherwise. With this change (which has already been done for many other daemons) the correct label will be applied if SE Linux is running.
--- /etc/init.d/php7.3-fpm.orig 2019-02-23 08:53:37.748347859 +0000 +++ /etc/init.d/php7.3-fpm 2019-02-23 09:46:25.137734597 +0000 @@ -106,6 +106,7 @@ mkdir $V -p "$path" chmod $V "$mode" "$path" chown $V "$user:$group" "$path" + [ -x /sbin/restorecon ] && /sbin/restorecon "$path" fi done < "$TMPFILES" fi