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#41041 - [nginx] Add systemd-tmpfiles file for creating an log directory if /var/log is tmpfs
Attached to Project:
Arch Linux
Opened by Torben Andresen (tapsiturtle) - Tuesday, 01 July 2014, 09:31 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 01 July 2014, 13:53 GMT
Opened by Torben Andresen (tapsiturtle) - Tuesday, 01 July 2014, 09:31 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 01 July 2014, 13:53 GMT
|
DetailsDescription: I have /var/log as a tmpfs filesystem. Nginx puts their logs in /var/log/nginx which not exist after reboot. Could you please add an additional file to the nginx package? It should then created in /etc/tmpfiles.d and called nginx.conf with the content:
d /var/log/nginx 0755 root root - This creates the needed directory on every boot if not exist and nginx starts wihout an failure. |
This task depends upon
Closed by Dave Reisner (falconindy)
Tuesday, 01 July 2014, 13:53 GMT
Reason for closing: Won't implement
Additional comments about closing: non-standard setups require non-standard changes.
Tuesday, 01 July 2014, 13:53 GMT
Reason for closing: Won't implement
Additional comments about closing: non-standard setups require non-standard changes.
Comment by Dave Reisner (falconindy) -
Tuesday, 01 July 2014, 11:53 GMT
/var/log on tmpfs is entirely non-standard. I think you really should just add your own tmpfiles entry for this.
Comment by Doug Newgard (Scimmia) -
Tuesday, 01 July 2014, 12:55 GMT
I agree with Dave, this doesn't make sense. You can change things from the defaults, but then you deal with reconfiguring things to make that work, not the package.
Comment by Torben Andresen (tapsiturtle) -
Tuesday, 01 July 2014, 13:48 GMT
Ok, i understand. Please close this Ticket.