Comment 2 for bug 1353734

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for submitting this bug. The problem is due to /run/shm not existing in the cloud images.

The ubuntu-cloud image fixes the /dev/shm by doing:

    if [ ! -L $rootfs/dev/shm ] && [ -d $rootfs/run/shm ] && [ -e $rootfs/dev/shm ]; then
        mv $rootfs/dev/shm $rootfs/dev/shm.bak
        ln -s /run/shm $rootfs/dev/shm
    fi

The second test fails because $rootfs/run/shm does not exist.

Since /run/shm will be created at runtime, I see no reason not to drop the second part
of the test. I'll suggest that to the list - there may be reasons I'm not considering.