-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
satellite: try to integrate with host LVM/udevd
There is a race condition when running lvm tools in containers with other lvm tools running on the host. Most notably, in certain situations symlinks to the LVs could suddently disappear. To prevent this, we try our best to integrate with the hosts LVM/udev tools: * Reuse /run/lock/lvm and /run/lvm from the host. * Run the container with hostIPC, some lvm tools use sysV semaphores. * Create per-host lvmconfig: * If there is no lvm.conf on the host, create one where we disable all udev interactions: most likely the rules are not installed. * If there is a lvm.conf on the host, create one where we only disable monitoring with dmeventd. Signed-off-by: Moritz Wanzenböck <[email protected]>
- Loading branch information
1 parent
8a339a9
commit 0ebb9f6
Showing
2 changed files
with
53 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters