[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#725194: nfs-kernel-server: fails to start if exports file is empty and you rule exports via exportfs(like in HA setups)



Package: nfs-kernel-server
Version: 1:1.2.6-4
Severity: important

Dear Maintainer,

This problem is similar to the http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676604 and occures
in the case you want to control your exports dynamically, via exportfs.

One of such scenarios is HA NFS server(with DRBD+pacemaker+corosync) when NFS server runs in a hot
stand-by mode and exports is added dynamically on one of the two servers, which is active ATM.

This approach worked fine in Debain squeeze, but since adding of additional constrain in the
nfs-kernel-server init.d script doesn't work anymore.

NFS server simply doesn't start and hence there is no way to add export line via exportfs command.

I'd expect to have ability to start NFS server even with the empty exports and let me shoot my foot.

ATM I've worked around the problem by adding useless export line like:

/               127.0.0.0/8(ro,wdelay,insecure,root_squash,all_squash,no_subtree_check)

But that shouldn't be necessary.

Please, relax or remove checks for exports or at least add knob to the defauls file that would
let to ommit it.

With best regards,
Timur Bakeyev.

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10-0.bpo.2-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: