Bug 41443 - cannot find any suitable libguestfs supermin, fixed or old-style appliance on LIBGUESTFS_PATH
Summary: cannot find any suitable libguestfs supermin, fixed or old-style appliance on...
Status: CLOSED WORKSFORME
Alias: None
Product: Sisyphus
Classification: Development
Component: guestfs-tools (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-26 15:44 MSK by Vera Blagoveschenskaya
Modified: 2022-01-11 12:11 MSK (History)
15 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vera Blagoveschenskaya 2021-11-26 15:44:32 MSK
libguestfs-1.46.0-alt1.x86_64

1) Выполнить команду
# libguestfs-test-tool  

Результат: ошибка
libguestfs: error: cannot find any suitable libguestfs supermin, fixed or old-style appliance on LIBGUESTFS_PATH (search path: /usr/lib64/guestfs)

# ls -l /usr/lib64/guestfs
ls: невозможно получить доступ к '/usr/lib64/guestfs': Нет такого файла или каталога

При попытке создать образ 
# virt-builder -v -x fedora-32
получаем ту же ошибку

Ожидаемый результат: успешная самодиагностика, успешное создание образа

Дополнительно:
1) Данное поведение является регрессом по отношению к версии libguestfs-1.44.1-alt1.x86_64
2) Также см. https://bugzilla.altlinux.org/30802
3) https://libguestfs.org/guestfs-faq.1.html
Данная ошибка описана
libguestfs: error: cannot find any suitable libguestfs supermin, fixed or old-style appliance on LIBGUESTFS_PATH
febootstrap-supermin-helper: ext2: parent directory not found
supermin-helper: ext2: parent directory not found
[This issue is fixed permanently in libguestfs ≥ 1.26.]

If you see any of these errors on Debian/Ubuntu, you need to run the following command:
 sudo update-guestfs-appliance

Но команду update-guestfs-appliance выполнить невозможно
Comment 1 Andrew Vasilyev 2021-11-26 19:28:28 MSK
  В пакете guestfs-tools потеряна зависимость на guestfs-data:

-%ifarch %ix86 x86_64 aarch64
-Requires: guestfs-data
-%endif

 (и ещё несколько других :-).

https://git.altlinux.org/gears/l/libguestfs.git?p=libguestfs.git;a=commitdiff;h=40ac65e0bb0cb466e0d783bc7012547a8427ecb4
в сравнении с 
https://git.altlinux.org/gears/g/guestfs-tools.git?p=guestfs-tools.git;a=commitdiff;h=ace7a633e49b97378c415d9544321be60a3d6485
Comment 2 Repository Robot 2021-11-27 11:31:22 MSK
guestfs-tools-1.47.2-alt2 -> sisyphus:

 Sat Nov 27 2021 Anton Farygin <rider@altlinux.ru> 1.47.2-alt2
 - added Requires, which is needed to build images (closes: #41443)
Comment 3 Alexandr Shashkin 2022-01-10 19:20:31 MSK
Ошибка воспроизводится на стендах i586:
* education-kde-i586
* education-i586
* workstation-i586

Версии пакетов:
* guestfs-data-0.6-alt1.i586
* libguestfs-1.46.1-alt1.i586
* guestfs-tools-1.47.3-alt1.i586

Результат ошибки:
libguestfs: error: cannot find any suitable libguestfs supermin, fixed or old-style appliance on LIBGUESTFS_PATH (search path: /usr/lib/guestfs)
Comment 4 Alexandr Shashkin 2022-01-10 19:28:34 MSK
Каталоги /usr/lib/guestfs (для i586) и /usr/lib64/guestfs (для x86_64) существуют:
(x86_64) Вывод команды ls -l /usr/lib64/ | grep guestfs: 
drwxr-xr-x  2 root root     4096 янв 10 17:56 guestfs
lrwxrwxrwx  1 root root       21 дек 16 15:25 libguestfs.so.0 -> libguestfs.so.0.510.0
-rw-r--r--  1 root root  1289688 дек 16 15:25 libguestfs.so.0.510.0

(i586) Вывод команды ls -l /usr/lib/guestfs:
initramfs.i686.img  vmlinuz.i586
Comment 5 Alexandr Shashkin 2022-01-11 10:55:14 MSK
Для i586 ошибка воспроизводится на sisyphus, а на x86_64 не воспроизводится
Comment 6 Anton Farygin 2022-01-11 12:11:17 MSK
i586 точно чинить не станем, а т.к. для x86_64 на Sisyphus ошибка не воспроизводится, то здесь мы её закроем.