Re: [systemd-devel] systemd-udevd and services with DefaultDependencies=no

2024-11-28 Thread Thomas HUMMEL
On 11/28/24 8:19 PM, Andrei Borzenkov wrote: Try systemctl -t device -a Ok thanks. It missed the namespace part (n1): # systemctl -t device -a | grep -iE '^dev-nvme' dev-nvme0n1.device loaded active plugged SAMSUNG MZQLB960HAJR-7 dev-nvme0n1p1.device loade

Re: [systemd-devel] systemd-udevd and services with DefaultDependencies=no

2024-11-28 Thread Andrei Borzenkov
28.11.2024 21:49, Thomas HUMMEL wrote: On 11/25/24 3:07 PM, Thomas HUMMEL wrote: On 11/25/24 2:50 PM, Andrei Borzenkov wrote: On Mon, Nov 25, 2024 at 4:39 PM Thomas HUMMEL wrote: Hello, I've got a somehow silly question: Am I right to think that a service unit I wrote meant to format and m

Re: [systemd-devel] systemd-udevd and services with DefaultDependencies=no

2024-11-28 Thread Thomas HUMMEL
On 11/28/24 7:56 PM, Cristian Rodríguez wrote: On Thu, Nov 28, 2024 at 3:50 PM Thomas HUMMEL wrote: Hello, coming back to the topic (sorry, I had an actual physical issue with the device which blurred my analysis): 1. On a system where /dev/nvme0, /dev/nvme0n1 and /dev/nvme0n1p1 files exis

Re: [systemd-devel] systemd-udevd and services with DefaultDependencies=no

2024-11-28 Thread Cristian Rodríguez
On Thu, Nov 28, 2024 at 3:50 PM Thomas HUMMEL wrote: > > > Hello, > > coming back to the topic (sorry, I had an actual physical issue with the > device which blurred my analysis): > > 1. On a system where /dev/nvme0, /dev/nvme0n1 and /dev/nvme0n1p1 files > exist, systemctl list-units --type=devic

Re: [systemd-devel] systemd-udevd and services with DefaultDependencies=no

2024-11-28 Thread Thomas HUMMEL
On 11/25/24 3:07 PM, Thomas HUMMEL wrote: On 11/25/24 2:50 PM, Andrei Borzenkov wrote: On Mon, Nov 25, 2024 at 4:39 PM Thomas HUMMEL wrote: Hello, I've got a somehow silly question: Am I right to think that a service unit I wrote meant to format and mount a localdisk at boot having the foll

Re: [systemd-devel] systemd-udevd and services with DefaultDependencies=no

2024-11-25 Thread Thomas HUMMEL
On 11/25/24 2:50 PM, Andrei Borzenkov wrote: On Mon, Nov 25, 2024 at 4:39 PM Thomas HUMMEL wrote: Hello, I've got a somehow silly question: Am I right to think that a service unit I wrote meant to format and mount a localdisk at boot having the following properties : Wants=local-fs.target B

Re: [systemd-devel] systemd-udevd and services with DefaultDependencies=no

2024-11-25 Thread Andrei Borzenkov
On Mon, Nov 25, 2024 at 4:39 PM Thomas HUMMEL wrote: > > Hello, > > I've got a somehow silly question: > > Am I right to think that a service unit I wrote meant to format and > mount a localdisk at boot having the following properties : > > Wants=local-fs.target > Before=local-fs.target > > + Defa

[systemd-devel] systemd-udevd and services with DefaultDependencies=no

2024-11-25 Thread Thomas HUMMEL
Hello, I've got a somehow silly question: Am I right to think that a service unit I wrote meant to format and mount a localdisk at boot having the following properties : Wants=local-fs.target Before=local-fs.target + DefaultDepenencies=no may be racing against udevd in a way the device (/de