summaryrefslogtreecommitdiff
path: root/debian/patches/run.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/run.patch')
-rw-r--r--debian/patches/run.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/run.patch b/debian/patches/run.patch
new file mode 100644
index 00000000..50f584fb
--- /dev/null
+++ b/debian/patches/run.patch
@@ -0,0 +1,18 @@
+Index: hurd/daemons/rc.sh
+===================================================================
+--- hurd.orig/daemons/rc.sh 2011-12-06 02:51:32.000000000 +0100
++++ hurd/daemons/rc.sh 2011-12-06 02:52:16.000000000 +0100
+@@ -98,6 +98,13 @@
+ chgrp utmp utmp
+ fi; })
+ fi
++
++# until we properly start /etc/rcS.d
++rm -fr /run/*
++mkdir -p /run/lock /run/shm
++chmod 1777 /run/lock /run/shm
++: > /run/utmp
++
+ echo done
+
+ # This file must exist for e2fsck to work. XXX