Hi Sourabh,
I can not figure out a better way at present, just a trick, see the
comment inline.
On 1/6/21 11:40 AM, piliu wrote:
This is the core of the problem, which can not be stepped around easily.
But what about let kdump service runs the script and save the result in
a tmp file. Then later FFDC can read from the tmp file.
Or if FFDC can ask users to run as root?
Thanks,
Pingfan
Hi Sourabh,
I can not figure out a better way at present, just a trick, see the
comment inline.
On 1/6/21 11:40 AM, piliu wrote:
This is the core of the problem, which can not be stepped around easily.
But what about let kdump service runs the script and save the result in
a tmp file. Then later FFDC can read from the tmp file.
Or if FFDC can ask users to run as root?
This could be a potential solution but I would prefer this script to be a standalone
script returning the crashkernel values rather writing it to some file.
I think for the time being let the script handle root and non-root thing the way it is.
Thanks,
Sourabh Jain