Community Packages

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!
Tasklist

FS#38823 - [fcgiwrap] daemon not starting with lower privileges if started from systemd service

Attached to Project: Community Packages
Opened by georg (fordprefect) - Friday, 07 February 2014, 10:31 GMT
Last edited by Lukas Fleischer (lfleischer) - Wednesday, 09 July 2014, 20:01 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
after starting fcgiwrap.service it exits with code 0, but no process is spawned (or dies instantly).
logs (got via systemctl status) show following messages:
systemd[1]: Starting Simple CGI Server...
systemd[1]: Started Simple CGI Server.
fcgiwrap[28143]: Cannot get script name, are DOCUMENT_ROOT and SCRIPT_NAME (or SCRIPT_FILENAME) set and is the script executable?

also, the socket created by fcgiwrap.socket is owned by root:root and world writable. isnt this a security thread? shouldnt this be http:http 660 (if webserver runs as http user)?

Additional info:
* package version(s)
community/fcgiwrap 1.1.0-3
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Wednesday, 09 July 2014, 20:01 GMT
Reason for closing:  Upstream
Comment by georg (fordprefect) - Friday, 07 February 2014, 10:47 GMT
ok, more debugging found, that the socket needs to be in place at start of fcgiwrap. seems it isnt with the current service setup. could that be fixed?
Comment by Lukas Fleischer (lfleischer) - Thursday, 03 July 2014, 06:53 GMT
Could you report this upstream, please?

Loading...