Re: Upgrading from 5.8 to 5.9: Can't install patches

2016-08-22 Thread Stuart Henderson
On 2016-08-19, Jay Hart  wrote:
>> On 2016/08/19 14:48, Jay Hart wrote:
>>>
>>> Thank You Stuart. I can get moving ahead and will file this as a new 
>>> process moving forward.
>>>
>>> One last item: When sysmerge ran the only 'file' it came up with to merge 
>>> was the cert file. I
> installed the new temp file as presented to me.  Are there other files I need 
> to check?  Did I
> do
>>> right?
>>
>> In most cases, if you didn't edit a config file, sysmerge can update it 
>> automatically without
> you having to do anything, so there aren't usually many to merge by hand. Do 
> check over the
> upgrade notes if you haven't already though.
>>
>>
>
> Are the upgrade notes (referenced above) the notes associated on the openbsd 
> page for upgrading
> say, from 5.8 to 5.9?

Yes e.g. http://www.openbsd.org/faq/upgrade59.html

> I noticed there are a significant number of patches that require a kernel 
> rebuild.  Can I apply
> all patches and then do one kernel compile at the end?  If I go this route, I 
> assume I need to
> apply/compile all the patches that do not require a kernel compile, then do 
> the one kernel compile
> last?
>
> I usually just install the patches as they come out (usually don't have 25 to 
> do), hence why I'm
> asking.
>
> I'm currently compiling patch #2, and would like to avoid a very lengthy 
> process.

You can apply the patches and do one kernel compile. (Although
after you've done one, it shouldn't take too long to do another as
most of the source files will be the same).

> DDclient: sysmerge stated I needed to check the config file.  I noticed that 
> the user may be
> different from original user (I have to check this) but I consider this a 
> minor item I can deal
> with in a few days.  Reboot will take care of short-term issues, if any...

I have no idea about ddclient.



Re: Upgrading from 5.8 to 5.9: Can't install patches

2016-08-19 Thread Jay Hart
> On 2016/08/19 14:48, Jay Hart wrote:
>>
>> Thank You Stuart. I can get moving ahead and will file this as a new process 
>> moving forward.
>>
>> One last item: When sysmerge ran the only 'file' it came up with to merge 
>> was the cert file. I
installed the new temp file as presented to me.  Are there other files I need 
to check?  Did I
do
>> right?
>
> In most cases, if you didn't edit a config file, sysmerge can update it 
> automatically without
you having to do anything, so there aren't usually many to merge by hand. Do 
check over the
upgrade notes if you haven't already though.
>
>

Are the upgrade notes (referenced above) the notes associated on the openbsd 
page for upgrading
say, from 5.8 to 5.9?

I noticed there are a significant number of patches that require a kernel 
rebuild.  Can I apply
all patches and then do one kernel compile at the end?  If I go this route, I 
assume I need to
apply/compile all the patches that do not require a kernel compile, then do the 
one kernel compile
last?

I usually just install the patches as they come out (usually don't have 25 to 
do), hence why I'm
asking.

I'm currently compiling patch #2, and would like to avoid a very lengthy 
process.

DDclient: sysmerge stated I needed to check the config file.  I noticed that 
the user may be
different from original user (I have to check this) but I consider this a minor 
item I can deal
with in a few days.  Reboot will take care of short-term issues, if any...

Many thanks for answering my questions.

Jay



Re: Upgrading from 5.8 to 5.9: Can't install patches

2016-08-19 Thread Stuart Henderson
On 2016-08-19, Jay Hart  wrote:
> According to the documentation I could find, I need to delete everything in 
> /usr/src and /usr/obj,
> then untar the 5.9 tar files. Once this is done, I can start patching.
>
> I was just going to remove all files and directories under these two 
> locations.
>
> Is this the correct procedure?

Yes.



Re: Upgrading from 5.8 to 5.9: Can't install patches

2016-08-19 Thread Jay Hart
According to the documentation I could find, I need to delete everything in 
/usr/src and /usr/obj,
then untar the 5.9 tar files. Once this is done, I can start patching.

I was just going to remove all files and directories under these two locations.

Is this the correct procedure?

TIA,

Jay



Re: Upgrading from 5.8 to 5.9: Can't install patches

2016-08-19 Thread Stuart Henderson
On 2016-08-19, trondd  wrote:
> On Thu, August 18, 2016 7:34 pm, Jay Hart wrote:
>>
>> Next I downloaded all 25 patches but patch 002 failed to install and I
>> think its because I need to
>> download and untar src.tar.gz and sys.tar.gz.  My thinking is the source
>> tree I installed under
>> 5.8, is still 5.8, not 5.9.
>
> Correct.  The installer does not install/update the source for you.  You
> have to get it yourself by downloading the tarballs or via CVS.

Yes - and if it's by tarballs, remove the old files.



Re: Upgrading from 5.8 to 5.9: Can't install patches

2016-08-18 Thread trondd
On Thu, August 18, 2016 7:34 pm, Jay Hart wrote:
>
> Next I downloaded all 25 patches but patch 002 failed to install and I
> think its because I need to
> download and untar src.tar.gz and sys.tar.gz.  My thinking is the source
> tree I installed under
> 5.8, is still 5.8, not 5.9.

Correct.  The installer does not install/update the source for you.  You
have to get it yourself by downloading the tarballs or via CVS.

Tim.