Discussion:
[linux-lvm] addendum [was: lvmdbusd failure(s) at ubuntu ]
Oliver Rath
2017-12-11 02:27:26 UTC
Permalink
Hi list,

trying to compile lvm2 with these flags:

./configure --enable-lvmetad --enable-lvmpolld --enable-dmfilemapd
--enable-applib --enable-cmdlib --enable-dbus-service
--enable-notify-dbus --enable-python3_bindings

make
..

make install
..
warning: install_lib: 'build/lib.linux-x86_64-3.6' does not exist -- no
Python modules to install

What does this mean?

Tfh!

Oliver
Marian Csontos
2017-12-11 13:00:35 UTC
Permalink
Post by Oliver Rath
Hi list,
./configure --enable-lvmetad --enable-lvmpolld --enable-dmfilemapd
--enable-applib --enable-cmdlib --enable-dbus-service
--enable-notify-dbus --enable-python3_bindings
make
..
make install
..
warning: install_lib: 'build/lib.linux-x86_64-3.6' does not exist -- no
Python modules to install
Oliver Rath -vv
Try being more verbose, please.

Removing all context is not helpful at all.

make install for lvmdbusd should run py-compile script found in autoconf
directory, which should write bytecode *.py[co] to that directory.

May be:

- it did not run,
- or it used different directory,
- or ...???
Post by Oliver Rath
What does this mean?
No idea. Not very helpful answer, but if you post full output from
`configure ...` and `make install`, you might get better one.

-- Martian
Post by Oliver Rath
Tfh!
Oliver
_______________________________________________
linux-lvm mailing list
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Oliver Rath
2017-12-11 18:08:20 UTC
Permalink
Hi Marian,

sorry for my last report, it was a bit too late for me. Now with all
details:

Problem: lvmdbusd doesnt start:

# lvmdbusd
Traceback (most recent call last):
  File "/sbin/lvmdbusd", line 13, in <module>
    from lvmdbusd import main
ModuleNotFoundError: No module named 'lvmdbusd'

Ive build the brandnew git from today (18:30h) with your last patches.
All configure-make-make install steps are completely recorded and appended.

Additionally i looked for the given bindings for lvm:

# ldconfig -v | grep lvm
    libdevmapper-event-lvm2.so.2.02 -> libdevmapper-event-lvm2.so.2.02
    liblvm2cmd.so.2.02 -> liblvm2cmd.so.2.02
    liblvm2app.so.2.2 -> liblvm2app.so.2.2
    libbd_lvm-dbus.so.2 -> libbd_lvm-dbus.so.2.0.0
    libvslvm.so.1 -> libvslvm.so.1.0.0
    libdevmapper-event-lvm2.so.2.02 -> libdevmapper-event-lvm2.so.2.02
    liblvm2cmd.so.2.02 -> liblvm2cmd.so.2.02
    liblvm2app.so.2.2 -> liblvm2app.so.2.2

Whats wrong that lvmdbusd not work?

Tfh!
Oliver
Post by Marian Csontos
Post by Oliver Rath
Hi list,
./configure --enable-lvmetad --enable-lvmpolld --enable-dmfilemapd
--enable-applib --enable-cmdlib --enable-dbus-service
--enable-notify-dbus --enable-python3_bindings
make
..
make install
..
warning: install_lib: 'build/lib.linux-x86_64-3.6' does not exist -- no
Python modules to install
Oliver Rath -vv
    Try being more verbose, please.
Removing all context is not helpful at all.
make install for lvmdbusd should run py-compile script found in
autoconf directory, which should write bytecode *.py[co] to that
directory.
- it did not run,
- or it used different directory,
- or ...???
Post by Oliver Rath
What does this mean?
No idea. Not very helpful answer, but if you post full output from
`configure ...` and `make install`, you might get better one.
-- Martian
Post by Oliver Rath
Tfh!
Oliver
_______________________________________________
linux-lvm mailing list
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
_______________________________________________
linux-lvm mailing list
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Oliver Rath
2017-12-12 11:37:12 UTC
Permalink
Hi Marian,

sorry for my last report, it was a bit too late for me. Now with all
details:

Problem: lvmdbusd doesnt start:

# lvmdbusd
Traceback (most recent call last):
  File "/sbin/lvmdbusd", line 13, in <module>
    from lvmdbusd import main
ModuleNotFoundError: No module named 'lvmdbusd'

