[OpenIndiana-discuss] Boot environments blow away configsettings on reboot
Jason J. W. Williams
jasonjwwilliams at gmail.com
Fri Aug 26 01:34:21 UTC 2011
Yeah. That's what I get for getting rusty on OpenSolaris for a year.
That said, the boot environment behavior is really a killer when
you're running a deployment system like Chef or Puppet. Packages like
svr4 creating a boot environment early in a Chef run means when you
reboot, the changes made later in the Chef run disappear because they
were applied to the original boot environment before "pkg install
svr4" (for example) pulled a snapshot for the new boot environment.
-J
On Thu, Aug 25, 2011 at 6:31 PM, Dan Swartzendruber <dswartz at druber.com> wrote:
> LOL
>
> -----Original Message-----
> From: Jason J. W. Williams [mailto:jasonjwwilliams at gmail.com]
> Sent: Thursday, August 25, 2011 8:30 PM
> To: Discussion list for OpenIndiana
> Subject: Re: [OpenIndiana-discuss] Boot environments blow away
> configsettings on reboot
>
> Figured this out. NWAM strikes again.
>
> -J
>
> On Thu, Aug 25, 2011 at 5:54 PM, Jason J. W. Williams
> <jasonjwwilliams at gmail.com> wrote:
>> By limiting which packages I install and adding the "--deny-new-be"
>> flag to the "pkg install" runs I seem to have prevented new boot
>> environments from being created. However, files like
>> /etc/nsswitch.conf seem to revert to their original installed version
>> after I reboot. Very confused by that given the lack of a new BE.
>>
>> -J
>>
>> On Thu, Aug 25, 2011 at 1:19 PM, Jason J. W. Williams
>> <jasonjwwilliams at gmail.com> wrote:
>>> Hi Guys,
>>>
>>> I'm having an issue where if I do the following steps, the result of
>>> step 2 disappears after a reboot:
>>>
>>> 1.) pkg install <package_1>
>>> 2.) Install LDAP config files into /var/ldap
>>> 3.) pkg install <package_2>
>>>
>>> The issue appears to be that two new boot environments are created in
>>> steps 1 and 2. After doing steps 1-3 everything looks fine, then
>>> reboot, the last boot environment becomes active and the files in
>>> /var/ldap disappear. What we're doing is configuring a server using
>>> Chef. Any pointers would be very appreciated.
>>>
>>> -J
>>>
>>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
More information about the OpenIndiana-discuss
mailing list