When using draknfs to define NFS shares. When draknfs restarts the NFS server it uses the command "service nfs-server reload" which is not available in Mageia 3 with systemd Either systemd needs to be updated to allow the command or draknfs has to be modified to reload the server another way (exportfs -ra seems to work)
Whiteboard: (none) => 3beta2
Created attachment 3386 [details] patch to allow draknfs to export shares This works for me.
Keywords: (none) => PATCH
CC: (none) => thierry.vignaudAssignee: bugsquad => mageia
I hesitate with using systemctl in order to reload the service
CC: (none) => mageia
I would generally recommend running the exportfs command as per Derek's patch. An alternative would be to modify the systemd nfs-server.service unit to support an ExecReload action that simply ran this same command instead. That way, there would be no changes needed in draknfs. Dunno which is better. Adding Guillomovitch as he's responsible for NFS stuff.
CC: (none) => guillomovitch
Fixed in SVN. Can be altered if Guillaume thinks it's better
Status: NEW => RESOLVEDResolution: (none) => FIXED
I think it's safer to resort to low-level commands directly nowadays, instead of modifying systemd units to fit with draknfs needs. So let's keep it this way.