LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   Copying OpenBSD Kernel from a non production to production machine (https://www.linuxquestions.org/questions/%2Absd-17/copying-openbsd-kernel-from-a-non-production-to-production-machine-878670/)

lcxpics 05-03-2011 08:40 PM

Copying OpenBSD Kernel from a non production to production machine
 
Hi All,

There are few OpenBSD 4.8 servers without compiler installed at my working place. However, sometimes there are some patches released for patching the kernel.

My question is: Can I setup a non production OpenBSD 4.8 server as a test machine with compiler installed and use it to patch the kernel and after the patching was successfull, I will copy the new kernel(with the patch installed) from the non production machine to the production machine?

Is there any impact?

Regards,
Stefan

girarde 05-04-2011 11:55 AM

If the hardware on the test server is dientical to production I suppose you could. As an alternative, use the patches to build a release and install that.

ocicat 05-05-2011 01:17 AM

Quote:

Originally Posted by lcxpics (Post 4345715)
Can I setup a non production OpenBSD 4.8 server as a test machine with compiler installed and use it to patch the kernel and after the patching was successfull, I will copy the new kernel(with the patch installed) from the non production machine to the production machine?

If you think about it, the kernel you originally installed was built on some unknown machine, & yet you are running it in a production environment on hardware that is most likely different.

As girarde already mentioned, as long as there isn't some undisclosed special need (drivers not configured in GENERIC...) in your production environment, what you describe is common to many setups. At home, I have one fast build machine which I use to build both system & packages which are then installed on a number of laptops & netbooks. This arrangement works very nicely.

lcxpics 05-05-2011 02:58 AM

thanks
 
Hi Girarde/Ocicat,

Thanks for your suggestion. I will try that as soon as possible.

Stefan


All times are GMT -5. The time now is 01:43 AM.