Bug#1074359: nfs-kernel-server: Updating package unexports all filesystems
Control: tags -1 + moreinfo
Hi,
On Thu, Jun 27, 2024 at 11:37:44AM +0200, Hristo Venev wrote:
> Package: nfs-kernel-server
> Version: 1:2.6.4-5
> Severity: important
> X-Debbugs-Cc: hristo@venev.name
>
> Dear Maintainer,
>
> When updating nfs-kernel-server, /var/lib/nfs/etab is wiped, which
> results in all exports being removed until the NFS server is restarted.
>
> This is a major issue when `policy-rc.d` prohibits restarts, as in that
> case the restart does not happen automatically. It is also an issue when
> the policy permits restarts, as there still exists a time window during
> which all exported fileystems are missing.
Files are not removed on 'upgrade', can you post the log where this
has happened to you?
if [ "$1" != upgrade ]
then
rm -f /var/lib/nfs/etab \
/var/lib/nfs/rmtab
fi
I would like to understand how/when /var/lib/nfs/etab got removed on
your upgrade.
Regards,
Salvatore
Reply to: