[Bug 1826887] [NEW] Trousers cannot start when more than one file matches /dev/tpm*
Daniel Llewellyn
daniel at bowlhat.net
Mon Apr 29 14:20:56 UTC 2019
Public bug reported:
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']
---
ProblemType: Bug
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
DistroRelease: Ubuntu 19.04
InstallationDate: Installed on 2019-04-29 (0 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
Package: trousers 0.3.14+fixed1-1build1
PackageArchitecture: amd64
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm-256color
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
Tags: disco
Uname: Linux 5.0.9-surface-linux-surface x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
** Affects: trousers (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug apport-collected disco
** Tags added: apport-collected
** Description changed:
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']
+ ---
+ ProblemType: Bug
+ ApportVersion: 2.20.10-0ubuntu27
+ Architecture: amd64
+ DistroRelease: Ubuntu 19.04
+ InstallationDate: Installed on 2019-04-29 (0 days ago)
+ InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
+ Package: trousers 0.3.14+fixed1-1build1
+ PackageArchitecture: amd64
+ ProcEnviron:
+ LANGUAGE=en_GB:en
+ TERM=xterm-256color
+ PATH=(custom, no user)
+ LANG=en_GB.UTF-8
+ SHELL=/bin/bash
+ Tags: disco
+ Uname: Linux 5.0.9-surface-linux-surface x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups:
+
+ _MarkForUpload: True
--
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/1826887
Title:
Trousers cannot start when more than one file matches /dev/tpm*
Status in trousers package in Ubuntu:
New
Bug description:
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']
---
ProblemType: Bug
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
DistroRelease: Ubuntu 19.04
InstallationDate: Installed on 2019-04-29 (0 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
Package: trousers 0.3.14+fixed1-1build1
PackageArchitecture: amd64
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm-256color
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
Tags: disco
Uname: Linux 5.0.9-surface-linux-surface x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/trousers/+bug/1826887/+subscriptions
More information about the foundations-bugs
mailing list