[systemd-devel] Hiding systemd-cryptsetup password prompt

2024-06-04 Thread Sergio Arroutbi
Hello. We are implementing a feature related to PKCS#11 that, when some conditions are met (mostly that PKCS11 PIN has not been stored in configuration and input to our systemd unit), requires systemd-cryptsetup service password prompt to be hidden from TTY and executed only listening to password

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

2024-06-04 Thread Lennart Poettering
On Di, 04.06.24 13:08, Sergio Arroutbi (sarro...@redhat.com) wrote: > Hello. > > We are implementing a feature related to PKCS#11 that, when some conditions > are met (mostly that PKCS11 PIN has not been stored in configuration and > input to our systemd unit), requires systemd-cryptsetup service

Re: [systemd-devel] systemd appears to lock up

2024-06-04 Thread Robert Landers
For future reference, The issue was hyper-v reclaiming memory. Robert Landers Software Engineer Utrecht NL On Thu, May 30, 2024 at 11:19 AM Robert Landers wrote: > > Hello systemd developers, > > On WSL2 + Ubuntu 24, I'm seeing systemd locking up. There doesn't > appear to be any log messages o

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

2024-06-04 Thread Sergio Arroutbi
Hello Lennart. Thanks for your quick response. This option will disable all password prompt ... hiding also our calls to systemd-ask-password ... is it possible to discard systemd-cryptsetup one specifically? On Tue, Jun 4, 2024 at 2:52 PM Lennart Poettering wrote: > On Di, 04.06.24 13:08, Serg

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

2024-06-04 Thread Luca Boccassi
Add headless=yes to the crypttab entry for the device you want to avoid interactive passwords prompt for On Tue, 4 Jun 2024 at 17:22, Sergio Arroutbi wrote: > > Hello Lennart. Thanks for your quick response. > > This option will disable all password prompt ... hiding also our calls to > systemd-

[systemd-devel] Runtime symlinks replaced by hard files, systemctl enable no longer works

2024-06-04 Thread Joey Dodson
Hello list! Thanks in advance for any help or thoughts! *Background:* I have a system where many ‘/etc/systemd/system’ symlink paths got replaced by files. Therefore, ‘systemctl enable’ no longer works for a majority of services. Though somehow there are some services that appear to not ha

Re: [systemd-devel] Runtime symlinks replaced by hard files, systemctl enable no longer works

2024-06-04 Thread Cristian Rodríguez
On Tue, Jun 4, 2024 at 5:03 PM Joey Dodson wrote: > > Hello list! > > > > Thanks in advance for any help or thoughts! > > > > Background: > > > > I have a system where many ‘/etc/systemd/system’ symlink paths got replaced > by files. Therefore, ‘systemctl enable’ no longer works for a majority of

[systemd-devel] Questions about systemd-run

2024-06-04 Thread Heran Yang
Hi, I'm trying to leverage systemd-run to build a utility like GNU time. But I ran into some problems. 1. Behaviour on memory accounting isn't consistent, please see the issue on Github[1]. And I found that even if I add the property `MemoryAccouting` to the command, it won't help. 2. When the pr

Re: [systemd-devel] Runtime symlinks replaced by hard files, systemctl enable no longer works

2024-06-04 Thread Joey Dodson
We do back up some system settings, but I'm fairly sure it doesn't include /etc/systemd/system whatsoever. This is a multi user system though, so I'll have to check with others if they have any idea. I guess you're saying this is not something that could have come from systemd or the OS? On Tue, J

[systemd-devel] systemd-umount doesn't unmount LVM volumes

2024-06-04 Thread Vladimir Mokrozub
Hello, OS: Debian 12 systemd: 252 Could someone please explain why systemd-umount doesn't unmount LVM volumes by device: $ systemd-mount /dev/vg0/lv0 /mnt/lvm/ Started unit mnt-lvm.mount for mount point: /mnt/lvm $ findmnt -n /mnt/lvm /mnt/lvm /dev/mapper/vg0-lv0 ext4   rw,relatime $ system