Comment 0 for bug 1826887

Revision history for this message
Lucy Llewellyn (lucyllewy) wrote :

The init script in /etc/init.d/trousers includes the following test on line 32:

if [ ! -e /dev/tpm* ]

This will fail whenever the wildcard expansion of /dev/tpm* returns more than one result with a message similar to `/etc/init.d/trousers: 32: [: /dev/tpm0: unexpected operator`.

On my Surface book I have two files which match /dev/tpm0 and /dev/tpmrm0.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: trousers 0.3.14+fixed1-1build1
Uname: Linux 5.0.9-surface-linux-surface x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Apr 29 15:17:49 2019
InstallationDate: Installed on 2019-04-29 (0 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
SourcePackage: trousers
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.tcsd.conf: [inaccessible: [Errno 13] Permission denied: '/etc/tcsd.conf']