Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Linux VM /var/run is lost?

$
0
0

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


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>