gentoo/www-servers
Zurab Kvachadze 90988a3d0b
eclass/nginx.eclass: change /var/tmp -> /var/cache + use new tmpfiles
This commit changes of the default location of NGINX temporary files
from /var/tmp/nginx (world-writable) to /var/cache/nginx
(root-writable).

Additionally, this revbumps all www-servers/nginx
consumers of nginx.eclass to use the new nginx-r1.tmpfiles, where the
path is updated accordingly.

This fixes 962961 by specifying that the cache directory should only be
pruned on boot, i.e. tmpfiles (even with --remove option) will not
delete the temporary files of *running* NGINX.

Closes: https://bugs.gentoo.org/962961
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43823
Closes: https://github.com/gentoo/gentoo/pull/43823
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-03 05:51:33 +01:00
..
2025-09-02 20:00:14 +03:00
2025-09-29 18:54:34 -07:00
2025-09-02 20:00:14 +03:00
2025-09-02 20:00:14 +03:00
2025-09-15 11:55:49 +02:00
2025-09-02 20:00:14 +03:00
2025-09-28 11:06:24 +02:00