Directories in a pristine trusty VM after debootstrapping utopic and
vivid:

$ ls -ld /{dev,run}/shm /tmp/{utopic,vivid}/{dev,run}/shm
ls: cannot access /tmp/vivid/run/shm: No such file or directory
lrwxrwxrwx 1 root root    8 Dec 18 18:37 /dev/shm -> /run/shm
drwxrwxrwt 2 root root   40 Dec 18 18:37 /run/shm
lrwxrwxrwx 1 root root    8 Dec 18 18:49 /tmp/utopic/dev/shm -> /run/shm
drwxr-xr-x 2 root root 4096 Dec 18 18:49 /tmp/utopic/run/shm
drwxr-xr-x 2 root root 4096 Dec 18 18:50 /tmp/vivid/dev/shm

So I suppose pbuilder takes care of /run/shm by mounting a tmpfs on it
or bind-mounting it from the host. As wrong as
https://wiki.debian.org/ReleaseGoals/RunDirectory is (and it seems the
Debian sysvinit maintainers even have moved away from it, cf. the
removed postinst code), it seems we need to go back there at least half
way, until pbuilder etc. treat /dev/shm/ as the primary thing, and stop
using /run/shm.

So either in vivid we need to create /run/shm/ again and the /dev/shm
symlink to it, or at least make /dev/shm/ 1777.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1399772

Title:
  /dev/shm is not writable inside vivid chroot on trusty host

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1399772/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to