← Back to team overview

touch-packages team mailing list archive

[Bug 1504663] [NEW] apport-cli hangs during prompt for authentication password

 

Public bug reported:

After a fresh install of Ubuntu Server 15.04 on an HP Pavilion 15-f039wv laptop, I wanted to report an installation bug.  In the newly installed server I ran the command:
    apport-bug debian-installer
(https://wiki.ubuntu.com/Bugs/FindRightPackage says to use debian-installer as the package name for this situation)
It produced the following output (lines of only equal signs not included):
==========================================

*** Collecting problem information

The collected information can be sent to the developers to improve the application.  This might take a few minutes.
..dpkg-query: no packages found matching debian-installer
....==== AUTHENTICATING FOR com.ubuntu.apport.root-info ===
Authentication is required to collect system information for this problem report
Authenticating as: <the install full user name>,,, (<the install user>)
Password: ..........................................................................................................................................................
.............................................................................................................................................................................
==========================================

where <the install full user name> and <the install user> were values I entered during the install and were for the user I was logged in as at the time of running the command, although the actual values are redacted for this public bug report.
There were a total of 32 lines of period on a 17-inch display, more than 5440 periods, that were regularly displayed over more than 40 minutes.

I finally hit Ctl-C, and got the additional messages (lines of only equal signs not included):
==========================================
==== AUTHENTICATION FOR com.ubuntu.apport.root-info ===
Authentication is required to collect system information for this problem report
Authenticating as: <the install full user name>,,, (<the install user>)
Password: 
==========================================

This time the blinking cursor waited after the "Password: " prompt.

Not knowing (or being able to find in man pages) what kind of password I should use, I again pressed Ctl-C, which produced the following messages (lines of only equal signs not included):
==========================================
Exception ignored in <module 'threading' from '/usr/lib/python3.4/threading.py'>
Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.py", line1294, in _shutdown
    t.join()
  File "/usr/lib/python3.4/threading.py", line 1060, in join
    self._wait_for_tstate_lock()
  File "/usr/lib/python3.4/threading.py", line 1076, in _wait_for_tstate_lock
    elif lock.acquire(block, timeout):
Keyboard Interrupt

==========================================

Where "<module 'threading' from '/usr/lib/python3.4/threading.py'>" is
what was actually displayed.

This terminated my apport-bug command and returned to the command
prompt.

I subsequently submitted the bug through the Launchpad web interface.

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1504663

Title:
  apport-cli hangs during prompt for authentication password

Status in apport package in Ubuntu:
  New

Bug description:
  After a fresh install of Ubuntu Server 15.04 on an HP Pavilion 15-f039wv laptop, I wanted to report an installation bug.  In the newly installed server I ran the command:
      apport-bug debian-installer
  (https://wiki.ubuntu.com/Bugs/FindRightPackage says to use debian-installer as the package name for this situation)
  It produced the following output (lines of only equal signs not included):
  ==========================================

  *** Collecting problem information

  The collected information can be sent to the developers to improve the application.  This might take a few minutes.
  ..dpkg-query: no packages found matching debian-installer
  ....==== AUTHENTICATING FOR com.ubuntu.apport.root-info ===
  Authentication is required to collect system information for this problem report
  Authenticating as: <the install full user name>,,, (<the install user>)
  Password: ..........................................................................................................................................................
  .............................................................................................................................................................................
  ==========================================

  where <the install full user name> and <the install user> were values I entered during the install and were for the user I was logged in as at the time of running the command, although the actual values are redacted for this public bug report.
  There were a total of 32 lines of period on a 17-inch display, more than 5440 periods, that were regularly displayed over more than 40 minutes.

  I finally hit Ctl-C, and got the additional messages (lines of only equal signs not included):
  ==========================================
  ==== AUTHENTICATION FOR com.ubuntu.apport.root-info ===
  Authentication is required to collect system information for this problem report
  Authenticating as: <the install full user name>,,, (<the install user>)
  Password: 
  ==========================================

  This time the blinking cursor waited after the "Password: " prompt.

  Not knowing (or being able to find in man pages) what kind of password I should use, I again pressed Ctl-C, which produced the following messages (lines of only equal signs not included):
  ==========================================
  Exception ignored in <module 'threading' from '/usr/lib/python3.4/threading.py'>
  Traceback (most recent call last):
    File "/usr/lib/python3.4/threading.py", line1294, in _shutdown
      t.join()
    File "/usr/lib/python3.4/threading.py", line 1060, in join
      self._wait_for_tstate_lock()
    File "/usr/lib/python3.4/threading.py", line 1076, in _wait_for_tstate_lock
      elif lock.acquire(block, timeout):
  Keyboard Interrupt

  ==========================================

  Where "<module 'threading' from '/usr/lib/python3.4/threading.py'>" is
  what was actually displayed.

  This terminated my apport-bug command and returned to the command
  prompt.

  I subsequently submitted the bug through the Launchpad web interface.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1504663/+subscriptions