[systemd-devel] How to set the timeout of emergency mode

2024-06-10 Thread Mark Zhang (NSB)
Hello Experts, Consult one question about how to set the timeout of emergency mode? Scenario: We have encountered one problem of Openstack host, and the host was up at the end, and all things are good from host level after that. But the VM stuck in the emergency mode forever. If we input ctrl+D,

[systemd-devel] how to automate undirected UDP broadcast route for linklocal addresses?

2024-06-10 Thread Bill Plunkett
I have a yocto-hardknott (systemd v247) embedded system using link local addressing. Undirected UDP broadcasts (i.e. dest ip = 255.255.255.255) are failing with a 'Network is unreachable' error. I've been able to fix this with the 'route add' command shown below, but would prefer to automate it w

Re: [systemd-devel] sysext merge of /usr/local

2024-06-10 Thread Itxaka Serrano Garcia
Ah, I guess this is because overlayfs does not respect any underlying mounts in the /usr so they get lost So this has nothing to do with sysext. In any case, is this a valid use case that we can see happening? Or now that we are here already, if anyone got a suggestion it would be welcome, otherw

Re: [systemd-devel] Hiding systemd-cryptsetup password prompt

2024-06-10 Thread Sergio Arroutbi
Hello Lennart. Thank you so much for clarifying. This is right now pretty much more clear to me. On Fri, Jun 7, 2024 at 9:32 AM Lennart Poettering wrote: > On Do, 06.06.24 19:42, Sergio Arroutbi (sarro...@redhat.com) wrote: > > > > > I miss an option where systemd-cryptsetup is executed headless

[systemd-devel] sysext merge of /usr/local

2024-06-10 Thread Itxaka Serrano Garcia
Hey again, I'm back with more annoying questions about sysext :D According to the docs, sysext only "extends" the existing usr/opt/etc with the sysext contents but we are seeing a different thing here: root@cos-recovery:~# stat /usr/local/file2 File: /usr/local/file2 Size: 0 Blocks:

Re: [systemd-devel] ASG/LPC Calls for Proposals deadline reminder

2024-06-10 Thread Luca Boccassi
On Mon, 10 Jun 2024 at 13:09, Luca Boccassi wrote: > > Hi, > > We are organizing or co-organizing two conferences in September - a > microconf at LPC in Vienna, and ASG in Berlin. The CFPs are open and > the clock is ticking, especially for ASG, so I encourage anybody who > has an interesting and

[systemd-devel] ASG/LPC Calls for Proposals deadline reminder

2024-06-10 Thread Luca Boccassi
Hi, We are organizing or co-organizing two conferences in September - a microconf at LPC in Vienna, and ASG in Berlin. The CFPs are open and the clock is ticking, especially for ASG, so I encourage anybody who has an interesting and relevant topic to consider submitting an abstract: ASG (deadline

[systemd-devel] ioctl calls from within sandboxed unit

2024-06-10 Thread Moritz Sanft
Hi, I'm currently trying to execute systemd-dissect from within a quite sandboxed service. I've set PrivateDevices = "no" and DeviceAllow to block-loop and loop-control. However, systemd-dissect still runs into an error when trying to talk to the loop device: ioctl(6, BLKPG, ***op=BLKPG_DEL_

Re: [systemd-devel] soft-reboot and service templates

2024-06-10 Thread Lennart Poettering
On Mi, 05.06.24 14:58, Luca Boccassi (luca.bocca...@gmail.com) wrote: > On Wed, 5 Jun 2024 at 14:45, Thorsten Kukuk wrote: > > > > Hi, > > > > while playing with soft-reboot and services surviving this: > > A standard service file works, but if I use a service template (e.g. > > test@.service), t

Re: [systemd-devel] tee-supplicant initrd startup before tpm2.target and dev-tpmrm0.device

2024-06-10 Thread Lennart Poettering
On Mo, 10.06.24 11:19, Lennart Poettering (lenn...@poettering.net) wrote: > This would basically be a driver-specific re-implementation of our > generic systemd-tpm2-generator, that knows that when optee/ftpm stuff > is used we *must* schedule tpm2.target in all cases, even if /dev/tpm0 > already

Re: [systemd-devel] tee-supplicant initrd startup before tpm2.target and dev-tpmrm0.device

2024-06-10 Thread Lennart Poettering
On Mo, 10.06.24 11:55, Mikko Rapeli (mikko.rap...@linaro.org) wrote: > > I guess to fix this we have to somehow ensure that after the > > transition we'll detect that the /dev/tpmrm0 device is not actually > > usable, and we have to enqueue tpm2.target after all. > > > > Is there any reasonable wa

Re: [systemd-devel] confusion with systemd-repart

2024-06-10 Thread Lennart Poettering
On So, 09.06.24 19:00, Xogium (cont...@xogium.me) wrote: > Hi, > thank you for the help, I really appreciate it. I'm sorry for the very > late reply, I had an issue with my mail server and only sorted it out > today. > > I had to jump through a couple of problems, but I've mostly got > something s