FS#65500 - [nfs-utils] add /var/lib/nfs/etab to backup=()
Attached to Project:
Arch Linux
Opened by Erich Eckner (deepthought) - Friday, 14 February 2020, 14:29 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 15 February 2020, 10:07 GMT
Opened by Erich Eckner (deepthought) - Friday, 14 February 2020, 14:29 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 15 February 2020, 10:07 GMT
|
Details
Description:
Either /var/lib/nfs/etab should not be overwritten by upgrading the package (put into "backup=()") or `exportfs -ar` should be called in a post-installation hook. (I would prefer the former solution, as it does not magically apply a possibly-different-than-current config) Otherwise, we have the situation, that (re)installing nfs-utils purges all current exports. Additional info: * package version(s) nfs-utils 2.4.3-1 Steps to reproduce: > pacman -S nfs-utils > echo "/home 192.168.0.1/255.255.255.255 (rw,sync,no_subtree_check)" > /etc/exports > exportfs -ar > cat /var/lib/nfs/etab # /home 192.168.0.1/255.255.255.255(rw,sync,no_subtree_check) > pacman -S nfs-utils > cat /var/lib/nfs/etab # empty |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Saturday, 15 February 2020, 10:07 GMT
Reason for closing: Fixed
Additional comments about closing: 2.4.3-2
Saturday, 15 February 2020, 10:07 GMT
Reason for closing: Fixed
Additional comments about closing: 2.4.3-2
https://src.fedoraproject.org/rpms/nfs-utils/blob/master/f/nfs-utils.spec
%config(noreplace) %{_sharedstatedir}/nfs/etab
%config(noreplace) %{_sharedstatedir}/nfs/rmtab
I'm going to implement this.