Open wardenjohn opened 2 weeks ago
Hi @wardenjohn
Thank you joe @joe-lawrence ! I am still learning the techology of kpatch-build and still a long way to go. Hoping can become a member of this community as fast as possable! :)
@joe-lawrence I have some futher question for answer.
For answer 1, kpatch_verify_patchability() will make sure .data.* section will not be included. However, changed section is not selected for inclusion
is raise in this case. It seems that this section is changed but the include flag is not set.
It is not the situation that kpatch_verify_patchability not allow any data section change.
In my scenario, this section's flag is not set to be include even it is changed. Is that a bug?
Hi @wardenjohn : can you (re)build this patch with kpatch-build -d
debugging option, then create and attach a tarball of the following files from ~/.kpatch (most of these should be under ~/.kpatch/tmp/...)
Seeing the input kpatch would be helpful as well if you can post that. (GitHub should let you attach files directly in an issue comment.) Thanks.
Hi joe, @joe-lawrence I will rebuild for a check. But I am not sure my organization if they allow me to up load the built object. I need some time to check.
When I use a patch to build a livepatch, I found this error happens:
I looked into the code of create-diff-object and found that if one section is taged as CHANGED but this sec->include is not set, this error will raise.
Which section will be included? I found the section and symbol will be included:
I am sorry that I have some base concept question to ask:
Thanks for answering my question, and thank your time, again.
Regards, Wardenjohn