Re: [systemd-devel] WSL Ubuntu creates XDG_RUNTIME_DIR with incorrect permissions

2023-11-26 Thread Mantas Mikulėnas
On Mon, Nov 27, 2023 at 6:02 AM Thomas Larsen Wessel wrote: > WSL does not use systemd by default. > > > According to this article, it systemd has been default on WSL Ubuntu since > june 2023. https://learn.microsoft.com/en-us/windows/wsl/systemd > > *"Systemd is now the default for the current v

[systemd-devel] Performance issues after migrating to systemd

2023-11-26 Thread Hari.PrasathGE
Hello All, We recently migrated our Yocto project distribution for our embedded Linux based system to Systemd from sysVinit. We have our graphics launcher application known as EGT which is public with it's own repo as below. https://github.com/linux4sam/egt We are facing performance issues af

Re: [systemd-devel] WSL Ubuntu creates XDG_RUNTIME_DIR with incorrect permissions

2023-11-26 Thread Thomas Larsen Wessel
> > WSL does not use systemd by default. According to this article, it systemd has been default on WSL Ubuntu since june 2023. https://learn.microsoft.com/en-us/windows/wsl/systemd *"Systemd is now the default for the current version of Ubuntu that will be installed using the wsl --install comma

Re: [systemd-devel] How to properly wait for udev?

2023-11-26 Thread Richard Weinberger
On Sun, Nov 26, 2023 at 10:36 PM Mantas Mikulėnas wrote: > > If I remember correctly, udev (recent versions) takes a BSD lock using > flock(2) while processing the device, and tools are supposed to do the same. > The flock() call can be set to wait until the lock can be taken. Hmm, indeed. But

Re: [systemd-devel] How to properly wait for udev?

2023-11-26 Thread Mantas Mikulėnas
If I remember correctly, udev (recent versions) takes a BSD lock using flock(2) while processing the device, and tools are supposed to do the same. The flock() call can be set to wait until the lock can be taken. On Sun, Nov 26, 2023 at 1:40 AM Richard Weinberger < richard.weinber...@gmail.com> wr

Re: [systemd-devel] Run preset-all of user units on first boot?

2023-11-26 Thread Nils Kattenbeck
I decided to create a bug for this: https://github.com/systemd/systemd/issues/30206 On Mon, Nov 20, 2023 at 1:39 AM Nils Kattenbeck wrote: > > Hello, > I know that preset-all is run by the manager at startup if it is the > first boot. However, this does not seem to be run for user units (i.e. > s