| Summary: | febootstrap in rawhide should require latest e2fsprogs | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ilkka Tengvall <ikke> | ||||||
| Component: | febootstrap | Assignee: | Richard W.M. Jones <rjones> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | rawhide | CC: | clalancette, p, rjones, sdake | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-01-03 10:54:55 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 550385 [details]
the log of the command
for what it's worth, I have verified that I can use libvirt to start a guest from the very same f16 install cd that oz downloaded into /var/lib/oz/isos. also running it directly via qemu-kvm works. This is the command which fails: http://git.annexia.org/?p=libguestfs.git;a=blob;f=src/appliance.c;h=57ff38f1f1064e47a2bf08b0ea27eed9ecd7c964;hb=HEAD#l621 What host OS and version of libguestfs & febootstrap is this? fedora-release-16-1.noarch with some packages from rawhide to get latest openstack. I was missing febootstrap, now it's installed at version: $ rpm -q febootstrap libguestfs febootstrap-3.12-2.fc17.x86_64 libguestfs-1.15.14-1.fc17.x86_64 no difference in operation after installing of febootstrap When Ilkka ran the febootstrap command by hand: ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/backports/drivers/net/ethernet/broadcom 040755 including kernel module b44.ko ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/backports/drivers/net/ethernet/broadcom/b44.ko 0100744 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/backports/drivers/bcma 040755 including kernel module bcma.ko ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/backports/drivers/bcma/bcma.ko 0100744 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.pcimap 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.builtin.bin 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.symbols.bin 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.dep 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.ccwmap 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.seriomap 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.devname 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/updates 040755 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.builtin 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.modesetting 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/extra 040755 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.softdep 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.order 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.isapnpmap 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/vdso 040755 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/vdso/vdso.so 0100755 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/vdso/vdso32-int80.so 0100755 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/vdso/vdso32-syscall.so 0100755 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/vdso/vdso32-sysenter.so 0100755 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.usbmap 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.block 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.inputmap 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.ieee1394map 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.symbols 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.dep.bin 0100644 ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.alias.bin 0100644 supermin helper [09780ms] closing ext2 filesystem Segmentation fault ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.inputmap 0100644
ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.ieee1394map 0100644
ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.symbols 0100644
ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.dep.bin 0100644
ext2_file_stat /lib/modules/3.1.6-1.fc16.x86_64/modules.alias.bin 0100644
supermin helper [10389ms] closing ext2 filesystem
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
Missing separate debuginfos, use: debuginfo-install glibc-2.14.90-21.x86_64
(gdb) t a a bt
Thread 1 (Thread 0x7ffff7fee740 (LWP 28563)):
#0 0x0000000000000000 in ?? ()
#1 0x0000000000403f8f in ext2_end () at ext2.c:116
#2 0x0000000000403468 in create_appliance (hostcpu=<optimized out>, inputs=<optimized out>, nr_inputs=<optimized out>, whitelist=<optimized out>,
modpath=0x6d6360 "/lib/modules/3.1.6-1.fc16.x86_64", initrd=<optimized out>, appliance=0x7fffffffe60e "/tmp/root", writer=0x610420) at appliance.c:84
#3 0x0000000000402b66 in main (argc=<optimized out>, argv=<optimized out>) at main.c:316
(gdb)
The problem is this code: #ifdef HAVE_EXT2FS_CLOSE2 err = ext2fs_close2 (fs, EXT2_FLAG_FLUSH_NO_SYNC); #else err = ext2fs_close (fs); #endif febootstrap is compiled against the newer libext2fs which has ext2fs_close2. When run against the older version it seg faults. Solution is to add a dependency to febootstrap-supermin-helper to force the newer library. Should be fixed in febootstrap-3.12-3.fc17. Oops, try febootstrap-3.12-4.fc17. |
Created attachment 550384 [details] tdl used for plain f16 install Description of problem: oz-install fails to start some external tool, which I can't find what it is. Could be my system is missing some binary, but then oz lacks dependency. Version-Release number of selected component (if applicable): oz-0.7.0-3.fc17.noarch How reproducible: everytime i run oz-install with the given tdl Steps to Reproduce: 1. sudo LIBGUESTFS_DEBUG=1 oz-install -d4 -u f16-bug.tdl 2. 3. Actual results: fails with: INFO:oz.Guest.FedoraGuest:Cleaning up after install Traceback (most recent call last): File "/usr/bin/oz-install", line 145, in <module> guest.generate_install_media(force_download) File "/usr/lib/python2.7/site-packages/oz/RedHat.py", line 739, in generate_install_media return self._iso_generate_install_media(fetchurl, force_download) File "/usr/lib/python2.7/site-packages/oz/Guest.py", line 1475, in _iso_generate_install_media self._copy_iso() File "/usr/lib/python2.7/site-packages/oz/Guest.py", line 1195, in _copy_iso gfs.launch() File "/usr/lib/python2.7/site-packages/guestfs.py", line 236, in launch return libguestfsmod.launch (self._o) RuntimeError: external command failed, see earlier error messages libguestfs: closing guestfs handle 0x2893b90 (state 0) Expected results: create the os image Additional info: