We need to review output of
show tech-support
remove some redundant info and add some missing information
We need to review output of
show tech-support
remove some redundant info and add some missing information
We need to change default behaviour and enable strip-private by default
add key not-strip-private for cases when complete dump required
@bcs pointed to problem in T363
@EwaldvanGeffen pointed another issue in T329
.bash_history content also must be processed (private info must be stripped) before it included
@c-po do you want to pick up this?
Basically we need to filter out private info by default
currently it possible to do via
show tech-support save /tmp | strip-private
but strip-private should be default behaviour
strip-private is a bash-pipe function (/etc/bash_completion.d/vyatta-op).
@syncer:How do you expect a user will execute the show tech-support command with all private data present? Or should there be no possibility to print our sensible information at all?
maybe we can use something like | not-strip-private
for cases when dump should contain all info
by default output should strip all that info
@syncer: Thinking about it I have a different proposal:
Using "show tech-support" cmd will produce the tech-support output without any private information as you have suggested
cpo@CR1:~$ show tech-support Possible completions: <Enter> Execute the current command brief Show brief tech-support report save Save consolidated tech-support report save-uncompressed Save consolidated tech-support report uncompressed
Using "show tech-support private" cmd will produce the tech-support output with private information included.
This will be a new node "private" unter "show tech-support" which will act like the current implementation with all private information included.
cpo@CR1:~$ show tech-support private Possible completions: <Enter> Execute the current command brief Show brief tech-support report save Save consolidated tech-support report save-uncompressed Save consolidated tech-support report uncompressed
In addition to the removal of repositories in T7, is it required to print the installed dpkg versions? This could be removed, too