Re: [systemd-devel] How to debug systemd-pcrphase-initrd.service failure

2023-12-06 Thread Renjaya Raga Zenta
Yes, I think now I understand that mkosi will build default initrd image without tpm2-tss libraries. Perhaps because the package names are different for each distro. I need to build the initrd image separately at first, then use it to build OS image with --initrd flag. Thanks. On Wed, Dec 6,

Re: [systemd-devel] How to debug systemd-pcrphase-initrd.service failure

2023-12-06 Thread Lennart Poettering
On Mi, 06.12.23 18:28, Renjaya Raga Zenta (ragaze...@gmail.com) wrote: > Hi, > > I am exploring OS image building with mkosi. It works great until I add TPM > 2.0 in qemu. > > I found that the systemd-pcrphase-initrd.service failed. There are 3 > pcrphase service: > > 1.

[systemd-devel] Manual start of user@.service failed with permission denied

2023-12-06 Thread Christopher Wong
Hi, I’m trying to do the following: root@host:~# systemctl set-environment XDG_RUNTIME_DIR="/run/user/503" root@host:~# systemctl start user@503.service On systemd 253.4, the user can be started manually, and I can list the directory: root@host:~# ls -la /run/user/503

Re: [systemd-devel] How to debug systemd-pcrphase-initrd.service failure

2023-12-06 Thread Daan De Meyer
Note that we also have `InitrdPackages=` in the latest mkosi release which allows you to add extra packages to the default initrd without having to build one separately. Cheers, Daan On Wed, 6 Dec 2023 at 14:26, Renjaya Raga Zenta wrote: > > Yes, I think now I understand that mkosi will build

Re: [systemd-devel] Manual start of user@.service failed with permission denied

2023-12-06 Thread Lennart Poettering
On Mi, 06.12.23 14:46, Christopher Wong (christopher.w...@axis.com) wrote: > Hi, > > I’m trying to do the following: > > root@host:~# systemctl set-environment > XDG_RUNTIME_DIR="/run/user/503" Why would you do that? user@.service automatically pulls in user-runtime-dir@.service which is

Re: [systemd-devel] Manual start of user@.service failed with permission denied

2023-12-06 Thread Luca Boccassi
On Wed, 6 Dec 2023 at 16:00, Christopher Wong wrote: > Hi, > > I’m trying to do the following: > > root@host:~# systemctl set-environment XDG_RUNTIME_DIR="/run/user/503" Why are you setting this? Anyway, enable debug level log and attach the output, otherwise it's hard to say

[systemd-devel] Can't get port mapping to work for https

2023-12-06 Thread Rob Ert
Hello all, I'm running a systemd-nspawn container started with machinectl using the following systemd.nspawn file in /etc/systemd/nspawn: [Exec] PrivateUsers=off Timezone=off [Network] VirtualEthernet=yes Port=tcp:23:22 Port=tcp:8080:80 Port=tcp:4433:443 The problem I'm having is that the port

[systemd-devel] How to debug systemd-pcrphase-initrd.service failure

2023-12-06 Thread Renjaya Raga Zenta
Hi, I am exploring OS image building with mkosi. It works great until I add TPM 2.0 in qemu. I found that the systemd-pcrphase-initrd.service failed. There are 3 pcrphase service: 1. systemd-pcrphase-initrd.service (failed) 2. systemd-pcrphase.service (ok) 3. systemd-pcrphase-sysinit.service

[systemd-devel] systemd 255 released

2023-12-06 Thread systemd tag bot
 A new, official systemd release has just  been  tagged . Please download the tarball here: https://github.com/systemd/systemd/archive/v255.tar.gz Changes since the previous release: Announcements of Future Feature Removals and Incompatible Changes: * Support for