summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rw-r--r--debian/patches/run.patch3
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 069ab949..fe0237f1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ hurd (20120222-2) UNRELEASED; urgency=low
- Set hurd-udeb XC-Package-Type to udeb.
* patches/libexec.patch: Switch to gnu-mach-color TERM.
* hurd-console.default: Document the -f option of the vga module.
+ * patches/run.patch: Fix utmp database creation, and thus w command.
-- Samuel Thibault <sthibault@debian.org> Fri, 06 Apr 2012 19:07:15 +0200
diff --git a/debian/patches/run.patch b/debian/patches/run.patch
index 6c9dfa60..50f584fb 100644
--- a/debian/patches/run.patch
+++ b/debian/patches/run.patch
@@ -2,7 +2,7 @@ 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,12 @@
+@@ -98,6 +98,13 @@
chgrp utmp utmp
fi; })
fi
@@ -11,6 +11,7 @@ Index: hurd/daemons/rc.sh
+rm -fr /run/*
+mkdir -p /run/lock /run/shm
+chmod 1777 /run/lock /run/shm
++: > /run/utmp
+
echo done