Arch Linux

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#30051 - [apache] use tmpfiles.d instead of hack in rc.d

Attached to Project: Arch Linux
Opened by Sébastien Luttringer (seblu) - Monday, 28 May 2012, 18:25 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 15 October 2012, 04:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

Current apache server create /var/run/httpd when rc.d is started.

stat_busy "Starting Apache Web Server"
[ ! -d /var/run/httpd ] && install -d /var/run/httpd


tmpfiles.d seems to be a better solution instead of this rc.d hack.
It allow httpd to be started manually without failing and systemd users would works too.

Just add a file in /usr/lib/tmpfile.d/http.conf with one line:
d /run/httpd 0750 http http
This task depends upon

Closed by  Gaetan Bisson (vesath)
Monday, 15 October 2012, 04:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  since apache-2.2.22-4
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 08 June 2012, 22:27 GMT
Now this package can not be installed, since conflicts with [filesystem].
Comment by Matthew Iversen (Ivoz) - Tuesday, 28 August 2012, 21:56 GMT

Loading...