Quoth Tom Dillard on Thu, Jan 18, 2007 at 06:47:17AM -0800: > After disabling the service, I then deleted the whole definition of my > service, or so I thought, with 'svccfg delete <service>'. I edited the > manifest XML, changing the dependency on multi-user to single-user > (primarily just to test how things work), and re-added the service. > > Here's the odd thing. I still had the multi-user dependency.
Did you give svccfg delete the FMRI of the service, or the instance? If the instance, then the instance would be deleted, but the service would be left. Most manifests are written with most of their properties on the service, to be inherited by the instances, so that would have left your dependencies. > I then > manually used svccfg to delprop the multi-user dependency. While in > svccfg, if I do a listprop the multi-user dependency now no longer > shows. However, from the command line 'svcs -l <service>' still shows > the multi-user dependency. svcs -l reads the information from the running snapshot. To update the running snapshot you must run "svcadm refresh <service>". David