David Bustos wrote:
> I believe the enhanced SMF profiles project is almost far enough along
> to be useful to Caiman developers.  To ensure we're coding in the right
> direction, please verify my understanding of your use:
>
>   - Before an automated install, you want the user to specify an SMF
>     profile file which sets properties on certain services.
>   

Not exactly determined yet if the user specifies the end file
that gets placed.  It might be something the installer dynamically
generates based on bits and pieces of user input from various places.
Though that shouldn't matter to you.

>     During the install, your software copies the file into the
>     filesystem.
>
>     During boot, you want SMF to apply the profile to the repository, so
>     software can read the properties and see the customizations.
>
> If that's correct, I have a few questions:
>
>   - Will the customizations need to be upgradable?  In other words, if
>     the user specified a file which customized property P to value
>     C during the install, do we need to allow him to specify a new file
>     which specifes no customization for P so that we revert P to the
>     default value?
>   

Are you referring to upgrades from media, like what we do in Nevada
today, then we plop down some file for smf to consume upon the first
boot after the upgrade?

We don't support upgrade from media and there's no plan to do so
at the moment.  Upgrades are purely a pkg image-update operation
and I don't believe there's any such mechanism to do what you're
describing above, though someone from pkg should chime in and
comment on that.


Question for you.  Is this file location going to be specially contracted
between  the installer and smf, or is it something generically usable
on any bootup?  (no, I haven't looked at the gate or the README yet.)

>   - Can we guarantee that the root filesystem will be writable at boot,
>     or do you support UFS roots?
>   

The installer supports only zfs.  Does that answer your question?

>   - AI is supported on SPARC, correct?
>   

Yes.

> You can view the current code at
> http://src.opensolaris.org/source/xref/smf-profiles/gate/ .  The README
> has instructions for building and installing it into a zone.
>   

I will try this out when I get a chance.  Probably not for a couple
of weeks though.


thanks,
-ethan

>
> David
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>   

Reply via email to