Ive build the brandnew git from yesterday (18:30h) with your last
patches. All configure-make-make install steps are completely recorded
and appended.

Additionally i looked for the given bindings for lvm:

# ldconfig -v | grep lvm
    libdevmapper-event-lvm2.so.2.02 -> libdevmapper-event-lvm2.so.2.02
    liblvm2cmd.so.2.02 -> liblvm2cmd.so.2.02
    liblvm2app.so.2.2 -> liblvm2app.so.2.2
    libbd_lvm-dbus.so.2 -> libbd_lvm-dbus.so.2.0.0
    libvslvm.so.1 -> libvslvm.so.1.0.0
    libdevmapper-event-lvm2.so.2.02 -> libdevmapper-event-lvm2.so.2.02
    liblvm2cmd.so.2.02 -> liblvm2cmd.so.2.02
    liblvm2app.so.2.2 -> liblvm2app.so.2.2

Whats wrong that lvmdbusd not work?

Tfh!
Oliver
Post by Marian Csontos
Post by Oliver Rath
Hi list,
./configure --enable-lvmetad --enable-lvmpolld --enable-dmfilemapd
--enable-applib --enable-cmdlib --enable-dbus-service
--enable-notify-dbus --enable-python3_bindings
make
..
make install
..
warning: install_lib: 'build/lib.linux-x86_64-3.6' does not exist -- no
Python modules to install
Oliver Rath -vv
    Try being more verbose, please.
Removing all context is not helpful at all.
make install for lvmdbusd should run py-compile script found in
autoconf directory, which should write bytecode *.py[co] to that
directory.
- it did not run,
- or it used different directory,
- or ...???
Post by Oliver Rath
What does this mean?
No idea. Not very helpful answer, but if you post full output from
`configure ...` and `make install`, you might get better one.
-- Martian
Post by Oliver Rath
Tfh!
Oliver
_______________________________________________
linux-lvm mailing list
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
_______________________________________________
linux-lvm mailing list
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Oliver Rath
2017-12-12 12:19:09 UTC
Permalink
Hi Marian,

sorry for my last report, it was a bit too late for me. Now with all
details:

Problem: lvmdbusd doesnt start:

# lvmdbusd
Traceback (most recent call last):
  File "/sbin/lvmdbusd", line 13, in <module>
    from lvmdbusd import main
ModuleNotFoundError: No module named 'lvmdbusd'

Ive build the brandnew git from today (18:30h) with your last patches.
All configure-make-make install steps are completely recorded and appended.

Additionally i looked for the given bindings for lvm:

# ldconfig -v | grep lvm
    libdevmapper-event-lvm2.so.2.02 -> libdevmapper-event-lvm2.so.2.02
    liblvm2cmd.so.2.02 -> liblvm2cmd.so.2.02
    liblvm2app.so.2.2 -> liblvm2app.so.2.2
    libbd_lvm-dbus.so.2 -> libbd_lvm-dbus.so.2.0.0
    libvslvm.so.1 -> libvslvm.so.1.0.0
    libdevmapper-event-lvm2.so.2.02 -> libdevmapper-event-lvm2.so.2.02
    liblvm2cmd.so.2.02 -> liblvm2cmd.so.2.02
    liblvm2app.so.2.2 -> liblvm2app.so.2.2

Whats wrong that lvmdbusd not work?

Tfh!
Oliver

PS.: Ive sent this email 3x, because i didnt see is on the list, dont
know why..
Post by Marian Csontos
Post by Oliver Rath
Hi list,
./configure --enable-lvmetad --enable-lvmpolld --enable-dmfilemapd
--enable-applib --enable-cmdlib --enable-dbus-service
--enable-notify-dbus --enable-python3_bindings
make
..
make install
..
warning: install_lib: 'build/lib.linux-x86_64-3.6' does not exist -- no
Python modules to install
Oliver Rath -vv
    Try being more verbose, please.
Removing all context is not helpful at all.
make install for lvmdbusd should run py-compile script found in
autoconf directory, which should write bytecode *.py[co] to that
directory.
- it did not run,
- or it used different directory,
- or ...???
Post by Oliver Rath
What does this mean?
No idea. Not very helpful answer, but if you post full output from
`configure ...` and `make install`, you might get better one.
-- Martian
Post by Oliver Rath
Tfh!
Oliver
_______________________________________________
linux-lvm mailing list
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
_______________________________________________
linux-lvm mailing list
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Loading...