On Wed 20 May 2026 at 10:48:47 -0500, John D. Baker wrote:
> I've maintained netboot/NFS-root setups for my machines for well over
> a decade, but recently something broke and now when '/etc/rc' runs on
> a diskless client, the cleanup of "/var/run/" in '/etc/rc.d/clearcritlocal'
> fails with all 'rm' attempts claiming "permission denied".
> 
> NFS root directories (which include "/var") are exported only to
> each individual host with "-maproot=root" and shared directories
> ("/usr", "/var/lib") are exported to a netgroup of same-arch hosts
> also with "-maproot=root".

It sounds like you are trying to export the same file system with
different options (/var and /var/lib). Even if /var is a separate file
system from /, /var/lib would typically be on the same file system. Last
I checked, that wasn't really possible.

> I did notice a message from 'mountd' the last time I rebooted the file
> server about "Can't update exports for <exported fs> (Operation not
> permitted)", but I haven't investigated it yet.

This message seems to be consistent with that.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose

Attachment: signature.asc
Description: PGP signature

Reply via email to