From 71881d10bb5c4f6b70f36712068a248c0dffbd83 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 18 Aug 2011 01:46:48 +0200 Subject: create /run/shm and /run/lock, to fix locking until we properly start rcS.d scripts. --- debian/changelog | 5 ++++- debian/local/setup-translators | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 06bb0487..1a412ee7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,9 @@ hurd (20110519-4) UNRELEASED; urgency=low - * local/setup-translators: Restore /dev/shm creation. + * local/setup-translators: + - Restore /dev/shm creation. + - create /run/shm and /run/lock, to fix locking until we properly start + rcS.d scripts. * patches/libdiskfs_sync.patch: New patch to fix sync at shutdown. * local/setup-translators: Set up entropy socket in /var/run instead of /tmp, as the latter is world-writable. diff --git a/debian/local/setup-translators b/debian/local/setup-translators index 6bd2f1d1..57dd676c 100755 --- a/debian/local/setup-translators +++ b/debian/local/setup-translators @@ -151,11 +151,11 @@ fi st kbd 'symlink cons/kbd' kbd st mouse 'symlink cons/mouse' mouse +st shm 'symlink /run/shm' shm -if [ ! -e shm ]; then - mkdir shm - chmod 1777 shm -fi +# until we properly start /etc/rcS.d +mkdir -p /run/lock /run/shm +chmod 1777 /run/lock /run/shm echo . -- cgit v1.2.3