if /etc/exports is empty, /etc/exports.d is ignored This is due to this in /etc/init.d/nfs: if grep -qs '^[[:space:]]*/' /etc/exports ; then ebegin "Exporting NFS directories" ${exportfs} -r & waitfor_exportfs $! eend $? fi The grep comes back empty so exportfs -r is never executed. I don't understand why the test need to be there in the first place but if it is to remain a test for /etc/exports/*.exports is needed too.
should be /etc/exports.d/*.exports Ebuild version is 1.2.6
should be all set now in the tree; thanks for the report! Commit message: Process /etc/exports.d/*.exports too http://sources.gentoo.org/net-fs/nfs-utils/files/nfs.initd?r1=1.26&r2=1.27
(In reply to comment #2) > should be all set now in the tree; thanks for the report! > > Commit message: Process /etc/exports.d/*.exports too > http://sources.gentoo.org/net-fs/nfs-utils/files/nfs.initd?r1=1.26&r2=1.27 Hi! What about creating the /etc/exports.d directory in ebuild? So files can be just dropped? Thanks.