[Bug 1484740] Re: 14.04 trousers version 0.3.11.2-1 fails to start with TPM device

Brian Murray brian at ubuntu.com
Thu Jun 16 20:26:43 UTC 2016


Hello Ryan, or anyone else affected,

Accepted trousers into trusty-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/trousers/0.3.11.2-1ubuntu1 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 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 to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  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: trousers (Ubuntu Trusty)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to trousers in Ubuntu.
https://bugs.launchpad.net/bugs/1484740

Title:
  14.04 trousers version 0.3.11.2-1 fails to start with TPM device

Status in trousers package in Ubuntu:
  Fix Released
Status in trousers source package in Trusty:
  Fix Committed

Bug description:
  [Impact]

  This leaves the trousers package in a half-config state, preventing
  deployment of TPM.

  # DPKG output
  ...
  iF trousers 0.3.11.2-1 amd64 open-source TCG Software Stack (daemon)
  ...

  # APT output
  ...
  Setting up trousers (0.3.11.2-1) ...
   * Starting Trusted Computing daemon tcsd [fail]
  invoke-rc.d: initscript trousers, action "start" failed.
  dpkg: error processing package trousers (--configure):
   subprocess installed post-installation script returned error exit status 137
  Processing triggers for ureadahead (0.100.0-16) ...
  Errors were encountered while processing:
   trousers
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  # /var/log/apt/history.log
  Start-Date: 2016-06-08 12:30:12
  Commandline: apt-get install opencryptoki trousers
  Install: trousers:amd64 (0.3.11.2-1)
  Error: Sub-process /usr/bin/dpkg returned an error code (1)
  End-Date: 2016-06-08 12:30:12

  # /var/log/syslog
  Jun 8 12:30:12 <HOSTNAME> TCSD TDDL[14101]: TrouSerS ERROR: Could not find a device to open!

  [Test Case]

  Installing trousers (<= 0.3.11.2-1) package on Trusty (14.04 LTS)
  using TPM device (Trusted Platform Module)

  # Check for TPM device
  $ ls /dev/tpm?

  # Install trousers
  $ sudo apt-get install trouser

  [Regression Potential]

  None expected.
  The postinst script is already in Wily/Xenial and in the upstream debian package.

  # Xenial changelog :

  trousers (0.3.13-1) unstable; urgency=medium
  ...
  * Try to workaround systemd/udev names when reloading rules (Closes: #739485)
  ...

  # Debian bug:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739485

  [Original Description]

  Ubuntu Version:
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=14.04
  DISTRIB_CODENAME=trusty
  DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
  NAME="Ubuntu"
  VERSION="14.04.2 LTS, Trusty Tahr"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu 14.04.2 LTS"
  VERSION_ID="14.04"
  HOME_URL="http://www.ubuntu.com/"
  SUPPORT_URL="http://help.ubuntu.com/"
  BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

  the standard apt repositories are downloading an old broken version of
  trousers: 0.3.11.2-1

  during trousers installation, the service fails to start:
  apt-get install trousers
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following NEW packages will be installed:
    trousers
  0 upgraded, 1 newly installed, 0 to remove and 125 not upgraded.
  Need to get 0 B/137 kB of archives.
  After this operation, 412 kB of additional disk space will be used.
  Selecting previously unselected package trousers.
  (Reading database ... 74822 files and directories currently installed.)
  Preparing to unpack .../trousers_0.3.11.2-1_amd64.deb ...
  Unpacking trousers (0.3.11.2-1) ...
  Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  Processing triggers for ureadahead (0.100.0-16) ...
  Setting up trousers (0.3.11.2-1) ...
   * Starting Trusted Computing daemon tcsd                                [fail]
  invoke-rc.d: initscript trousers, action "start" failed.
  dpkg: error processing package trousers (--configure):
   subprocess installed post-installation script returned error exit status 137
  Processing triggers for ureadahead (0.100.0-16) ...
  Errors were encountered while processing:
   trousers
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  can the apt repositories for 14.04.2 LTS be updated to include the
  latest version of trousers 0.3.13-3? this issue does not exist if i
  install the package manually.

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



More information about the foundations-bugs mailing list