Skip to content

Commit

Permalink
List package details for keyutils and cifs-utils. (#219)
Browse files Browse the repository at this point in the history
We don't get this info today.

Signed-off-by: Shyam Prasad N <[email protected]>
  • Loading branch information
sprasad-microsoft authored May 31, 2024
1 parent bb9b7cb commit a49c041
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SMBDiagnostics/smbclientlogs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,13 @@ dump_os_information() {
then
rpm -qa --last |grep keyutils >> os_details.txt
rpm -qa --last |grep cifs-utils >> os_details.txt
rpm -qi keyutils >> os_details.txt
rpm -qi cifs-utils >> os_details.txt
elif (( $(which apt |egrep -c apt) > 0 ));
then
zgrep -B5 -A5 keyutils /var/log/apt/history.log* >> os_details.txt
zgrep -B5 -A5 cifs-utils /var/log/apt/history.log* >> os_details.txt
dpkg -s keyutils cifs-utils >> os_details.txt
fi

}
Expand Down

0 comments on commit a49c041

Please sign in to comment.