On Wed, Jan 14, 2009 at 11:24:20AM -0800, Tony Nguyen wrote: > > - When a service or instance exists due to a service manifest in > > /var/svc/manifest, attempts to delete it from the SCF repository > > will fail. The primary way to remove such services and instances > > will be to remove the package which delivers the manifest file, or > > for files manually placed in /var/svc/manifest, a new "delmanifest" > > subcommand for svccfg. > > Is this essentially obsoleting 'svccfg delete fmri'?
You can create services via svccfg(1M) without using a manifest. As long as that's the case then it should be possible to delete services via 'svccfg delete fmri'. Q1: How is delmanifest implemented w/ regards to RBAC? Must svccfg(1M) run with privilege in order to perform delmanifest, or is this implemented as a door call to svc.configd? If there are multiple repositories, which one gets the door call? Q2: If a service delivered via a manifest is deleted via 'svccfg delete fmri', will it be re-imported on reboot, or will SMF remember that the deleted fmri's associated manifest is not to be imported? Nico --