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

Vincent Danjean vdanjean at debian.org
Tue Aug 7 07:18:39 UTC 2012


Package: initscripts
Version: 2.88dsf-29
Followup-For: Bug #683103

  Hi,

  I've just been hit by this bug in a schroot.
  The host has initscripts 2.88dsf-28 installed.
  When upgrading my sid schroot, I got the error:
mkdir: cannot create directory `/run/shm': File exists
dpkg: error processing initscripts (--configure):

  Looking at the situation on this system, I see:
atsina:/users/huron/danjean# mountpoint /dev
/dev is a mountpoint
atsina:/users/huron/danjean# mountpoint /dev/shm
mountpoint: /dev/shm: not a directory
atsina:/users/huron/danjean# ls -ld /dev/shm /run/shm
lrwxrwxrwx 1 root root 8 Jul  6 18:58 /dev/shm -> /run/shm
lrwxrwxrwx 1 root root 8 May 22  2011 /run/shm -> /dev/shm

  I do not know from where the circular symlink come from.
The schroot worked well (up-to-date) before I go to holidays, 3 weeks ago.

  I fix my problem in the schroot by using the following commands:
rm /dev/shm
mkdir /dev/shm
dpkg --pending --configure

  Regards,
    Vincent

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386 armel mipsel

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  coreutils       8.13-3.2
ii  debianutils     4.3.3
ii  libc6           2.13-35
ii  lsb-base        4.1+Debian7
ii  mount           2.20.1-5.1
ii  sysv-rc         2.88dsf-29
ii  sysvinit-utils  2.88dsf-29

Versions of packages initscripts recommends:
ii  e2fsprogs  1.42.5-1
ii  psmisc     22.19-1

initscripts suggests no packages.

-- no debconf information



More information about the Pkg-sysvinit-devel mailing list