[Bug 1484740] Re: 14.04 trousers version 0.3.11.2-1 fails to start with TPM device
Eric Desrochers
eric.desrochers at canonical.com
Thu Jun 9 16:37:40 UTC 2016
Here's a positive feedback for my hotfix package ....
It has been brought to my attention :
---
That appears to have done the trick. trousers installed cleanly with this package and opencryptoki & tpm-tools installed normally from our local mirror after that.
# APT output :
Selecting previously unselected package trousers.
(Reading database ... 132632 files and directories currently installed.)
Preparing to unpack trousers_0.3.11.2-1ubuntu1+hf20160806lp1484740_amd64.deb ...
Unpacking trousers (0.3.11.2-1ubuntu1+hf20160806lp1484740) ...
Setting up trousers (0.3.11.2-1ubuntu1+hf20160806lp1484740) ...
* Starting Trusted Computing daemon tcsd [ OK ]
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
---
Eric
--
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:
In Progress
Status in trousers source package in Trusty:
In Progress
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