[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] tools/misc: Remove obsolete xen-bugtool

xen-bugtool relies on code that has been removed in commit 9e8672f1c3
"tools: remove xend and associated python modules", more than 5 years
ago. Remove it, since it confuses users.

    -$ /usr/sbin/xen-bugtool
    Traceback (most recent call last):
      File "/usr/sbin/xen-bugtool", line 9, in <module>
        from xen.util import bugtool
    ImportError: No module named xen.util

Signed-off-by: Hans van Kranenburg <hans.van.kranenburg@xxxxxxxxxx>
Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866380
Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Cc: Wei Liu <wei.liu2@xxxxxxxxxx>
 docs/README.xen-bugtool | 16 ----------------
 tools/misc/Makefile     |  2 --
 tools/misc/xen-bugtool  | 17 -----------------
 3 files changed, 35 deletions(-)
 delete mode 100644 docs/README.xen-bugtool
 delete mode 100644 tools/misc/xen-bugtool

diff --git a/docs/README.xen-bugtool b/docs/README.xen-bugtool
deleted file mode 100644
index a7e95ef4ce..0000000000
--- a/docs/README.xen-bugtool
+++ /dev/null
@@ -1,16 +0,0 @@
-The xen-bugtool command line application will collate the Xen dmesg output,
-details of the hardware configuration of your machine, information about the
-build of Xen that you are using, plus, if you allow it, various logs.
-The information collated can either be posted to a Xen Bugzilla bug (this bug
-must already exist in the system, and you must be a registered user there), or
-it can be saved as a .tar.bz2 for sending or archiving.
-The collated logs may contain private information, and if you are at all
-worried about that, you should not use this tool, or you should explicitly
-exclude those logs from the archive.
-xen-bugtool is wholly interactive, so simply run it, and answer the questions.
diff --git a/tools/misc/Makefile b/tools/misc/Makefile
index eaa28793ef..fd91202950 100644
--- a/tools/misc/Makefile
+++ b/tools/misc/Makefile
@@ -17,7 +17,6 @@ INSTALL_BIN                    += xencov_split
 # Everything to be installed in regular sbin/
-INSTALL_SBIN                   += xen-bugtool
 INSTALL_SBIN-$(CONFIG_X86)     += xen-hvmcrash
 INSTALL_SBIN-$(CONFIG_X86)     += xen-hvmctx
@@ -41,7 +40,6 @@ INSTALL_PRIVBIN                += xenpvnetboot
 # Everything which only needs copying to install
-TARGETS_COPY += xen-bugtool
 TARGETS_COPY += xen-ringwatch
 TARGETS_COPY += xencons
 TARGETS_COPY += xencov_split
diff --git a/tools/misc/xen-bugtool b/tools/misc/xen-bugtool
deleted file mode 100644
index a3742b4787..0000000000
--- a/tools/misc/xen-bugtool
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env python
-#  -*- mode: python; -*-
-# Copyright (c) 2005, XenSource Ltd.
-import sys
-from xen.util import bugtool
-if __name__ == "__main__":
-    try:
-        sys.exit(bugtool.main())
-    except KeyboardInterrupt:
-        print "\nInterrupted."
-        sys.exit(1)

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.