summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rwxr-xr-xdebian/local/setup-translators8
2 files changed, 8 insertions, 5 deletions
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 .