I ran sosreport '3.6-1ubuntu0.18.04.1' inside a baremetal AND a container without any issue.
The test was run with '-a, --alloptions'[1] AND '--all-logs'[2]
[1] - Boolean that set to True for all enabled plugins.
[2] - Tell sosreport to collect all possible log data ignoring any size limits.
Report:
* All the mandatory directory and files (mention in the autopkgtest are present) has been collected and contain valid data.
* All 0 size files found in the tarball are related to thing which doesn't raise any red flag to me.
* Sensible data substitution works as expected:
The only error I found only inside a container was the following :
$ grep ERROR sos_logs/sos.log
2018-11-15 20:24:09,005 ERROR: [plugin:kvm] debugfs not mounted and mount attempt failed
sosreport complained because debugfs wasn't mounted. It's probably related to unprivileges container. It's definitely not a SRU blocker at this point.
Inside a KVM guest, no problem
Output :
sosreport -a --all-logs
sosreport (version 3.6)
This command will collect system configuration and diagnostic
information from this Ubuntu system. An archive containing the collected
information will be generated in /tmp/sos.w0oo29nm.
The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before being
passed to any third party.
No changes will be made to system configuration.
Press ENTER to continue, or CTRL-C to quit.
Please enter the case id that you are generating this report for []:
Setting up archive ...
Setting up plugins ...
Running plugins. Please wait ...
[VERIFICATION XENIAL]
I ran sosreport '3.6-1ubuntu0. 18.04.1' inside a baremetal AND a container without any issue.
The test was run with '-a, --alloptions'[1] AND '--all-logs'[2]
[1] - Boolean that set to True for all enabled plugins.
[2] - Tell sosreport to collect all possible log data ignoring any size limits.
Report:
* All the mandatory directory and files (mention in the autopkgtest are present) has been collected and contain valid data.
* All 0 size files found in the tarball are related to thing which doesn't raise any red flag to me.
* Sensible data substitution works as expected:
etc/ssl/ openssl. cnf:# input_password = ****** openssl. cnf:# output_password = ****** openssl. cnf:challengePa ssword = ****** openssl. cnf:challengePa ssword_ min = ****** openssl. cnf:challengePa ssword_ max = ******
etc/ssl/
etc/ssl/
etc/ssl/
etc/ssl/
The only error I found only inside a container was the following :
$ grep ERROR sos_logs/sos.log
2018-11-15 20:24:09,005 ERROR: [plugin:kvm] debugfs not mounted and mount attempt failed
sosreport complained because debugfs wasn't mounted. It's probably related to unprivileges container. It's definitely not a SRU blocker at this point.
Inside a KVM guest, no problem
Output :
sosreport -a --all-logs
sosreport (version 3.6)
This command will collect system configuration and diagnostic
information from this Ubuntu system. An archive containing the collected
information will be generated in /tmp/sos.w0oo29nm.
For more information on Ubuntu visit:
http:// www.ubuntu. com/
The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before being
passed to any third party.
No changes will be made to system configuration.
Press ENTER to continue, or CTRL-C to quit.
Please enter the case id that you are generating this report for []:
Setting up archive ...
Setting up plugins ...
Running plugins. Please wait ...
Finishing plugins [Running: ubuntu]
Finished running plugins
Creating compressed archive...
Your sosreport has been generated and saved in: sosreport- ubuntu- 20181115154754. tar.xz
/tmp/
The checksum is: 42bd6fc5bde919a 89ad0e2de3d0f50 79
Please send this file to your support representative.