Created attachment 333400 [details] nginx init fix There is a change in the latested nginx ebuild that stops using keepdir to keep the /var/tmp/nginx/{client,proxy,fastcgi,scgi,uwsgi} directories, and create it within the init script. Problem: checkpath does not create recursively the directories. But /var/tmp/nginx/ is missing, so creating the {client,proxy,fastcgi,scgi,uwsgi} subdirectories fails (and nginx fails to start): # /etc/init.d/nginx restart * checkpath: mkdir: No such file or directory * checkpath: mkdir: No such file or directory * checkpath: mkdir: No such file or directory * checkpath: mkdir: No such file or directory * checkpath: mkdir: No such file or directory * Checking nginx' configuration ... nginx: [emerg] mkdir() "/var/tmp/nginx/client" failed (2: No such file or directory) nginx: configuration file /etc/nginx/nginx.conf test failed nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: [emerg] mkdir() "/var/tmp/nginx/client" failed (2: No such file or directory) nginx: configuration file /etc/nginx/nginx.conf test failed * failed, please correct errors above [ !! ] * ERROR: nginx failed to stop The fix is quite simple, just adding one checkpath (see attached patch).
Got the same issue after upgrade.
grr, stupid checkpath ... fixed, thanks!