2007/393 converting /etc/default/{nfs,autofs} to SMF properties
Gary Winiger
gww at eng.sun.com
Tue Jul 10 12:33:56 PDT 2007
> Solution:
>
> The properties from /etc/default/nfs will be split among the
> svc:/network/nfs/* services, as shown below. sharectl(1M) and
> libshare will be modified to get and set properties in SMF
> instead of using /etc/default/nfs. A packaging script will
> be written to convert existing properties in /etc/default/nfs
> to SMF properties on upgrade, and BFU will be modified to match.
> The sysidnfs4 tool will be taught to play properly with this also.
> These should be split up and mapped as follows:
>
> svc:/network/nfs/server properties:
> svc:/network/nfs/nlockmgr properties:
> svc:/network/nfs/client properties:
> svc:/network/nfs/mapid properties:
> These map as follows to properties in svc:/system/filesystem/autofs:
> Summary of interface changes:
>
> ! - The SMF property names will be a Project Private interface
>
> ! - The sharectl(1M) get/set interfaces for the NFS protocol will be
> ! Committed as the preferred way to manipulate NFS properties.
At the same time, the legacy service manifests should be
upgraded to meet the SMF policy by including value and
possibly action authorizations. Then, at least for these
services sharectl(1M) can be run without needing all privileges
and uid 0. I'd suggest either the authorizations be part
of a new NFS Management Rights Profile, or the existing
File System Management Rights Profile.
Gary..
More information about the opensolaris-arc
mailing list