summaryrefslogtreecommitdiff
path: root/debian/patches/run.patch
blob: 50f584fb1940cf8a773786dee5cc9c5b5b8f62c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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