Re: systemd-udevd and services with DefaultDependencies=no

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-00007 dev-nvme0n1p1.device loaded active plugged SAMSUNG MZQLB960HAJR-00007 1

I also did not used the --all option in my list-units command.


I never suggested doing it from within udev rule. I suggested starting systemd service which runs outside of event handler.

Sorry I misinterpreted your suggestion.
I'm not sure what you mean here by "which runs outside of event handler"
You initially said:
"Either invoke your service from within udev rule (SYSTEMD_WANTS or
even systemctl start)"

I guess I'm not familiar enough with udev (I only looked how it (re)named network interfaces) to get it. I'll dig further myself.

Thanks again for your help


--
Thomas HUMMEL
HPC Group
Institut PASTEUR
Paris, FRANCE



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux