Your message dated Tue, 19 Aug 2025 20:50:59 +0000
with message-id <[email protected]>
and subject line Bug#1023368: fixed in trousers 0.3.15-1
has caused the Debian Bug report #1023368,
regarding trousers: invalid test at line 32
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1023368: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023368
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
File: /etc/init.d/trousers
Package: trousers
Version: 0.3.14+fixed1-1.2
Severity: normal
X-Debbugs-Cc: none
Dear Maintainer,
The trousers startup script fails with the following messages in the
journal.
--8<---------------cut here---------------start------------->8---
Nov 02 17:37:12 darkstar trousers[179711]: Starting Trusted Computing daemon:
tcsd/etc/init.d/trousers: 32: [: /dev/tpm0: unexpected operator
Nov 02 17:37:12 darkstar tcsd[179717]: TCSD TDDL[179717]: TrouSerS ioctl: (25)
Inappropriate ioctl for device
Nov 02 17:37:12 darkstar tcsd[179717]: TCSD TDDL[179717]: TrouSerS Falling back
to Read/Write device support.
Nov 02 17:37:12 darkstar tcsd[179717]: TCSD TCS[179717]: TrouSerS ERROR: TCS
GetCapability failed with result = 0x1e
Nov 02 17:37:12 darkstar trousers[179718]: failed!
Nov 02 17:37:12 darkstar systemd[1]: trousers.service: Control process exited,
code=exited, status=30/n/a
Nov 02 17:37:12 darkstar systemd[1]: trousers.service: Failed with result
'exit-code'.
Nov 02 17:37:12 darkstar systemd[1]: Failed to start LSB: starts tcsd.
--8<---------------cut here---------------end--------------->8---
The line 32 mentioned above is
if [ ! -e /dev/tpm* ]
which fails because there are two files that match the pattern
--8<---------------cut here---------------start------------->8---
$ ls -l /dev/tpm*
crw-rw---- 1 tss root 10, 224 Nov 2 05:30 /dev/tpm0
crw-rw---- 1 tss tss 244, 65536 Nov 2 05:30 /dev/tpmrm0
--8<---------------cut here---------------end--------------->8---
One possible way to fix it is to change the test to
if ! ls /dev/tpm* >/dev/null 2>&1
-- System Information:
Debian Release: 11.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: armel, arm64
Kernel: Linux 5.10.0-15-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages trousers depends on:
ii libc6 2.31-13+deb11u5
ii libssl1.1 1.1.1n-0+deb11u3
ii lsb-base 11.1.0
ii tpm-udev 0.5
trousers recommends no packages.
trousers suggests no packages.
-- Configuration Files:
/etc/tcsd.conf [Errno 13] Brak dostępu: '/etc/tcsd.conf'
-- no debconf information
--
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: trousers
Source-Version: 0.3.15-1
Done: наб <[email protected]>
We believe that the bug you reported is fixed in the latest version of
trousers, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
наб <[email protected]> (supplier of updated trousers package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 01 Mar 2025 18:40:58 +0100
Source: trousers
Architecture: source
Version: 0.3.15-1
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <[email protected]>
Changed-By: наб <[email protected]>
Closes: 1009650 1023368 1099957 1108857
Changes:
trousers (0.3.15-1) unstable; urgency=medium
.
[ Andreas Tille ]
* QA upload.
Closes: #1108857
* Maintain package in Debian team on Salsa
Closes: #1099957, #1009650
* Secure URI in Homepage
* Secure URI in watch file
* Build-Depends: s/pkg-config/pkgconf/
* d/copyright: Drop old FSF address
* Drop lsb-base from Depends
* Drop explicit debug package
* cme fix dpkg-control
* Permit failure of blhc in Salsa CI
* Trim trailing whitespace.
.
[ наб ]
* d/trousers.init: don't fail if more than one match for /dev/tpm*
Closes: #1023368
Checksums-Sha1:
b25f725a002ca8b6a840aaf3ff793917daeaad0f 2000 trousers_0.3.15-1.dsc
a1240768e09a11a8383ccfbd696e1dbd6020d9ab 16008 trousers_0.3.15-1.debian.tar.xz
6abfa013ad6bdb001b7baf78d0bf38fa57035b42 7050 trousers_0.3.15-1_amd64.buildinfo
Checksums-Sha256:
d96c7529b3488fae2178f22e5877ea94e6aef87356bf39202105b42efd7404f7 2000
trousers_0.3.15-1.dsc
54414610b8958dee99db3b6c3120c8121a4a8ab8c54763f488187b95c390935e 16008
trousers_0.3.15-1.debian.tar.xz
4bfe8c4c62f0e554c0b77fe519a91d076712bc4e62d6e9a5ebcf8dba404d7e77 7050
trousers_0.3.15-1_amd64.buildinfo
Files:
93c362bcf124e566a9f761bc95872839 2000 admin optional trousers_0.3.15-1.dsc
3a727fea036d19157ffde55432ee6d9d 16008 admin optional
trousers_0.3.15-1.debian.tar.xz
c6a47bd19d08b745725209167b53f7ce 7050 admin optional
trousers_0.3.15-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmiREVMRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtF3ZRAAlEtNY3tjBQS98NnJHg/0IiyjHDTPK80N
vocWrzb/ZbRdlMrob08a4913EsRNnqdo5Ds9fWLZijYPkE1uVSdYyz5ffd9h4Cy2
pLck0j5KAZIK+oRILSaBTLj/pezLjrBx2bD+Cma+PsESFGxOb8/XggW8AHXXYTQ4
JxhCpls3Up56OR+DQWKDEi5I1rqRwO/HWLSbfR0J0MhR0MfSwNFzpTJgbCHv0mhx
juxdlC4Qxoejk4Dc6rWs5enpKQX0pRPx4WNirvSzxG4r83f5sTCsgNcxvx8A409h
TI0r06TQkLk9CttWMOKUvlAlmAPzCNgEtXbMjhjrYxMvFogmTe+aYSGRw+OVz4S+
4j88KnWuTd+TRdCeBdEpXwNmir9ckjbhBDAQhZG5y+RfBnRu3wgf1/+JrEuxlpJS
slK5VgULCsTJSmLkn3LZchPtKAim98qar925GJ0NmE8yTH/jWjv+luQ4f09v+zj9
DNtnGflAezneOMIezVcZOKWNh7veOXC+U+3fUNoj/SCjnzRelQQnZ2TibtFy2Tdl
6SZp7PJh8y2AFuW16PkgaZhbWZ/T+1bBAoJ+RL0cdhlyTxWYSiqtqmydmdm0x0GQ
JREnW7HRfXdvo8AVyAIh+ITSzPmVeBSRfYfSNaEItje3vSw2dl3GPwisDAm4BJiN
/5K93whz3UY=
=sOz+
-----END PGP SIGNATURE-----
pgpqIjaqgsOrM.pgp
Description: PGP signature
--- End Message ---