After reading the man pages, blog entries, discussions here, etc I still have some questions regarding SMF.
1. AFAIK I can use svcprop in SMF methods to get the value of service properties Can I also use svccfg (and svcadm refresh I think) to change properties in a SMF method? e.g. It would be useful to replace the old PID file with an SMF property. 1.2 Can I create temporary properties? (properties that are automatically deleted with a reboot) According to the smf manpage their are non-persistent property groups - but can I add my own properties to these groups? 1.3 What about properties like timeout? Can I dynamically change these properties inside a method and svc.startd uses the new value for the current method run? Or is the new value active for the next method calls only? 2. What about calling svcadm for the same service from inside a SMF method for that service? e.g. It might be useful to disable a service in the start method of a service depending on configuration changes 2.1 How does SMF handle (errornous) calling svcadm enable <FRMI> in the start method of the service <FRMI> (or svcadm disable in the stop method of the service)? 2.2 How about calling svcadm enable/disable for other services from inside a start/stop method? And more in general : What restrictions regarding SMF commands apply to SMF methods? regards Bernd This message posted from opensolaris.org