nsenter: improve debug logging#2460
nsenter: improve debug logging#2460cyphar wants to merge 1 commit intoopencontainers:masterfrom cyphar:improve-nsexec-logging
Conversation
In order to make 'runc --debug' actually useful for debugging nsexec bugs, provide information about all the internal operations when in debug mode. Signed-off-by: Aleksa Sarai <asarai@suse.de>
|
For reference, this is now the information you can get with |
|
CI failing |
|
Right, it's because we're generating JSON in C and the log contains newlines. I'll need to change the logging so that invalid-in-JSON characters get ASCII-escaped. |
|
Did a rebase and json escaping in #2487 |
|
Using |
|
|
|
I also want to sit down and properly switch us over to |
|
|
Hmm I don't remember why I closed it, most probably just clicked the wrong button; sorry about that. Feel free to reopen and pick up json escaping stuff from #2487. |
|
Carrying in #2836 |
In order to make 'runc --debug' actually useful for debugging nsexec
bugs, provide information about all the internal operations when in
debug mode.
Signed-off-by: Aleksa Sarai asarai@suse.de