2018-03-30 21:10:15 |
Brian Murray |
bug |
|
|
added bug |
2018-03-30 21:10:35 |
Brian Murray |
tags |
|
bionic snaps |
|
2018-03-31 12:22:11 |
Francis Ginther |
tags |
bionic snaps |
bionic id-5abea8119060195b844876ec snaps |
|
2018-10-24 20:51:02 |
Brian Murray |
apport (Ubuntu): status |
New |
In Progress |
|
2018-10-24 20:51:07 |
Brian Murray |
apport (Ubuntu): importance |
Undecided |
High |
|
2018-10-24 20:51:10 |
Brian Murray |
apport (Ubuntu): assignee |
|
Brian Murray (brian-murray) |
|
2018-10-24 22:05:03 |
Launchpad Janitor |
branch linked |
|
lp:~brian-murray/apport/executable-snap-bin |
|
2018-11-01 22:38:18 |
Launchpad Janitor |
apport (Ubuntu): status |
In Progress |
Fix Released |
|
2018-11-01 23:11:04 |
Brian Murray |
nominated for series |
|
Ubuntu Cosmic |
|
2018-11-01 23:11:04 |
Brian Murray |
bug task added |
|
apport (Ubuntu Cosmic) |
|
2018-11-01 23:11:04 |
Brian Murray |
nominated for series |
|
Ubuntu Bionic |
|
2018-11-01 23:11:04 |
Brian Murray |
bug task added |
|
apport (Ubuntu Bionic) |
|
2018-11-01 23:11:11 |
Brian Murray |
apport (Ubuntu Bionic): status |
New |
Triaged |
|
2018-11-01 23:11:15 |
Brian Murray |
apport (Ubuntu Cosmic): status |
New |
Triaged |
|
2018-11-01 23:11:18 |
Brian Murray |
apport (Ubuntu Bionic): importance |
Undecided |
Low |
|
2018-11-01 23:11:21 |
Brian Murray |
apport (Ubuntu Cosmic): importance |
Undecided |
Low |
|
2018-11-02 16:29:41 |
Brian Murray |
description |
apport's ui.py file contains the following code:
809 # executable?
810 elif '/' in self.args[0]:
811 pkg = apport.packaging.get_file_package(self.args[0])
812 if not pkg:
813 optparser.error('%s does not belong to a package.' % self.args[0])
814 sys.exit(1)
815 self.args = []
816 self.options.filebug = True
817 self.options.package = pkg
This will not provide any useful information about what to do if the 'executable' is provided by a snap. Information similar to https://code.launchpad.net/~juliank/ubuntu/bionic/apport/snap/+merge/342207 should be provided if the path is from a snap. |
[Impact]
ubuntu-bug responds with a misleading statement asked to report a bug about an executable path which starts with /snap/bin
[Test Case]
1) Run ubuntu-bug /snap/bin/juju
2) Read "/snap/bin/juju does not belong to a package"
With the version of apport in -proposed you'll receive a more informative message about where you might get help regarding the issue you are experiencing.
[Regression Potential]
The new code only affects executables that start with '/snap/bin' so the only danger is if the newly added code contains an error which would cause a traceback.
Original Report
---------------
apport's ui.py file contains the following code:
809 # executable?
810 elif '/' in self.args[0]:
811 pkg = apport.packaging.get_file_package(self.args[0])
812 if not pkg:
813 optparser.error('%s does not belong to a package.' % self.args[0])
814 sys.exit(1)
815 self.args = []
816 self.options.filebug = True
817 self.options.package = pkg
This will not provide any useful information about what to do if the 'executable' is provided by a snap. Information similar to https://code.launchpad.net/~juliank/ubuntu/bionic/apport/snap/+merge/342207 should be provided if the path is from a snap. |
|
2018-11-02 16:31:27 |
Brian Murray |
description |
[Impact]
ubuntu-bug responds with a misleading statement asked to report a bug about an executable path which starts with /snap/bin
[Test Case]
1) Run ubuntu-bug /snap/bin/juju
2) Read "/snap/bin/juju does not belong to a package"
With the version of apport in -proposed you'll receive a more informative message about where you might get help regarding the issue you are experiencing.
[Regression Potential]
The new code only affects executables that start with '/snap/bin' so the only danger is if the newly added code contains an error which would cause a traceback.
Original Report
---------------
apport's ui.py file contains the following code:
809 # executable?
810 elif '/' in self.args[0]:
811 pkg = apport.packaging.get_file_package(self.args[0])
812 if not pkg:
813 optparser.error('%s does not belong to a package.' % self.args[0])
814 sys.exit(1)
815 self.args = []
816 self.options.filebug = True
817 self.options.package = pkg
This will not provide any useful information about what to do if the 'executable' is provided by a snap. Information similar to https://code.launchpad.net/~juliank/ubuntu/bionic/apport/snap/+merge/342207 should be provided if the path is from a snap. |
[Impact]
ubuntu-bug responds with a misleading statement asked to report a bug about an executable path which starts with /snap/bin and the response is different than if you were to use the snap name e.g. ubuntu-bug juju
[Test Case]
1) Run ubuntu-bug /snap/bin/juju
2) Read "/snap/bin/juju does not belong to a package"
With the version of apport in -proposed you'll receive a more informative message about where you might get help regarding the issue you are experiencing.
[Regression Potential]
The new code only affects executables that start with '/snap/bin' so the only danger is if the newly added code contains an error which would cause a traceback.
Original Report
---------------
apport's ui.py file contains the following code:
809 # executable?
810 elif '/' in self.args[0]:
811 pkg = apport.packaging.get_file_package(self.args[0])
812 if not pkg:
813 optparser.error('%s does not belong to a package.' % self.args[0])
814 sys.exit(1)
815 self.args = []
816 self.options.filebug = True
817 self.options.package = pkg
This will not provide any useful information about what to do if the 'executable' is provided by a snap. Information similar to https://code.launchpad.net/~juliank/ubuntu/bionic/apport/snap/+merge/342207 should be provided if the path is from a snap. |
|
2018-11-02 16:31:35 |
Brian Murray |
apport (Ubuntu Bionic): status |
Triaged |
In Progress |
|
2018-11-02 16:31:39 |
Brian Murray |
apport (Ubuntu Bionic): assignee |
|
Brian Murray (brian-murray) |
|
2018-11-02 16:31:43 |
Brian Murray |
apport (Ubuntu Cosmic): status |
Triaged |
In Progress |
|
2018-11-02 16:31:47 |
Brian Murray |
apport (Ubuntu Cosmic): assignee |
|
Brian Murray (brian-murray) |
|
2018-11-03 01:05:37 |
Steve Langasek |
apport (Ubuntu Cosmic): status |
In Progress |
Fix Committed |
|
2018-11-03 01:05:40 |
Steve Langasek |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-11-03 01:05:42 |
Steve Langasek |
bug |
|
|
added subscriber SRU Verification |
2018-11-03 01:05:46 |
Steve Langasek |
tags |
bionic id-5abea8119060195b844876ec snaps |
bionic id-5abea8119060195b844876ec snaps verification-needed verification-needed-cosmic |
|
2018-11-05 19:46:33 |
Brian Murray |
tags |
bionic id-5abea8119060195b844876ec snaps verification-needed verification-needed-cosmic |
bionic id-5abea8119060195b844876ec snaps verification-done-cosmic verification-needed |
|
2018-11-05 20:28:42 |
Steve Langasek |
apport (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2018-11-05 20:28:48 |
Steve Langasek |
tags |
bionic id-5abea8119060195b844876ec snaps verification-done-cosmic verification-needed |
bionic id-5abea8119060195b844876ec snaps verification-done-cosmic verification-needed verification-needed-bionic |
|
2018-11-05 22:10:50 |
Brian Murray |
tags |
bionic id-5abea8119060195b844876ec snaps verification-done-cosmic verification-needed verification-needed-bionic |
bionic id-5abea8119060195b844876ec snaps verification-done-bionic verification-done-cosmic verification-needed |
|
2018-11-12 17:25:56 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-11-12 17:26:13 |
Launchpad Janitor |
apport (Ubuntu Cosmic): status |
Fix Committed |
Fix Released |
|
2018-11-12 17:27:14 |
Launchpad Janitor |
apport (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-12-18 22:24:22 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-core-dev/ubuntu/disco/apport/ubuntu |
|