From 629d29ec9929dc2496f55b392199d151221765d4 Mon Sep 17 00:00:00 2001 From: 2Shirt <1923621+2Shirt@users.noreply.github.com> Date: Mon, 21 May 2018 20:38:05 -0600 Subject: [PATCH] Allow LVM devices in udevil * Part of the #38 fix --- .linux_items/include/airootfs/etc/udevil/udevil.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.linux_items/include/airootfs/etc/udevil/udevil.conf b/.linux_items/include/airootfs/etc/udevil/udevil.conf index b61d2c30..83fe334d 100644 --- a/.linux_items/include/airootfs/etc/udevil/udevil.conf +++ b/.linux_items/include/airootfs/etc/udevil/udevil.conf @@ -119,7 +119,7 @@ allowed_media_dirs = /media # allowed_devices = /dev/* # WARNING: ALLOWING USERS TO MOUNT DEVICES OUTSIDE OF /dev CAN CAUSE SERIOUS # SECURITY PROBLEMS. DO NOT ALLOW DEVICES IN /dev/shm -allowed_devices = /dev/* +allowed_devices = /dev/*, /dev/mapper/* # allowed_internal_devices causes udevil to treat any listed block devices as @@ -133,7 +133,7 @@ allowed_devices = /dev/* # Some removable esata drives look like internal drives to udevil. To avoid # this problem, they can be treated as removable with this setting. # WARNING: SETTING A SYSTEM DEVICE HERE CAN CAUSE SERIOUS SECURITY PROBLEMS. -allowed_internal_devices = /dev/* +allowed_internal_devices = /dev/*, /dev/mapper/* # allowed_internal_uuids and allowed_internal_uuids_FSTYPE work similarly to