In order to reduce energy consumption and noise to the minimum, I mounted /var/log on a tmpfs. As a result, /var/log is empty when the machine is booted. Some services fail to start or misbehave because of this. Adding some code to local.start to recreate some directories on boot fixes the problem. It might be a good idea to have a feature in Gentoo to store/restore /var/log on shutdown/boot, or have a policy on init scripts to create the required directories in /var/log every time the service is started. Reproducible: Always Steps to Reproduce: 1. Add a mount for tmpfs on /var/log in /etc/fstab 2. Reboot 3. Note services breaking Actual Results: Services fail to start or misbehave. On my machine, apache2, qmail, privoxy and tor were affected. Expected Results: All services should start normally.
Nope; /var/log is not supposed to be volatile and wiped on reboots; ditto for /var/run (Bug 177736 and others). That's why ebuilds keepdir the directories. *** This bug has been marked as a duplicate of bug 177736 ***