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

2021-09-06 Thread Manuel Wagesreither
Am Sa, 4. Sep 2021, um 18:17, schrieb Andrei Borzenkov: > On 01.09.2021 14:39, Manuel Wagesreither wrote: > > Am Mi, 25. Aug 2021, um 18:51, schrieb Andrei Borzenkov: > >> On Wed, Aug 25, 2021 at 3:44 PM Andrei Borzenkov > >> wrote: > >> ... > Here's the udev rule: > ``` >

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

2021-09-04 Thread Andrei Borzenkov
On 01.09.2021 14:39, Manuel Wagesreither wrote: > Am Mi, 25. Aug 2021, um 18:51, schrieb 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]*",

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

2021-09-01 Thread Manuel Wagesreither
Am Mi, 25. Aug 2021, um 18:51, schrieb 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", > >

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", > >

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

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

[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