When I create a new VM:
- from an existing image
- by detaching an existing a disk, and using it for a new VM
Any directories that were created in /var/run/ are lost.
Is this a bug, or expected behavior when the VM initializes?
root@gem2:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
To reproduce:
mkdir /var/run/php5-fpm
touch /var/run/php5-fpm/foo
- Delete the VM
- Start a new VM using the same disk
ls -l /var/run/php5-fpm