Package: nfs-kernel-server
Version: 1:1.2.6-4      amd64
 
/etc/init.d/nfs-kernel-service is being clever/lazy and does not start if there 
is no exports in the file /etc/exports.

I had to comment out the following lines to get zfs sharenfs working.

#       if [ -f /etc/exports ] && grep -q '^[[:space:]]*[^#]*/' $export_files
#       then
         {do work}
#       else
#               log_warning_msg "Not starting $DESC: no exports."
#       fi

I suggest it should always start, because it provides sharing services for 
other systems like ZFS.

If people did not want it to run, they would not have installed it.

Regards,
-Arunas

Reply via email to