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

[Xen-changelog] [xen master] tools/misc: Remove obsolete xen-bugtool



commit 844293c73685f8198bc2f0c7c5a101b3fcfd538c
Author:     Hans van Kranenburg <hans.van.kranenburg@xxxxxxxxxx>
AuthorDate: Sun Feb 3 21:35:18 2019 +0100
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Mon Feb 4 11:41:58 2019 +0000

    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
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
    Release-acked-by: Juergen Gross <jgross@xxxxxxxx>
---
 docs/README.xen-bugtool | 16 ----------------
 tools/misc/Makefile     |  2 --
 tools/misc/xen-bugtool  | 17 -----------------
 3 files changed, 35 deletions(-)

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 @@
-xen-bugtool
-===========
-
-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
 INSTALL_BIN += $(INSTALL_BIN-y)
 
 # Everything to be installed in regular sbin/
-INSTALL_SBIN                   += xen-bugtool
 INSTALL_SBIN-$(CONFIG_MIGRATE) += xen-hptool
 INSTALL_SBIN-$(CONFIG_X86)     += xen-hvmcrash
 INSTALL_SBIN-$(CONFIG_X86)     += xen-hvmctx
@@ -41,7 +40,6 @@ INSTALL_PRIVBIN                += xenpvnetboot
 TARGETS_ALL := $(INSTALL_BIN) $(INSTALL_SBIN) $(INSTALL_PRIVBIN)
 
 # 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)
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

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