Hello Everyone!
To prevent unneccessary read/write cycles of my system, I would like to mount /var/log into a ramdisk.
Finally I accomplished that without letting the start of sshd failing and keeping me out of my own system.
But when I write the line concerning "/var/log" into my fstab as shown below, then my httpd (apache installed with php5 to run a dokuwiki) fails to start.
What am I doing wrong? what mount options did I forget? I tried so many options of mount man page and so many I searched on the internet.
I even tried the GID und UID 33 of http.
$this->bbcode_second_pass_code('', '
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mmcblk0p1 /boot vfat defaults 0 0
tmpfs /var/tmp tmpfs user,rw,size=50M 0 0
')
output of "systemctl status httpd -l":
$this->bbcode_second_pass_code('', '
* httpd.service - Apache Web Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2015-07-24 18:36:51 UTC; 1min 6s ago
Process: 235 ExecStart=/usr/bin/apachectl start (code=exited, status=1/FAILURE)
')
Thank You for your help!
PS: System is a Raspberry Pi with Arch Linux 4.0.8-3