Filesystem discovery failing on LVM/LUCKS setup
Hello,
I built vlmc and medialibrary on a debian stretch 64bit using lvm with lucks. On launch, vlmc fails with the following error:
$ vlmc
No LADSPA plugins were found!
Check your LADSPA_PATH environment variable.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Error: src/filesystem/unix/DeviceLister.cpp:244 devices Failed to resolve mountpoint /var/lib/libvirt to any known device
Error: src/filesystem/unix/DeviceLister.cpp:244 devices Failed to resolve mountpoint /var to any known device
Error: src/filesystem/unix/DeviceLister.cpp:244 devices Failed to resolve mountpoint /usr to any known device
Error: src/filesystem/unix/DeviceLister.cpp:244 devices Failed to resolve mountpoint /home to any known device
Error: src/filesystem/unix/DeviceLister.cpp:244 devices Failed to resolve mountpoint / to any known device
Error: src/filesystem/unix/DeviceLister.cpp:244 devices Failed to resolve mountpoint /tmp to any known device
Error: src/filesystem/unix/DeviceLister.cpp:244 devices Failed to resolve mountpoint /var/lib/libvirt to any known device
Error: src/filesystem/unix/DeviceLister.cpp:244 devices Failed to resolve mountpoint /var to any known device
Error: src/filesystem/unix/DeviceLister.cpp:244 devices Failed to resolve mountpoint /usr to any known device
Error: src/filesystem/unix/DeviceLister.cpp:244 devices Failed to resolve mountpoint /home to any known device
Error: src/filesystem/unix/DeviceLister.cpp:244 devices Failed to resolve mountpoint / to any known device
Error: src/filesystem/unix/DeviceLister.cpp:244 devices Failed to resolve mountpoint /tmp to any known device
[0000556ef77a7cc8] core libvlc debug: VLC media player - 3.0.0-git Vetinari
[0000556ef77a7cc8] core libvlc debug: Copyright © 1996-2017 the VideoLAN team
[0000556ef77a7cc8] core libvlc debug: revision 2.2.0-git-12069-gb5d1fb7c49
[0000556ef77a7cc8] core libvlc debug: configured with ../configure '--disable-xcb' '--disable-nls' '--disable-mozilla' '--disable-live555'
[0000556ef77a7cc8] core libvlc debug: searching plug-in modules
[0000556ef77a7cc8] core libvlc debug: loading plugins cache file /usr/local/lib/vlc/plugins/plugins.dat
[0000556ef77a7cc8] core libvlc debug: recursively browsing `/usr/local/lib/vlc/plugins'
[0000556ef77a7cc8] core libvlc debug: plug-ins loaded: 347 modules
[0000556ef77a7f78] core logger debug: looking for logger module matching "any": 3 candidates
[0000556ef77a7f78] core logger debug: using logger module "console"
[0000556ef77a7cc8] core libvlc debug: translation test: code is "C"
[0000556ef921b7c8] core keystore debug: looking for keystore module matching "memory": 2 candidates
[0000556ef921b7c8] core keystore debug: using keystore module "memory"
[0000556ef77a7cc8] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 FPU
Error: src/Folder.cpp:177 fromMrl Failed to get device containing an existing folder: file:///home/rbuisson/
vlmc: src/discoverer/FsDiscoverer.cpp:308: bool medialibrary::FsDiscoverer::addFolder(medialibrary::fs::IDirectory&, medialibrary::Folder*) const: Assertion `deviceFs != nullptr' failed.
Aborted
̀
I suspect that is failing because I'm using LVM. Here is the topology of my disk:
sda 8:0 0 238.5G 0 disk
├─sda1 8:1 0 190M 0 part /boot/efi
└─sda2 8:2 0 238.3G 0 part
└─sda2_crypt 254:0 0 238.3G 0 crypt
├─vg-lv_root 254:1 0 952M 0 lvm /
├─vg-lv_swap 254:2 0 488M 0 lvm [SWAP]
├─vg-lv_home 254:3 0 160G 0 lvm /home
├─vg-lv_tmp 254:4 0 952M 0 lvm /tmp
├─vg-lv_var 254:5 0 8G 0 lvm /var
├─vg-lv_usr 254:6 0 9.8G 0 lvm /usr
├─vg-lv_boot 254:7 0 244M 0 lvm /boot
└─vg-lv_libvirt 254:8 0 30G 0 lvm /var/lib/libvirt
̀ I'm not a c++ expert. Could someone help me ?
Thanks.
Rémi