On Sat, Jul 28, 2012 at 11:12:52PM +0100, Roger Leigh wrote: > On Sat, Jul 28, 2012 at 09:42:53PM +0200, Cyril Brulebois wrote: > > Package: initscripts > > Version: 2.88dsf-13.1+squeeze1 > > Severity: serious > > Justification: fails to upgrade > > > > Hi, > > > > during the sid chroot dist-upgrade on harris.debian.org, initscripts > > failed to upgrade due to: > > | Setting up initscripts (2.88dsf-29) ... > > | mkdir: cannot create directory `/run/shm': File exists > > | dpkg: error processing initscripts (--configure): > > | subprocess installed post-installation script returned error exit status > > 1 > > | Errors were encountered while processing: > > | initscripts > > | E: Sub-process /usr/bin/dpkg returned an error code (1) > > > > Not fun… > > Hmm, that's due to vorlon's recent change, I think. Is this inside > a chroot? If so, it's this logic failing: > > # Symlink /dev/shm from /run/shm > # Note that it's really /var/run/shm > if mountpoint -q /dev && mountpoint -q /dev/shm; then > compat_link /dev/shm /run/shm > else > [ -d /run/shm ] || mkdir -p /run/shm > mountpoint -q /dev || compat_link /run/shm /dev/shm > fi > > What is the output of > % ls -ld /dev /dev/shm /run /run/shm > on this system?
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 So that's all set up correctly. Unless my shell-fu is missing something tonight, I'm not sure what's causing the mkdir to be run here, given that the directory already exists. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools `- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org