aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonny Aasen <ronny@aasen.cx>2010-11-22 13:02:18 +0000
committerRonny Aasen <ronny@aasen.cx>2010-11-22 13:02:18 +0000
commit45d8bd71b561ed4e92fdecb6035d6e5ce4c65933 (patch)
tree08f3c1a7cbff9ab5af78d37326586864477ae9af
parent98c12dfaac41ed7ca5a0454d3d2c110189a22c55 (diff)
downloadsitesummary-45d8bd71b561ed4e92fdecb6035d6e5ce4c65933.tar.gz
sitesummary-45d8bd71b561ed4e92fdecb6035d6e5ce4c65933.tar.bz2
sitesummary-45d8bd71b561ed4e92fdecb6035d6e5ce4c65933.tar.xz
* fixing my fix
-rw-r--r--collect.d/system2
-rw-r--r--debian/changelog9
2 files changed, 10 insertions, 1 deletions
diff --git a/collect.d/system b/collect.d/system
index 0401203..c5be33d 100644
--- a/collect.d/system
+++ b/collect.d/system
@@ -22,7 +22,7 @@ if type lsusb >/dev/null 2>&1; then
lsusb > lsusb
fi
-if [ -d /proc/bus/scsi ] && type lsscsi >/dev/null 2>&1; then
+if [ -d /sys/bus/scsi ] && type lsscsi >/dev/null 2>&1; then
lsscsi > lsscsi
fi
diff --git a/debian/changelog b/debian/changelog
index ac49277..994a170 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+sitesummary (0.0.68~svn) UNRELEASED; urgency=low
+
+ [ Ronny Aasen ]
+ * Only run lsscsi from collect.d/system, if /sys/bus/scsi exsists
+ to avoid errors on machines without /sys mouted, like chroots
+ and vservers (Closes: #602286).
+
+ -- Petter Reinholdtsen <pere@debian.org> Fri, 19 Nov 2010 15:02:20 +0100
+
sitesummary (0.0.67) unstable; urgency=low
[ Ronny Aasen ]