This fast-track of mine was approved about three years ago, and
is finally being brought in for a landing by Pavan Mettu under
the CR 6975309.  The case is about retiring /etc/default/nfs
and moving the settings to SMF properties instead.

We have some minor differences to make to the case spec; these are
mostly about IPS rendering SVr4 packaging scripts and BFU obsolete,
and we hope they are straightforward.  I include the context diffs
for the changes below.  If anyone has issues with these changes,
please let Pavan and I know.

Thanks,
Rob T

-----

jurassic[8]% diff -c /shared/sac/PSARC/2007/393/spec.txt /home/pk162140/work/pnfs/nfssmf/spec.txt.chg

*** /shared/sac/PSARC/2007/393/spec.txt Wed Jul 18 16:42:49 2007
--- /home/pk162140/work/pnfs/nfssmf/spec.txt.chg        Thu Aug  5 14:40:05 2010
***************
*** 11,20 ****
  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.

  The current NFS properties are:

--- 11,18 ----
  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. The sysidnfs4 tool will be
! taught to play properly with this also.

  The current NFS properties are:

***************
*** 40,45 ****
--- 38,47 ----
  ! while using more regular SMF property names is not useful. Changes
  ! from the original spec are marked with a '!' at the start of the line.

+ All the nfs properties will be grouped into a property group
+ based on instance with the name "nfs-props" and type
+ "com.oracle.nfs,props".
+
  These should be split up and mapped as follows:

  svc:/network/nfs/server properties:
***************
*** 79,87 ****
  SMF properties in the svc:/system/filesystem/autofs service.
  sharectl(1M) and libshare will be extended with an autofs
  plugin to make 'sharectl {get,set} autofs' work with SMF.
- A packaging script will be written to convert existing properties
- in /etc/default/autofs to SMF properties on upgrade, and BFU will
- be modified to match.

  The current autofs properties are:

--- 81,86 ----
***************
*** 101,106 ****
--- 100,109 ----
  AUTOMOUNTD_TRACE                application/trace astring 0
  AUTOMOUNTD_ENV                  application/environment astring ""

+ All the autofs properties will be grouped into a property group
+ based on instance with the name "autofs-props" and type
+ "com.oracle.autofs,props".
+
  The Committed sharectl(1M) interface for autofs will use the same
  names as for the SMF properties.

***************
*** 117,131 ****
  service in which a property lives to the tables.  A new
  libshare_autofs.so will be provided to do the same for autofs.

! The SMF team has written an postinstall script which converts an
! /etc/default/* file into new service properties via commands in
! the /var/svc/profile/upgrade file.  We will extend this work for
! /etc/default/nfs to handle putting properties into multiple
! services, and use a simpler script for /etc/default/autofs.
! We may do this via the existing 'defnfs' class-action script
! rather than a postinstall script.  The script will also replace
! the old /etc/default file with a document describing how properties
! should be managed with SMF.

  PSARC 1999/606 introduced this file, and noted that its contents were
  Unstable (i.e. Uncommitted), so this change is permitted in a Minor
--- 120,129 ----
  service in which a property lives to the tables.  A new
  libshare_autofs.so will be provided to do the same for autofs.

! A script will be provided to migrate the configuration properties
! from IPS in case of upgrade.  Currently the IPS upgrade path is
! still in the initial stages and once a proper way is defined,
! this script will be provided.

  PSARC 1999/606 introduced this file, and noted that its contents were
  Unstable (i.e. Uncommitted), so this change is permitted in a Minor
_______________________________________________
opensolaris-arc mailing list
opensolaris-arc@opensolaris.org

Reply via email to