Re: [systemd-devel] systemd-udevd: Race condition when rule starts both a systemd-mount and an unit accessing that mount

2021-08-25 Thread Andrei Borzenkov
On Wed, Aug 25, 2021 at 3:44 PM Andrei Borzenkov wrote: ... > > Here's the udev rule: > > ``` > > ACTION=="add", SUBSYSTEMS=="usb", SUBSYSTEM=="block", KERNEL=="*[0-9]*", > > ENV{ID_FS_USAGE}=="filesystem", TAG+="systemd", > > ENV{SYSTEMD_WANTS}+="start-standalone-mender-deployment@media-$name.s

Re: [systemd-devel] systemd-udevd: Race condition when rule starts both a systemd-mount and an unit accessing that mount

2021-08-25 Thread Colin Guthrie
Andrei Borzenkov wrote on 25/08/2021 13:44: On Wed, Aug 25, 2021 at 2:26 PM Manuel Wagesreither wrote: Hello all, this is my first post on this mailing list and, first of all, I'd like to thank you and appreciate your work on systemd in general. I admire the logic, the completeness of the m

Re: [systemd-devel] systemd-udevd: Race condition when rule starts both a systemd-mount and an unit accessing that mount

2021-08-25 Thread Andrei Borzenkov
On Wed, Aug 25, 2021 at 2:26 PM Manuel Wagesreither wrote: > > Hello all, > > this is my first post on this mailing list and, first of all, I'd like to > thank you and appreciate your work on systemd in general. I admire the logic, > the completeness of the manpages and in general how beautifull

[systemd-devel] systemd-udevd: Race condition when rule starts both a systemd-mount and an unit accessing that mount

2021-08-25 Thread Manuel Wagesreither
Hello all, this is my first post on this mailing list and, first of all, I'd like to thank you and appreciate your work on systemd in general. I admire the logic, the completeness of the manpages and in general how beautifully things are engineered. I'm no unix graybeard and systemd saved me fr

Re: [systemd-devel] How does journald talks to other services?

2021-08-25 Thread Nishant Nayan
Got it. What do we mean by "indexing" of logs for faster lookup? , Journlad does this I have seen this word in docs but no clear explanation, is it related to addition of timestamp, process_name, log_priority (info,debug...) to the log messages ? On Tue, 24 Aug 2021 at 11:54, Lennart Poettering

[systemd-devel] required free space for reloading

2021-08-25 Thread Alexander Dahl
Hello everyone, we use systemd on an embedded platform featuring the SAMA5D27C-D5M SoC [1], which has has 64 MiB of RAM. The software is based on DistroKit [2] and ptxdist [3]. tmpfs are mounted through /etc/fstab and are allowed to take 20% of the memory, which I think is quite much already.

Re: [systemd-devel] how to know what triggered a serivce start

2021-08-25 Thread Prashantkumar dhotre
Hi How to know what triggered a service start ? For eg, service X may Require service Y, so starting service-Y will start service-X. Can I get this info from 'systemd-analyze' ? If yes, which argument to use for systemd-analyze? I am interested to see what actually triggered and not just list out