[OpenIndiana-discuss] NFS Server permission problems

Philippe Huybrechts philippe at twixel.be
Thu Jun 21 07:01:46 UTC 2012


If you disable init logging , the file will not be created.

in /etc/vz/vz.conf:
INITLOG=no

The underlying issue is that the file is created from outside the container with
the synchronous attribute set. This gets interpreted by the Indiana NFS server
as "mandatory locking": as NFS3 has no locking, all access to the file will be
blocked via NFS, unless the execute bit is set.

So you can either disable init logging or fixup the permissions after creation
of the file (will survive a restart of the container)

It is also something to be aware of when moving vz/private areas from local
storage onto the NFS server, as any file with these bits set will become
inaccessible. Not that there are a lot, but for example Subversion repositories
use it.






More information about the OpenIndiana-discuss mailing list