[arch-general] Apache, systemd-tmpfiles
Hi, So today I as messing with my Raspberry Pi, and to avoid that the SD card have excessive writing I decided to turn /var/log into a tmpfs mount. After a reboot the httpd service stop running because the /var/log/httpd folder does not exist. So after a while I find the systemd-tmpfiles and the thing is the apache.conf in the /usr/lib/tmpfiles.d only creates the /run/httpd folder, after I add a new line to also create the /var/log/httpd the service start running again. So my question is, can this be considered a bug? should I create a bug report? No trees were harmed in the sending of this message; However, a large number of electrons were terribly inconvenienced. João Pires
Am 24.06.2013 23:10, schrieb João Pires:
So after a while I find the systemd-tmpfiles and the thing is the apache.conf in the /usr/lib/tmpfiles.d only creates the /run/httpd folder, after I add a new line to also create the /var/log/httpd the service start running again.
You should add your own modifications in /etc/tmpfiles.d - the ones in /usr/lib/tmpfiles.d/ are overwritten on updates.
So my question is, can this be considered a bug? should I create a bug report?
This is perfectly normal behaviour - your setup is rather unusual, so extra configuration files in /etc are normal.
participants (2)
-
João Pires
-
Thomas Bächler