The 'snappy.py' plugin already provides the journal via 'add_journal()'[0] method producing the following: 'sos_commands/snappy/journalctl_--no-pager_--unit_snapd'
Note that this is already part of every supported Ubuntu stable release.
It would only be a matter of collecting '/var/lib/snapd/state.json' as suggested while not revealing sensitive information.
@mvo,
The 'snappy.py' plugin already provides the journal via 'add_journal()'[0] method producing the following: 'sos_commands/ snappy/ journalctl_ --no-pager_ --unit_ snapd'
Note that this is already part of every supported Ubuntu stable release.
It would only be a matter of collecting '/var/lib/ snapd/state. json' as suggested while not revealing sensitive information.
- Eric
[0] - https:/ /github. com/sosreport/ sos/blob/ master/ sos/report/ plugins/ snappy. py#L29