This actually only affects Ubuntu 18.04.

** Changed in: apport (Ubuntu Focal)
       Status: New => Invalid

** Changed in: apport (Ubuntu)
       Status: New => Fix Released

** Also affects: apport (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: apport (Ubuntu Bionic)
       Status: New => In Progress

** Changed in: apport (Ubuntu Bionic)
     Assignee: (unassigned) => Brian Murray (brian-murray)

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.

  apport's cloud-init-specific handling tracebacks on minimal cloud

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Bionic:
  In Progress
Status in apport source package in Focal:

Bug description:
  Steps to reproduce:

  1) Install multipass.
  2) `multipass launch
 -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/ crashed:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport/", line 198, in 
      symb['add_info'](report, ui)
    File "/usr/share/apport/package-hooks/", line 6, in add_info
      return cloudinit_add_info(report, ui)
    File "/usr/lib/python3/dist-packages/cloudinit/", line 123, in 
      attach_cloud_init_logs(report, ui)
    File "/usr/lib/python3/dist-packages/cloudinit/", line 57, in 
      'cloud-init-output.log.txt': 'cat /var/log/cloud-init-output.log'})
    File "/usr/lib/python3/dist-packages/apport/", line 444, in 
      sp = subprocess.Popen(_root_command_prefix() + [wrapper_path, 
    File "/usr/lib/python3.6/", line 729, in __init__
      restore_signals, start_new_session)
    File "/usr/lib/python3.6/", 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.)

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to