[systemd-devel] systemctl hangs with 249.7 systemd in yocto Honister release

2022-11-28 Thread Heyi Guo
Hi all, We are runing OpenBMC 2.11.0 release which is based on yocto Honister and systemd 249.7 release, and we find systemctl hangs occasionally. The phenomenon is just like the below issue: https://github.com/openbmc/openbmc/issues/1097 systemctl command will always return timeout and dmes

Re: [systemd-devel] BUG: kworker + systemd-udevd memory leaks found in 6.1.0-rc4

2022-11-28 Thread Mirsad Goran Todorovac
On 10. 11. 2022. 10:20, Greg KH wrote: On Thu, Nov 10, 2022 at 05:57:57AM +0100, Mirsad Goran Todorovac wrote: On 04. 11. 2022. 11:40, Mirsad Goran Todorovac wrote: Dear Sirs, When building a RPM 6.1.0-rc3 for AlmaLinux 8.6, I have enabled CONFIG_DEBUG_KMEMLEAK=y and the result showed an unre

Re: [systemd-devel] RFC: Passing on initial client user in systemd-userdbd

2022-11-28 Thread Dominik George
Hi, > in theory, I have implemented that now, but I somehow cannot make > userdbd send credentials on, because it does not seem to call > varlink_write at all. I am a bit lost with that, because as I > understand the code, all parts of userdbd and homed should be using > varlink_write when calling

Re: [systemd-devel] RFC: Passing on initial client user in systemd-userdbd

2022-11-28 Thread Dominik George
Hi Lennart, in theory, I have implemented that now, but I somehow cannot make userdbd send credentials on, because it does not seem to call varlink_write at all. I am a bit lost with that, because as I understand the code, all parts of userdbd and homed should be using varlink_write when calling m

Re: [systemd-devel] RFC: Passing on initial client user in systemd-userdbd

2022-11-28 Thread Lennart Poettering
On Mo, 28.11.22 16:27, Dominik George (n...@naturalnet.de) wrote: > Hi, > > > You don't have to send that really, the kernel will implicitly attach it > > automatically whenever the sender's credentials change. Thus, a > > receiver can safely assume that the ucred remains the same as the > > SO_PE

Re: [systemd-devel] RFC: Passing on initial client user in systemd-userdbd

2022-11-28 Thread Dominik George
Hi, > You don't have to send that really, the kernel will implicitly attach it > automatically whenever the sender's credentials change. Thus, a > receiver can safely assume that the ucred remains the same as the > SO_PEERCRED data until it receives a new SCM_CREDENTIALS that says > otherwise. >

Re: [systemd-devel] Prevent firmware from falling back to next EFI boot option on secure boot failure?

2022-11-28 Thread Daniel Harms
Wanted to follow up on this--was away from my desk because of holidays in the US. I did open an issue on github: https://github.com/systemd/systemd/issues/25548 Thank you for your help here, Lennart. Thanks, --Daniel On Wed, Nov 23, 2022 at 12:32 PM Lennart Poettering wrote: > > On Mi, 23.11.

Re: [systemd-devel] RFC: Passing on initial client user in systemd-userdbd

2022-11-28 Thread Lennart Poettering
On Mo, 28.11.22 00:14, Dominik George (n...@naturalnet.de) wrote: 65;6800;1c > Hi, > > > The approach brings me a bit farther away from being able to implement it > > myself, but not too far I guess ;). > > I've spent some time reading the userdb code now, and it actually > seems pretty easy to do