Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#33582 - [nginx] Unable to run as non-root, 'proxy_temp_path' directive doesn't take effect
Attached to Project:
Community Packages
Opened by Alain Kalker (ackalker) - Saturday, 26 January 2013, 20:09 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 30 January 2013, 09:02 GMT
Opened by Alain Kalker (ackalker) - Saturday, 26 January 2013, 20:09 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 30 January 2013, 09:02 GMT
|
DetailsDescription:
For testing Web apps, and running a personal webserver, I want to start nginx as a regular user (i.e. not as root). In order to do this, I use an nginx.conf with appropriate directives to override the compiled-in defaults. With the current nginx package, this doesn't work, I get the error: [...] [emerg] 4495#0: mkdir() "/var/lib/nginx/proxy" failed (13: Permission denied) After some research, I found out that commenting out the line "--add-module=/usr/lib/passenger/ext/nginx" in nginx' PKGBUILD and rebuilding/reinstalling the package makes the error go away, and nginx starts normally. I'm not entirely sure whether the bug is with nginx or with Passenger, but I'm reporting it here because it affects the use of nginx, even when the passenger package is not installed. Please feel free to reassign, but do consider that the nginx passenger module is not part of the upstream nginx source. IMHO it would be better that such a custom configuration be catered for in some other way, perhaps in the AUR. Additional info: * package version(s) nginx-1.2.6-1 * config and/or log files etc. See attached tarball Steps to reproduce: Unpack the attached tarball somewhere, then execute: $ cd nginx-test $ ./app.sh This should start nginx, serving a tiny "Hello world" website on http://localhost:8000/ (Ignore the "nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)" message, nginx is just plain noisy, a different issue. Now rebuild nginx without the Passenger support, and nginx should start normally. |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Wednesday, 30 January 2013, 09:02 GMT
Reason for closing: Deferred
Additional comments about closing: nginx 1.2.6-2
Wednesday, 30 January 2013, 09:02 GMT
Reason for closing: Deferred
Additional comments about closing: nginx 1.2.6-2
nginx-test.tar.gz
* package version(s)
nginx 1.2.6-1
passenger 3.0.17-2