Bug#945362: tpm-udev: Fails to install in systemd-nspawn container

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#945362: tpm-udev: Fails to install in systemd-nspawn container

Daniel Schepler-6
Package: tpm-udev
Version: 0.2
Severity: normal
X-Debbugs-Cc: [hidden email]

While trying to build packages in a systemd-nspawn container, I ran
into a failure of tpm-udev to install:

...
Preparing to unpack .../tpm-udev/tpm-udev_0.2_all.deb ...
Unpacking tpm-udev (0.2) ...
Selecting previously unselected package libtss2-esys0.
Preparing to unpack .../libtss2-esys0_2.3.1-2_amd64.deb ...
Unpacking libtss2-esys0 (2.3.1-2) ...
Selecting previously unselected package libtss2-dev.
Preparing to unpack .../libtss2-dev_2.3.1-2_amd64.deb ...
Unpacking libtss2-dev (2.3.1-2) ...
Setting up tpm-udev (0.2) ...
Adding group `tss' (GID 170) ...
Done.
Adding system user `tss' (UID 153) ...
Adding new user `tss' (UID 153) with group `tss' ...
Not creating home directory `/var/lib/tpm'.
Failed to send reload request: No such file or directory
Failed to write 'change' to
'/sys/devices/LNXSYSTM:00/LNXSYBUS:00/MSFT0101:00/tpm/tpm0/uevent':
Read-only file system
Failed to write 'add' to
'/sys/devices/LNXSYSTM:00/LNXSYBUS:00/MSFT0101:00/tpm/tpm0/uevent':
Read-only file system
dpkg: error processing package tpm-udev (--configure):
 installed tpm-udev package post-installation script subprocess
returned error exit status 1
dpkg: dependency problems prevent configuration of libtss2-esys0:
 libtss2-esys0 depends on tpm-udev; however:
  Package tpm-udev is not configured yet.

dpkg: error processing package libtss2-esys0 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libtss2-dev:
 libtss2-dev depends on libtss2-esys0 (= 2.3.1-2); however:
  Package libtss2-esys0 is not configured yet.

dpkg: error processing package libtss2-dev (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.9.0-1) ...
Processing triggers for libc-bin (2.29-3) ...
Errors were encountered while processing:
 tpm-udev
 libtss2-esys0
 libtss2-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Failed to process build dependencies

That, in turn, means that I cannot build such packages as src:fwupd,
src:openconnect, src:tpm2-abrmd in this container (this last one is
the one that first came up on my radar).
--
Daniel Schepler