2020-01-30 19:33:48 |
Dan Watkins |
bug |
|
|
added bug |
2020-02-04 21:38:08 |
Brian Murray |
tags |
|
rls-ff-incoming |
|
2020-02-06 17:30:53 |
Brian Murray |
nominated for series |
|
Ubuntu Focal |
|
2020-02-06 17:30:53 |
Brian Murray |
bug task added |
|
apport (Ubuntu Focal) |
|
2020-02-06 17:32:23 |
Brian Murray |
tags |
rls-ff-incoming |
focal |
|
2020-02-07 13:36:05 |
Francis Ginther |
tags |
focal |
focal id-5e3c4d71dc61a969457f7c09 |
|
2020-08-06 00:54:47 |
Brian Murray |
apport (Ubuntu Focal): status |
New |
Invalid |
|
2020-08-06 00:55:14 |
Brian Murray |
apport (Ubuntu): status |
New |
Fix Released |
|
2020-08-06 00:55:20 |
Brian Murray |
nominated for series |
|
Ubuntu Bionic |
|
2020-08-06 00:55:20 |
Brian Murray |
bug task added |
|
apport (Ubuntu Bionic) |
|
2020-08-06 00:55:28 |
Brian Murray |
apport (Ubuntu Bionic): status |
New |
In Progress |
|
2020-08-06 00:55:36 |
Brian Murray |
apport (Ubuntu Bionic): assignee |
|
Brian Murray (brian-murray) |
|
2020-08-06 01:01:20 |
Brian Murray |
marked as duplicate |
|
1821415 |
|
2020-08-06 01:02:08 |
Brian Murray |
removed duplicate marker |
1821415 |
|
|
2020-08-12 17:06:33 |
Brian Murray |
description |
Steps to reproduce:
1) Install multipass.
2) `multipass launch http://cloud-images.ubuntu.com/minimal/daily/bionic/current/bionic-minimal-cloudimg-amd64.img -n reproducer`
3) `multipass shell reproducer`
4) `ubuntu-bug cloud-init`
Expected behaviour:
Usual bug reporting flow (though, currently, I would really expect to see just the issue reported in bug 1861450).
Actual behaviour:
ERROR: hook /usr/share/apport/package-hooks/cloud-init.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 198, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/package-hooks/cloud-init.py", line 6, in add_info
return cloudinit_add_info(report, ui)
File "/usr/lib/python3/dist-packages/cloudinit/apport.py", line 123, in add_info
attach_cloud_init_logs(report, ui)
File "/usr/lib/python3/dist-packages/cloudinit/apport.py", line 57, in attach_cloud_init_logs
'cloud-init-output.log.txt': 'cat /var/log/cloud-init-output.log'})
File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 444, in attach_root_command_outputs
sp = subprocess.Popen(_root_command_prefix() + [wrapper_path, script_path])
File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pkexec': 'pkexec'
(As alluded to above, this also demonstrates bug 1861450 after the traceback is emitted.) |
Impact
------
It is not possible to run ubuntu-bug for some packages which gather information as root because pkexec does not work in non-graphical environments (LP: #1821415). This was worked around in Ubuntu 19.10 by not gathering any information that would require root access.
Test Case
---------
1) Install multipass.
2) `multipass launch http://cloud-images.ubuntu.com/minimal/daily/bionic/current/bionic-minimal-cloudimg-amd64.img -n reproducer`
3) `multipass shell reproducer`
4) `ubuntu-bug cloud-init`
Expected behaviour:
Usual bug reporting flow (though, currently, I would really expect to see just the issue reported in bug 1861450).
Actual behaviour:
ERROR: hook /usr/share/apport/package-hooks/cloud-init.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 198, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/package-hooks/cloud-init.py", line 6, in add_info
return cloudinit_add_info(report, ui)
File "/usr/lib/python3/dist-packages/cloudinit/apport.py", line 123, in add_info
attach_cloud_init_logs(report, ui)
File "/usr/lib/python3/dist-packages/cloudinit/apport.py", line 57, in attach_cloud_init_logs
'cloud-init-output.log.txt': 'cat /var/log/cloud-init-output.log'})
File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 444, in attach_root_command_outputs
sp = subprocess.Popen(_root_command_prefix() + [wrapper_path, script_path])
File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pkexec': 'pkexec'
(As alluded to above, this also demonstrates bug 1861450 after the traceback is emitted.)
Regression Potential
--------------------
None as we are just returning and empty list if pkexec is not available. |
|
2020-08-19 15:31:43 |
Brian Murray |
description |
Impact
------
It is not possible to run ubuntu-bug for some packages which gather information as root because pkexec does not work in non-graphical environments (LP: #1821415). This was worked around in Ubuntu 19.10 by not gathering any information that would require root access.
Test Case
---------
1) Install multipass.
2) `multipass launch http://cloud-images.ubuntu.com/minimal/daily/bionic/current/bionic-minimal-cloudimg-amd64.img -n reproducer`
3) `multipass shell reproducer`
4) `ubuntu-bug cloud-init`
Expected behaviour:
Usual bug reporting flow (though, currently, I would really expect to see just the issue reported in bug 1861450).
Actual behaviour:
ERROR: hook /usr/share/apport/package-hooks/cloud-init.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 198, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/package-hooks/cloud-init.py", line 6, in add_info
return cloudinit_add_info(report, ui)
File "/usr/lib/python3/dist-packages/cloudinit/apport.py", line 123, in add_info
attach_cloud_init_logs(report, ui)
File "/usr/lib/python3/dist-packages/cloudinit/apport.py", line 57, in attach_cloud_init_logs
'cloud-init-output.log.txt': 'cat /var/log/cloud-init-output.log'})
File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 444, in attach_root_command_outputs
sp = subprocess.Popen(_root_command_prefix() + [wrapper_path, script_path])
File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pkexec': 'pkexec'
(As alluded to above, this also demonstrates bug 1861450 after the traceback is emitted.)
Regression Potential
--------------------
None as we are just returning and empty list if pkexec is not available. |
Impact
------
It is not possible to run ubuntu-bug for some packages which gather information as root because pkexec does not work in non-graphical environments (LP: #1821415). This was worked around in Ubuntu 19.10 by not gathering any information that would require root access.
Test Case
---------
1) Install multipass.
2) `multipass launch http://cloud-images.ubuntu.com/minimal/daily/bionic/current/bionic-minimal-cloudimg-amd64.img -n reproducer`
3) `multipass shell reproducer`
4) `ubuntu-bug cloud-init`
Expected behaviour:
Usual bug reporting flow (though, currently, I would really expect to see just the issue reported in bug 1861450).
Actual behaviour:
ERROR: hook /usr/share/apport/package-hooks/cloud-init.py crashed:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport/report.py", line 198, in _run_hook
symb['add_info'](report, ui)
File "/usr/share/apport/package-hooks/cloud-init.py", line 6, in add_info
return cloudinit_add_info(report, ui)
File "/usr/lib/python3/dist-packages/cloudinit/apport.py", line 123, in add_info
attach_cloud_init_logs(report, ui)
File "/usr/lib/python3/dist-packages/cloudinit/apport.py", line 57, in attach_cloud_init_logs
'cloud-init-output.log.txt': 'cat /var/log/cloud-init-output.log'})
File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 444, in attach_root_command_outputs
sp = subprocess.Popen(_root_command_prefix() + [wrapper_path, script_path])
File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pkexec': 'pkexec'
(As alluded to above, this also demonstrates bug 1861450 after the traceback is emitted.)
Regression Potential
--------------------
Little as we are just returning and empty list if pkexec is not available, however it is always possible that the code is misformated or that there is a logic error in it. A regression test would be to run the ubuntu-bug cloud-init on a system with pkexec installed. |
|
2020-08-20 13:42:03 |
Robie Basak |
apport (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2020-08-20 13:42:04 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-08-20 13:42:06 |
Robie Basak |
bug |
|
|
added subscriber SRU Verification |
2020-08-20 13:42:08 |
Robie Basak |
tags |
focal id-5e3c4d71dc61a969457f7c09 |
focal id-5e3c4d71dc61a969457f7c09 verification-needed verification-needed-bionic |
|
2020-08-24 17:07:40 |
Brian Murray |
tags |
focal id-5e3c4d71dc61a969457f7c09 verification-needed verification-needed-bionic |
focal id-5e3c4d71dc61a969457f7c09 verification-done verification-done-bionic |
|
2020-08-27 11:28:28 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-08-27 11:28:27 |
Launchpad Janitor |
apport (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2020-10-14 15:48:08 |
Matthieu Clemenceau |
tags |
focal id-5e3c4d71dc61a969457f7c09 verification-done verification-done-bionic |
focal fr-191 id-5e3c4d71dc61a969457f7c09 verification-done verification-done-bionic |
|