this bug seems to be still present on ubuntu 13.10 as of today, and it
breaks apt/dpkg when trying to install 'trousers'.

the initscript tries to start tcsd under the 'tss' user:

execve("/sbin/start-stop-daemon", ["start-stop-daemon", "--start", "--
quiet", "--oknodo", "--pidfile", "/var/run/tcsd.pid", "--user", "tss", "
--chuid", "tss", "--exec", "/usr/sbin/tcsd", "--"], [/* 4 vars */]) = 0

but /dev/tpm0 is only accessible by root:

crw------- 1 root root 10, 224 dic 23 10:43 /dev/tpm0

and tcsd fails to start:
open("/dev/tpm0", O_RDWR)               = -1 EACCES (Permission denied)
returning error code 137.

after changing /dev/tpm0 ownership to 'tss:tss;, tcsd still fails to start 
because of (other) permission problems:
open("/var/lib/tpm/system.data", O_RDWR|O_CREAT, 0600) = -1 EACCES (Permission 
denied)

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

Title:
  Trousers fails to set tpm permissions properly.

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

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

Reply via email to