← Back to team overview

touch-packages team mailing list archive

[Bug 1389891] Re: error during upgrade: cannot create /dev/shm: file exists

 

> which ones of /run/shm or /dev/shm is the current default standard?

That's a bit undefined. The upstream glibc standard is /dev/shm/; Debian
introduced /run/shm/ a while ago essentially because "it looks nicer"
(https://wiki.debian.org/ReleaseGoals/RunDirectory), which led to all
this confusion and complicated postinst code to move directories and
symlinks back and forth :-(

So in essence, we either need /dev/shm -> /run/shm/, or /run/shm ->
/dev/shm/.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/1389891

Title:
  error during upgrade: cannot create /dev/shm: file exists

Status in “sysvinit” package in Ubuntu:
  Incomplete

Bug description:
  Setting up initscripts (2.88dsf-53.2ubuntu1) ...
  mkdir: cannot create directory '/dev/shm': File exists
  dpkg: error processing package initscripts (--configure):
   subprocess installed post-installation script returned error exit status 1

  Perhaps missing the -p option to exit without error if the directory
  already exists?

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: initscripts 2.88dsf-53.2ubuntu1
  Uname: Linux 3.16-3-686-pae i686
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: i386
  Date: Thu Nov  6 00:28:02 2014
  ProcEnviron:
   SHELL=/bin/bash
   TERM=xterm
   PATH=(custom, user)
   LANG=fi_FI.UTF-8
   LANGUAGE=fi:en
  SourcePackage: sysvinit
  UpgradeStatus: No upgrade log present (probably fresh install)

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


References