Quoth James Carlson on Fri, May 18, 2007 at 03:47:52PM -0400:
> As part of fixing CR 6392582, I need to detect whether the system
> being upgraded has ever run SMF and thus avoid the gymnastics
> necessary for upgrade from non-SMF.  I able do so by checking for the
> existence of one of these symlinks, created by the undocumented
> "svcadm _smf_backup" feature added by CR 5102864:
> 
>   $BASEDIR/etc/svc/repository-boot
>   $BASEDIR/etc/svc/repository-manifest_import
> 
> Doing this seems like the simplest and easiest to defend
> implementation.  The problem, of course, is that it's an undocumented
> interface, and it could be ripped out from under me.  I thus need to
> make it Stable.

I don't recall the particulars of how inetd upgrade works, but can you
delay the conditional work to after boot?


David

Reply via email to