diff --git a/daemons/lvmdbusd/manager.py b/daemons/lvmdbusd/manager.py index 3c2bfcb6a..433473fd0 100644 --- a/daemons/lvmdbusd/manager.py +++ b/daemons/lvmdbusd/manager.py @@ -6,7 +6,7 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . - +from utils import log_debug from .automatedproperties import AutomatedProperties from . import utils @@ -143,9 +143,10 @@ class Manager(AutomatedProperties): @staticmethod def _lookup_by_lvm_id(key): p = cfg.om.get_object_path_by_uuid_lvm_id(key, key) - if p: - return p - return '/' + if not p: + p = '/' + log_debug('LookUpByLvmId: key = %s, result = %s' % (key, p)) + return p @dbus.service.method( dbus_interface=MANAGER_INTERFACE,