From ef37f50fe2ba45b01b1b3c0bcfe5db4c49e6cec2 Mon Sep 17 00:00:00 2001
From: "Steinar H. Gunderson" <sesse@debian.org>
Date: Wed, 3 May 2006 21:27:18 +0200
Subject: [PATCH] Imported Debian patch 1.0.7-12

---
 debian/changelog           | 6 ++++++
 debian/nfs-common.postinst | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a1868db..e0da231 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+nfs-utils (1:1.0.7-12) unstable; urgency=low
+
+  * Move the home directory again (by request), this time to /var/lib/nfs.
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Wed,  3 May 2006 21:27:18 +0200
+
 nfs-utils (1:1.0.7-11) unstable; urgency=low
 
   * When creating statd user, create it with a home directory of /nonexistant;
diff --git a/debian/nfs-common.postinst b/debian/nfs-common.postinst
index 62a0ac2..21d47dd 100755
--- a/debian/nfs-common.postinst
+++ b/debian/nfs-common.postinst
@@ -7,7 +7,7 @@ case "$1" in
 	update-rc.d nfs-common defaults 21 79 >/dev/null
 
 	if ! getent passwd statd >/dev/null; then
-	    adduser --system --home /nonexistent --no-create-home statd
+	    adduser --system --home /var/lib/nfs --no-create-home statd
 	fi
 	if [ "$2" = "" ] || dpkg --compare-versions "$2" lt 1.0.7-10; then
 	    chown statd /var/lib/nfs/sm \
-- 
2.39.5