Ubuntu server /var/run not persistent
Asked by
Andy Ruddock
Using Ubuntu 8.10 server, /var/run and /var/log are mounted on a tempfs, which means they're cleared out on a reboot.
I installed the sks keyserver which keeps pid files in /var/run/sks (a directory owned by debian-sks), but this directory is not recreated on a reboot.
(As a workaround I create the /var/run/sks directory & set its ownership in the sks init script (/etc/init.d/sks), but I imagine this is not a problem unique to this service.)
What's the recommended method for creating directories under /var/run (or /var/log) and making them persistent across reboots?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Florian Diesch
- Solved:
- Last query:
- Last reply:
To post a message you must log in.