Skip to contentSkip to conversation

Safety of DM_DISABLE_UDEV=1 and --noudevsync

linux-lvm Demi Marie Obenour 2 participants 2 messages Apr 1, 2022 – Apr 4, 2022

lore
Share & tools
lore
#0 lore raw

Under what circumstances are DM_DISABLE_UDEV=1 and --noudevsync safe? In Qubes OS, for example, I am considering using one or both of these, but only for operations performed by qubesd. systemd-udevd will still be running, but it will be told to create no symlinks for the devices these commands create or destroy. systemd-udevd will still be in charge of other devices, however, and other lvm2 commands may run that use neither of these.

Signature · 3 lines
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab

_______________________________________________
linux-lvm mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#1 lore raw

Dne 02. 04. 22 v 1:19 Demi Marie Obenour napsal(a):

Quoted 7 lines

Under what circumstances are DM_DISABLE_UDEV=1 and --noudevsync safe? In Qubes OS, for example, I am considering using one or both of these, but only for operations performed by qubesd. systemd-udevd will still be running, but it will be told to create no symlinks for the devices these commands create or destroy. systemd-udevd will still be in charge of other devices, however, and other lvm2 commands may run that use neither of these.

This env variable is not meant to be use on system with running udev.

So it's never safe - and it's only purpose is to be able to make some progress in some critical system condition.

Regards

Zdenek

_______________________________________________
linux-lvm mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/