On Mon, Apr 6, 2009 at 10:53 PM, Shawn Walker <[email protected]> wrote:
> Moinak Ghosh wrote:
>>
>> On Mon, Apr 6, 2009 at 10:39 PM, Shawn Walker <[email protected]>
>> wrote:
>>>
>>> Alexander Vlasov wrote:
>>>>
>>>> Lurie wrote:
>>>> That's why lots of packages deliver their own SMF service which runs
>>>> only
>>>> once.
>>>
>>> ...which is better because those SMF scripts:
>>>
>>> * can run at "boot", which fits correctly with a zfs-based rollback setup
>>>
>>
>>   Which means those packages will require system reboot not unlike
>>   Windoze!
>
> First, how else can you ensure the scripts correctly run without having the
> new environment loaded? (i.e. account for newly added users, hardware, etc.)
>

   That is very true for OS upgrades, but not necessarily for applications or
   some other layered software. Of course sw can be changed to do some
   config at first start but it is not always possible to do that
practically unless
   the sw was designed with such things in mind. If scripting was being totally
   banned (I do find arbit scripting messy) then an alternative configured state
   should have been in the package design and facilities to do common config
   tasks should have been of priority. Depending on SMF IMHO is simply bad
   practice.

> Second, they could be in a zone, so no "physical" reboot is needed.
>
> Finally, we're also discussing special actuators for user images as well.
>

Regards,
Moinak.
-- 
================================
http://www.belenix.org/
http://moinakg.wordpress.com/
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to