Quoth Napanda Pemmaiah on Tue, Mar 21, 2006 at 05:55:11PM -0800: > I see sometimes a temporary svc frmi with the format "svc:/TEMP<..>" > gets created, in some cases i see the original fmri present when I do > a "svcs" and in some cases only the temporary is present and not the > original svc fmri.Was curious when does this happen.
Whenever "svccfg import" is used, a temporary service is created before the real service is created or upgraded. This is necessary to create the last-import snapshot properly. svccfg automatically deletes the temporary service upon successful completion. If you find such services on your system, then a svccfg import didn't finish properly. You should look for error messages from wherever svccfg import was invoked (usually system/manifest-import's log, in /var/svc/manifest, or during a pkgadd) and svccfg core files. The temporary service itself is meaningless and can be deleted. In fact, if svccfg import goes to create a temporary service but it already exists, it prints an error message and exits without importing anything. David