I can see the issue on Ubuntu 14.04.  This is being cause by incorrect
udev rules for the /dev/tpm0 node.  Trousers init should change
ownership to tss:tss of /dev/tpm0 but is failing to do so.  Worked
around by:

Attempt to install trousers and it fails:
sudo apt-get install trousers
Reading package lists... Done
Building dependency tree       
Reading state information... Done
trousers is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
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
Errors were encountered while processing:
 trousers
E: Sub-process /usr/bin/dpkg returned an error code (1)

Manually take ownership of /dev/tpm0:
sudo chown tss /dev/tpm0
sudo chgrp tss /dev/tpm0

Force reinstallation of trousers and it succeeds:
sudo apt-get install -f trousers
Reading package lists... Done
Building dependency tree       
Reading state information... Done
trousers is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up trousers (0.3.11.2-1) ...
 * Starting Trusted Computing daemon tcsd                                [ OK ]

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

Title:
  package trousers 0.3.11.2-1 failed to install/upgrade

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to