Package: trousers
Version: 0.3.14+fixed1-1
Severity: important

Dear Maintainer,

here is the problem:

# apt install tpm-tools
[...]
Apr 08 12:33:44 xeelee trousers[12046]:  * Starting Trusted Computing daemon 
tcsd
Apr 08 12:33:44 xeelee trousers[12046]: /etc/init.d/trousers: 32: [: /dev/tpm0: 
unexpected operator

The problem comes from the fact that on this system, there are 2 /dev/tmp* 
devices:

# ls -l /dev/tpm*
crw------- 1 tss  tss   10,   224 Apr  8 12:33 /dev/tpm0
crw------- 1 root root 253, 65536 Apr  8 11:17 /dev/tpmrm0

BTW, see bug #787244.

Perhaps a solution would be to replace 
                if [ ! -e /dev/tpm* ]
with
                if [ ! -e /dev/tpm? ]


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages trousers depends on:
ii  adduser    3.117
ii  libc6      2.27-3
ii  libssl1.1  1.1.1~~pre4-1
ii  lsb-base   9.20170808

trousers recommends no packages.

trousers suggests no packages.

-- Configuration Files:
/etc/tcsd.conf [Errno 13] Permission denied: '/etc/tcsd.conf'

-- no debconf information

-- 
Laurent.

Reply via email to