You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But NGINX_HOME_TMP isn't defined anywhere. So, in postinst, it just chmods the root directory, making al users except root unable to use the filesystem. This effectively breaks the entire system and is hard to investigate and find out what the fuck happened.
Please fix.
The text was updated successfully, but these errors were encountered:
I just fixed that by backporting more things from in-tree ebuild back to that.
Actually, I unhappy with both in-tree ebuild's calling raw "chown" and "su" without wrappers in postinst and moving the stuff into /var/lib, but I considered that keeping that fix may be needed for somebody who made last upgrade few years ago). Although, My fault is in that I forgot to replace exactly that condition of NGINX_HOME_TMP with proper paths that time.
Anyway, now I merged all the things to /var/lib/nginx, like in in-tree ebuild and it should work ok.
nginx postinst phase contains the following string when updating from (as i understand) <1.4.1-r2:
But NGINX_HOME_TMP isn't defined anywhere. So, in postinst, it just chmods the root directory, making al users except root unable to use the filesystem. This effectively breaks the entire system and is hard to investigate and find out what the fuck happened.
Please fix.
The text was updated successfully, but these errors were encountered: