Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on how to configure live kernel patching. #1559

Closed
novaksam opened this issue Jul 11, 2024 · 5 comments
Closed

Documentation on how to configure live kernel patching. #1559

novaksam opened this issue Jul 11, 2024 · 5 comments

Comments

@novaksam
Copy link

Is your feature request related to a problem? Please describe.

According to the Photon 5 release notes, one of the big highlights was live kernel patching, but I'm unable to find any documentation whatsoever about how this operates or how to configure it. I found references to kpatch, but no documentation on how to configure.

Describe the solution you'd like

Documentation on how to configure this live patching, unless it is already baked in to tdnf.

Describe alternatives you've considered

No response

Additional context

No response

@dcasota
Copy link
Contributor

dcasota commented Jul 11, 2024

@sshedi @altanov is pr #1536 ready for publish?

@novaksam that pr contains live kernel patching docs, too. If that entries do not serve, describe where it didn‘t work in your constellation.

@novaksam
Copy link
Author

@dcasota That does outline how to set it up, but is live patching going to become part of the built-in patching? Will the patches be distributed through some means within the OS (which that go through the kpatch scripts), or will that be a manual process?

Thanks!

@dcasota
Copy link
Contributor

dcasota commented Jul 15, 2024

@novaksam I don’t know. In VCF, Broadcom has various software delivery methods for virtual machines’ virtual hardware and guest os inside. It just works.
Lately I have seen a similar meccano in Hyperv. It seems to have become legacy.

For the open-source Photon OS version the Photon OS team publishes security packages quite fast. Simply update your os using tdnf and tdnf-automatic.

Intelligent Patching is interesting for products with Photon OS as sub component, 100%. Actually, I think the non-classic way is Broadcom AI land.

@bhllamoreaux
Copy link
Contributor

@novaksam Apologies for the lack of documentation. At the moment, we are just providing some tools for users to generate/manage their own livepatches; it will be a manual process for now.

Patches are already available in github when fixes are merged, e.g 8ead6b4, but you'll have to generate and load the livepatch module(s) yourself.

@novaksam
Copy link
Author

It's all good, was hoping it would be a native part of the product, but it appears to not be at that point currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants