Oliver Rath
2017-12-11 01:53:35 UTC
Hi list,
Im playing around with the dbus-daemon, which shows me some strange
behaviours:
* lvmdbusd doesnt run with the message
# lvmdbusd
Traceback (most recent call last):
 File "/sbin/lvmdbusd", line 13, in <module>
   from lvmdbusd import main
ModuleNotFoundError: No module named 'lvmdbusd'
*but* the module seems to be installed:
# find /usr/lib/ -iname "lvmdbusd"
/usr/lib/python3.6/site-packages/lvmdbusd
/usr/lib/python3.5/site-packages/lvmdbusd
Btw, lvmdbusd seems not to be installed for python2
* lvmdbusd is a python-script, but the installer says "python is
deprecated, use dbus instead". Can I use the dbus-interface (Im
working on some examples in Rust for this) without the lvmdbusd?
Is lvm via dbus possibly out of date and not longer useable?
My system is ubuntu 17.10 with lvm2-git installed:
# lvdisplay --version
 LVM version:    2.02.177(2)-git (2017-11-03)
 Library version: 1.02.146-git (2017-11-03)
 Driver version: 4.37.0
 Configuration:  ./configure --enable-lvmetad --enable-lvmpolld
--enable-dmfilemapd --enable-cmdlib --enable-applib
--enable-dbus-service --enable-notify-dbus --enable-python2_bindings
TfH
Oliver
Im playing around with the dbus-daemon, which shows me some strange
behaviours:
* lvmdbusd doesnt run with the message
# lvmdbusd
Traceback (most recent call last):
 File "/sbin/lvmdbusd", line 13, in <module>
   from lvmdbusd import main
ModuleNotFoundError: No module named 'lvmdbusd'
*but* the module seems to be installed:
# find /usr/lib/ -iname "lvmdbusd"
/usr/lib/python3.6/site-packages/lvmdbusd
/usr/lib/python3.5/site-packages/lvmdbusd
Btw, lvmdbusd seems not to be installed for python2
* lvmdbusd is a python-script, but the installer says "python is
deprecated, use dbus instead". Can I use the dbus-interface (Im
working on some examples in Rust for this) without the lvmdbusd?
Is lvm via dbus possibly out of date and not longer useable?
My system is ubuntu 17.10 with lvm2-git installed:
# lvdisplay --version
 LVM version:    2.02.177(2)-git (2017-11-03)
 Library version: 1.02.146-git (2017-11-03)
 Driver version: 4.37.0
 Configuration:  ./configure --enable-lvmetad --enable-lvmpolld
--enable-dmfilemapd --enable-cmdlib --enable-applib
--enable-dbus-service --enable-notify-dbus --enable-python2_bindings
TfH
Oliver