Re: [gentoo-dev] [RFC PATCH 06/19] www-servers/nginx: add nginx-r2.service

2024-07-21 Thread Zurab Kvachadze
I apologise in advance for the formatting, I am writing this from my phone. On July 20, 2024 9:07:03 PM UTC, Michael Orlitzky wrote: > [...] > Rather than maintain the list twice (once for checkpath, and once for > tmpfiles), you can let OpenRC use the tmpfiles entry too. This should > happen by

Re: [gentoo-dev] [RFC PATCH 06/19] www-servers/nginx: add nginx-r2.service

2024-07-20 Thread Michael Orlitzky
On Sat, 2024-07-20 at 20:25 +0300, Alexander Tsoy wrote: > > No, their names are predefined. For example with the current in-tree > nginx: > > $ sudo ls -1 /var/lib/nginx/tmp/ > client > fastcgi > proxy > scgi > uwsgi Ok, thanks. I see them now in the eclass (for the list: they're being grepped

Re: [gentoo-dev] [RFC PATCH 06/19] www-servers/nginx: add nginx-r2.service

2024-07-20 Thread Alexander Tsoy
В Сб, 20/07/2024 в 20:25 +0300, Alexander Tsoy пишет: > В Сб, 20/07/2024 в 13:15 -0400, Michael Orlitzky пишет: > > But so long as we're talking about it: what do the file names under > > /var/tmp/nginx look like? Hopefully they're random. Otherwise we > > have > > to worry about the bad guy pre-cr

Re: [gentoo-dev] [RFC PATCH 06/19] www-servers/nginx: add nginx-r2.service

2024-07-20 Thread Alexander Tsoy
В Сб, 20/07/2024 в 13:15 -0400, Michael Orlitzky пишет: > But so long as we're talking about it: what do the file names under > /var/tmp/nginx look like? Hopefully they're random. Otherwise we have > to worry about the bad guy pre-creating not only the directory, but > also the files inside it. No

Re: [gentoo-dev] [RFC PATCH 06/19] www-servers/nginx: add nginx-r2.service

2024-07-20 Thread Michael Orlitzky
On Sat, 2024-07-20 at 19:58 +0300, Alexander Tsoy wrote: > > Please note that systemd-tmpfiles can remove the whole /var/tmp/nginx > directory if it and its contents are not touched for a long time. And > then reload of nginx might fail. So it is better to create this > directory via tmpfiles.d. >

Re: [gentoo-dev] [RFC PATCH 06/19] www-servers/nginx: add nginx-r2.service

2024-07-20 Thread Alexander Tsoy
В Ср, 17/07/2024 в 15:05 +0300, Zurab Kvachadze пишет: > This is the second revision of the systemd service file for NGINX. > > This commit removes redundant Exec{Stop,Reload} lines that restate > the > systemd defaults and changes the ExecStartPre directive from "nginx - > t" > (testing the NGINX

[gentoo-dev] [RFC PATCH 06/19] www-servers/nginx: add nginx-r2.service

2024-07-17 Thread Zurab Kvachadze
This is the second revision of the systemd service file for NGINX. This commit removes redundant Exec{Stop,Reload} lines that restate the systemd defaults and changes the ExecStartPre directive from "nginx -t" (testing the NGINX configuration that is done anyway by the main process, bug 481456) to