[Pkg-sysvinit-devel] Bug#683103: mkdir: cannot create directory `/run/shm': File exists

Steve Langasek vorlon at debian.org
Sun Jul 29 05:45:59 UTC 2012


Roger,

> Actually, just seen it myself, and I have:

> % ls -ld /dev /dev/shm /run /run/shm
> drwxr-xr-x 13 root root 3680 Jul 28 22:57 /dev
> lrwxrwxrwx  1 root root    8 Jul 28 11:45 /dev/shm -> /run/shm
> drwxr-xr-x 21 root root  840 Jul 28 22:57 /run
> drwxrwxrwt  2 root root   40 Jul 28 11:45 /run/shm

The code in the maintainer script calls 'mkdir -p /run/shm', which should
succeed if the directory already exists.  Are you really seeing the same
error?

This whole section should probably be guarded with a version check, since it
should only be applied as a one-time upgrade fix-up.  But that doesn't get
to the root of why this should ever have failed on upgrade to begin with.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20120728/f422d200/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list