From 9a5812b2f70c7fca4e862d11b9f567339389c534 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 26 Sep 2007 17:50:40 +0200 Subject: [PATCH] Imported Debian patch 1.1.1~git-20070709-5 --- debian/changelog | 7 +++++++ debian/nfs-common.init | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 55c5c1e..8fc8dca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +nfs-utils (1:1.1.1~git-20070709-5) unstable; urgency=low + + * Fix totally broken export-detecting regex in the init script; patch by + Quentin Godfroy. (Closes: #444155) + + -- Steinar H. Gunderson Wed, 26 Sep 2007 17:50:40 +0200 + nfs-utils (1:1.1.1~git-20070709-4) unstable; urgency=low * Replaced libgssapi-dev as build-dependency by libgssglue-dev. diff --git a/debian/nfs-common.init b/debian/nfs-common.init index 80dce3e..2bfa59d 100644 --- a/debian/nfs-common.init +++ b/debian/nfs-common.init @@ -63,7 +63,7 @@ fi # condition in nfs-kernel-server's init script does, which has a value in # itself. # -if [ -f /etc/exports ] && grep -q '^ .*/' /etc/exports; then +if [ -f /etc/exports ] && grep -q '^[[:space:]]*[^#]*/' /etc/exports; then AUTO_NEED_IDMAPD=yes fi -- 2.39.2