2012-09-18 01:20:06 |
pdf |
description |
Since the following change:
--- a/debian/nfs-kernel-server.init 2012-09-18 11:03:38.389491693 +1000
+++ b/debian/nfs-kernel-server.init 2012-09-18 10:54:36.317492001 +1000
@@ -61,7 +61,13 @@
# See how we were called.
case "$1" in
start)
- if [ -f /etc/exports ]
+ export_files="/etc/exports"
+ for file in /etc/exports.d/*.exports ; do
+ if [ -f "$file" ]; then
+ export_files="$export_files $file"
+ fi
+ done
+ if [ -f /etc/exports ] && grep -q '^[[:space:]]*[^#]*/' $export_files
then
do_modprobe nfsd
It is no longer possible to start nfsd without content in /etc/exports, making it impossible to create temporary exports (ie - using exportfs) if the host does not have permanent exports. This also breaks other alternative management tools that eschew /etc/exports, like ZFS.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: nfs-kernel-server 1:1.2.6-3ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-14.19-generic 3.5.3
Uname: Linux 3.5.0-14-generic x86_64
NonfreeKernelModules: zfs zcommon znvpair zavl zunicode
ApportVersion: 2.5.2-0ubuntu1
Architecture: amd64
Date: Tue Sep 18 10:47:08 2012
InstallationMedia: Ubuntu-Server 12.10 "Quantal Quetzal" - Alpha amd64 (20120903.2)
ProcEnviron:
LANGUAGE=en_AU:en
TERM=xterm-256color
PATH=(custom, no user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
SourcePackage: nfs-utils
UpgradeStatus: No upgrade log present (probably fresh install) |
Since the following change:
--- a/debian/nfs-kernel-server.init 2012-09-18 11:03:38.389491693 +1000
+++ b/debian/nfs-kernel-server.init 2012-09-18 10:54:36.317492001 +1000
@@ -61,7 +61,13 @@
# See how we were called.
case "$1" in
start)
- if [ -f /etc/exports ]
+ export_files="/etc/exports"
+ for file in /etc/exports.d/*.exports ; do
+ if [ -f "$file" ]; then
+ export_files="$export_files $file"
+ fi
+ done
+ if [ -f /etc/exports ] && grep -q '^[[:space:]]*[^#]*/' $export_files
then
do_modprobe nfsd
It is no longer possible to start nfsd without content in /etc/exports (or /etc/exports.d/*), making it impossible to create temporary exports (ie - using exportfs) if the host does not have permanent exports. This also breaks other alternative management tools that eschew /etc/exports, like ZFS.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: nfs-kernel-server 1:1.2.6-3ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-14.19-generic 3.5.3
Uname: Linux 3.5.0-14-generic x86_64
NonfreeKernelModules: zfs zcommon znvpair zavl zunicode
ApportVersion: 2.5.2-0ubuntu1
Architecture: amd64
Date: Tue Sep 18 10:47:08 2012
InstallationMedia: Ubuntu-Server 12.10 "Quantal Quetzal" - Alpha amd64 (20120903.2)
ProcEnviron:
LANGUAGE=en_AU:en
TERM=xterm-256color
PATH=(custom, no user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
SourcePackage: nfs-utils
UpgradeStatus: No upgrade log present (probably fresh install) |
|