git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc108ad
)
From Mathieu Parent
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sun, 12 Oct 2008 21:21:20 +0000
(08:21 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sun, 12 Oct 2008 21:21:20 +0000
(08:21 +1100)
patch to make debian systems log the package versions in
ctdb_diagnostics
tools/ctdb_diagnostics
patch
|
blob
|
history
diff --git
a/tools/ctdb_diagnostics
b/tools/ctdb_diagnostics
index 437580f7e0a292bb166bcdb898ffeb4982dc8d9b..4415a90a8ae4e88dd7ea75f772fdcf903e43d964 100755
(executable)
--- a/
tools/ctdb_diagnostics
+++ b/
tools/ctdb_diagnostics
@@
-93,6
+93,11
@@
show_all "uname -a"
[ -x /bin/rpm ] && {
show_all "rpm -qa | egrep 'samba|ctdb|gpfs'"
}
+[ -x /usr/bin/dpkg-query ] && {
+ show_all "/usr/bin/dpkg-query --show 'ctdb'"
+ show_all "/usr/bin/dpkg-query --show 'samba'"
+ #show_all "/usr/bin/dpkg-query --show 'gpfs'"
+}
cat <<EOF