[systemd-devel] Kdump with full-disk LUKS encryption

2021-04-19 Thread Kairui Song
Hi all, I'm currently trying to add kdump support for systemd with full-disk LUKS encryption. vmcores contain sensitive data so they should also be protected, and network dumps sometimes are not available. So kdump has to open the LUKS encrypted device in the kdump environment. I'm using

Re: [systemd-devel] systemctl reboot get terminated by signal 15

2021-04-19 Thread Lennart Poettering
On Mo, 19.04.21 14:29, Pengpeng Sun (pengpe...@vmware.com) wrote: > Hi there, > > Our program executes 'systemctl reboot' in a child process to reboot > Linux right after its booted, Sometimes there is no error, but > sometimes the child process terminated due to received uncaught > signal 15,

Re: [systemd-devel] How to reboot from within a service

2021-04-19 Thread Lennart Poettering
On So, 18.04.21 12:01, Norbert Lange (nolang...@gmail.com) wrote: > Hello, > > My setup is some embedded system without logind, running a service > that should be able to poweroff, reboot or reboot-and-update. > Generally I guess this also includes triggering further services > programmatically

[systemd-devel] systemctl reboot get terminated by signal 15

2021-04-19 Thread Pengpeng Sun
Hi there, Our program executes 'systemctl reboot' in a child process to reboot Linux right after its booted, Sometimes there is no error, but sometimes the child process terminated due to received uncaught signal 15, then no reboot happened. WIFSIGNALED evaluated a non-zero value, WTERMSIG

[systemd-devel] syscvall-filters killing CGI after update to Fedora 33

2021-04-19 Thread Reindl Harald
after a long time using this SystemCallFilter perl-cgi with Fedora 33 get killed - anyone an idea what changed that's obviously covered by the second line SystemCallFilter=@system-service @network-io @privileged SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete

Re: [systemd-devel] syscall-filters killing CGI after update to Fedora 33

2021-04-19 Thread Reindl Harald
it's the blacklisting of @resources which was as far as i remember a back-and-forth years ago between dist-upgrades looks like systemd-246.13-1.fc33.x86_64 is covering too much here in case of blacklisting Am 19.04.21 um 18:24 schrieb Reindl Harald: after a long time using this

[systemd-devel] Is there a way to know inside of systemd if it's in a reboot state?

2021-04-19 Thread Tia, Javier
Hi, Is there a way to know inside of systemd if it's in a reboot state? Something like the Linux kernel does [1], keeping the system state in a variable. [1] https://elixir.bootlin.com/linux/v4.19.98/source/include/linux/kernel.h#L581 ▷ Javier's 

Re: [systemd-devel] How to reboot from within a service

2021-04-19 Thread Norbert Lange
Am Mo., 19. Apr. 2021 um 16:02 Uhr schrieb Lennart Poettering : > > On So, 18.04.21 12:01, Norbert Lange (nolang...@gmail.com) wrote: > > > Hello, > > > > My setup is some embedded system without logind, running a service > > that should be able to poweroff, reboot or reboot-and-update. > >