[pve-devel] trousers error in latest test repo?
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Oct 6 10:51:16 CEST 2021
On 06.10.21 10:39, Victor Hooi wrote:
> Hi,
>
> Nope, I haven't edited /etc/init.d/trousers. (I did view it, because of this
> post
> <https://unix.stackexchange.com/questions/633563/can-not-start-trousers-service-giving-error-trousers-ioctl-25-inappropriat>
> and
> curiosity but didn't make any changes).
>
> I just tested a reinstall, as suggested - I still get an error:
hmm, but the installation or a new update itself exits Ok now, or?
As mentioned an error message can still be expected, I'll look into making it
seem less scary but FWICT there's no underlying cause that can get fixed,
at least short of rewriting tpm stuff; which I'd like to avoid ;-)
>
> root at mgmt1:/etc/apt/sources.list.d# apt install --reinstall trousers
>> Reading package lists... Done
>> Building dependency tree... Done
>> Reading state information... Done
>> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not
>> upgraded.
>> Need to get 137 kB of archives.
>> After this operation, 0 B of additional disk space will be used.
>> Get:1 http://download.proxmox.com/debian/pve bullseye/pvetest amd64
>> trousers amd64 0.3.14+fixed1-1.2+pve1 [137 kB]
>> Fetched 137 kB in 1s (115 kB/s)
>> (Reading database ... 49780 files and directories currently installed.)
>> Preparing to unpack .../trousers_0.3.14+fixed1-1.2+pve1_amd64.deb ...
>> Unpacking trousers (0.3.14+fixed1-1.2+pve1) over (0.3.14+fixed1-1.2+pve1)
>> ...
>> Setting up trousers (0.3.14+fixed1-1.2+pve1) ...
>> Job for trousers.service failed because the control process exited with
>> error code.
>> See "systemctl status trousers.service" and "journalctl -xe" for details.
>> invoke-rc.d: initscript trousers, action "restart" failed.
>> ● trousers.service - LSB: starts tcsd
>> Loaded: loaded (/etc/init.d/trousers; generated)
>> Active: failed (Result: exit-code) since Wed 2021-10-06 01:37:06 PDT;
>> 24ms ago
>> Docs: man:systemd-sysv-generator(8)
>> Process: 199367 ExecStart=/etc/init.d/trousers start (code=exited,
>> status=30)
>> CPU: 9ms
>
>
> Oct 06 01:37:06 mgmt1 systemd[1]: Starting LSB: starts tcsd...
> Oct 06 01:37:06 mgmt1 tcsd[199372]: TCSD TDDL[199372]: TrouSerS ioctl: (25)
> Inappropriate ioctl for device
> Oct 06 01:37:06 mgmt1 tcsd[199372]: TCSD TDDL[199372]: TrouSerS Falling
> back to Read/Write device support.
> Oct 06 01:37:06 mgmt1 tcsd[199372]: TCSD TCS[199372]: TrouSerS ERROR: TCS
> GetCapability failed with result = 0x1e
> Oct 06 01:37:06 mgmt1 trousers[199367]: Starting Trusted Computing daemon:
> tcsd
> Oct 06 01:37:06 mgmt1 trousers[199373]: failed!
> Oct 06 01:37:06 mgmt1 systemd[1]: trousers.service: Control process exited,
> code=exited, status=30/n/a
> Oct 06 01:37:06 mgmt1 systemd[1]: trousers.service: Failed with result
> 'exit-code'.
> Oct 06 01:37:06 mgmt1 systemd[1]: Failed to start LSB: starts tcsd.
> Processing triggers for man-db (2.9.4-2) ...
>
> What do you mean by whether I have a node?
Ah sorry for the confusion, I did mean a device file-node (not a PVE node),
but your ls output does not seem to suggest that you have any..
>
> root at mgmt1:/etc/apt/sources.list.d# ls -l /dev/tmp*
>> ls: cannot access '/dev/tmp*': No such file or directory
>
More information about the pve-devel
mailing list