[Bug 1539719] Comment bridged from LTC Bugzilla
bugproxy
bugproxy at us.ibm.com
Wed Feb 3 18:59:50 UTC 2016
------- Comment From thorsten.diehl at de.ibm.com 2016-02-03 13:59 EDT-------
dbginfo.sh was modified by canonical. Before it collects data, it aks the user, whether he really wants to do that.
see here:
######################################
# Verification to run as root
#
if test "" -ne 0; then
echo "${SCRIPTNAME}: Error: You must be user root to run \"${SCRIPTNAME}\"!"
exit 1
fi
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ echo " Warning: The archive created by this utility will contain sensitive"
+ echo " information including, but not limited to:"
+ echo " - configuration files"
+ echo " - log files"
+ echo " - hardware state information"
+ echo " - running process state and command line arguments"
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ echo ""
+ echo -n " Do you wish to continue? [y/N]> "
+ read resp
+ case "$resp" in
+ y|Y)
+ :
+ ;;
+ *)
+ echo "OK, exiting."
+ exit 0
+ esac
+
+
#######################################
# Parsing the command line
#
IBM can not accept this:
1. It is ensured by the above code, that only the root user is running this script. By default, it is assumed, that the roor user knows what he has to do and what not.
2. For providing debugging information, it is in some cases required to either start dgbinfo.sh immediately at a certain point, or to start it by any automated trigger. The first case will delay the execution of dbginfo.sh, the second will prevent it.
3. For automated testing we often collect data via dbginfo.sh triggered by a script. Same problem, this will not work, or needs some workaround just for this particular flavour of dbginfo.sh
I hereby request to pick up the unmodified code of dbginfo.sh as of
s390-tools 1.32.0 provided by IBM.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to s390-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1539719
Title:
dbginfo.sh needs to be included in s390-tools
Status in s390-tools package in Ubuntu:
Fix Released
Status in s390-tools package in Debian:
New
Bug description:
== Comment: #0 - Thorsten Diehl <thorsten.diehl at de.ibm.com> - 2016-01-29 11:39:06 ==
The generally available source package of s390-tools provides a dbginfo.sh tool that is not currently
included in the binary package.
== Comment: #1 - Thorsten Diehl <thorsten.diehl at de.ibm.com> - 2016-01-29 11:40:11 ==
Patch for debian has already been submitted: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807442
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1539719/+subscriptions
More information about the foundations-bugs
mailing list