diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-04-08 02:24:46 +0200 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-04-08 02:24:46 +0200 |
| commit | 661f40594b1d1684e14ba82fb3d8143eba205366 (patch) | |
| tree | de314280cf7f3a50ffe6d48e83e11744bfcefcb5 | |
| parent | f3eab6fd8f3db8f53c5f96257ad9e8208e6b40c5 (diff) | |
patches/run.patch: Fix utmp database creation, and thus w command.
| -rw-r--r-- | debian/changelog | 1 | ||||
| -rw-r--r-- | debian/patches/run.patch | 3 |
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 |
