public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Victor Hooi <victorhooi@yahoo.com>
Cc: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] trousers error in latest test repo?
Date: Wed, 6 Oct 2021 10:51:16 +0200	[thread overview]
Message-ID: <59539fdd-ee31-5b6a-fa3e-e049a7baac45@proxmox.com> (raw)
In-Reply-To: <CAMnnoU+GBL5H0hBNSxNa=W63jG-yFHbG4syUCb4oSq0C3tinEQ@mail.gmail.com>

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@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@mgmt1:/etc/apt/sources.list.d# ls -l /dev/tmp*
>> ls: cannot access '/dev/tmp*': No such file or directory
> 






  reply	other threads:[~2021-10-06  8:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAMnnoUKQCHYBCz6_chonTW9Az73N1kgTBGs6Bsw2K=CqdGK17g.ref@mail.gmail.com>
2021-10-05 22:51 ` Victor Hooi
2021-10-06  7:17   ` Thomas Lamprecht
2021-10-06  8:15     ` Victor Hooi
2021-10-06  8:32       ` Thomas Lamprecht
2021-10-06  8:39         ` Victor Hooi
2021-10-06  8:51           ` Thomas Lamprecht [this message]
2021-10-06  9:03           ` Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59539fdd-ee31-5b6a-fa3e-e049a7baac45@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=victorhooi@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal