[Bug 1722564] Re: apport question will not accept multi-character responses
Adam Conrad
adconrad at 0c3.net
Tue Nov 28 23:10:35 UTC 2017
Hello Scott, or anyone else affected,
Accepted apport into xenial-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/apport/2.20.1-0ubuntu2.14 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, details of your
testing will help us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: apport (Ubuntu Xenial)
Status: New => Fix Committed
** Tags added: verification-needed-xenial
** Changed in: apport (Ubuntu Zesty)
Status: New => Fix Committed
** Tags added: verification-needed-zesty
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1722564
Title:
apport question will not accept multi-character responses
Status in Apport:
Confirmed
Status in apport package in Ubuntu:
Fix Released
Status in apport source package in Xenial:
Fix Committed
Status in apport source package in Zesty:
Fix Committed
Status in apport source package in Artful:
Fix Committed
Bug description:
=== Begin SRU Template ===
[Impact]
Packages which provide apport integration with more than 9 options in a choice will not be able to select options numbered >= 10 on the commandline using 'ubuntu-bug <package-name>'
[Test Case]
Overview:
1. Update to proposed versions of cloud-init v. 17.1 and apport v. <X>
2. Run 'ubuntu-bug cloud-init' attempt to report a bug on a cloud choice greater than 9
3. View report and make sure the proper cloud is reported
Script:
if [ ! -f './lxc-proposed-snapshot' ]; then
wget https://raw.githubusercontent.com/cloud-init/ubuntu-sru/master/bin/lxc-proposed-snapshot;
chmod 755 lxc-proposed-snapshot;
fi
for release in xenial artful; do
ref=$release-proposed;
echo "$release START --------------";
lxc-proposed-snapshot --proposed --publish $release $ref;
lxc init $ref test-$release;
lxc start test-$release;
lxc exec test-$release -- apt install apport;
lxc exec test-$release -- dpkg-query --show apport;
lxc exec test-$release -- ubuntu-bug cloud-init;
done
[Regression Potential]
Minimal. This bug only affects packages with >9 bug filing options for a given choice. Worst case, is bugs filed would incorrectly represent option 1 of a selection instead of option 1X.
=== End SRU Template ===
=== original description ===
the newly added cloud-init apport support shows a list of cloud providers and asks the user to select one. There are currently 18 options. For any option > 10, apport will just take the '1' that is typed as the answer.
It should obviously wait for more than one character or a carriage
return.
*** Please select the cloud vendor or environment in which this
instance is running
Choices:
1: Amazon - Ec2
2: AliYun
3: AltCloud
4: Azure
5: Bigstep
6: CloudSigma
7: CloudStack
8: DigitalOcean
9: GCE - Google Compute Engine
10: MAAS
11: NoCloud
12: OpenNebula
13: OpenStack
14: OVF
15: Scaleway
16: SmartOS
17: VMware
18: Other
C: Cancel
Please choose (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/C): 1
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: apport 2.20.7-0ubuntu2
ProcVersionSignature: Ubuntu 4.13.0-12.13-generic 4.13.3
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu2
Architecture: amd64
Date: Tue Oct 10 15:21:48 2017
PackageArchitecture: all
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1722564/+subscriptions
More information about the foundations-bugs
mailing list