This specific problem seems to have been introduced in Ubuntu in 2011 with the move to the /run filesystem.[1] Unless /etc/init/mounted-dev.conf is run the symlink of /dev/shm, created in that script, will not be created.
The reason /dev/shm is expected is because `ecryptfs-mount-private` executes mount.ecryptfs_private, which is built to expect /dev/shm to exist.[2]
This specific problem seems to have been introduced in Ubuntu in 2011 with the move to the /run filesystem.[1] Unless /etc/init/ mounted- dev.conf is run the symlink of /dev/shm, created in that script, will not be created.
The reason /dev/shm is expected is because `ecryptfs- mount-private` executes mount.ecryptfs_ private, which is built to expect /dev/shm to exist.[2]
[1]: http:// metadata. ftp-master. debian. org/changelogs/ main/m/ mountall/ oldstable_ changelog bazaar. launchpad. net/~ecryptfs/ ecryptfs/ trunk/view/ head:/src/ utils/mount. ecryptfs_ private. c#L55
[2]: http://