Hello,
I've found a problem running libguestfs on my system.
The system has /var mounted with a symbolic link to /mnt/bigdata/var
root@red1:/var/log/nova# ls -ld /mnt/bigdata/var
drwxrwxr-x 15 root users 4096 jul 7 17:55 /mnt/bigdata/var
root@red1:/var/log/nova# ls -ld /var
lrwxrwxrwx 1 root root 16 oct 30 2012 /var -> /mnt/bigdata/var
Any help here?
this is test tool output:
libguestfs-test-tool
************************************************************
* IMPORTANT NOTICE
*
* When reporting bugs, include the COMPLETE, UNEDITED
* output below in your bug report.
*
************************************************************
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
LD_LIBRARY_PATH=:/opt/cuda/lib:/opt/cuda/lib64:/usr/lib/nvidia-current/:/usr/lib32/nvidia-current/
LIBGUESTFS_DEBUG=1
LIBGUESTFS_TRACE=1
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/android-sdk/tools:/opt/android-sdk/platform-tools:/opt/cuda/bin
SELinux: sh: 1: getenforce: not found
libguestfs: trace: add_drive "/tmp/libguestfs-test-tool-sda-D0tuUa"
"format:raw"
libguestfs: trace: add_drive = 0
libguestfs: trace: version
libguestfs: trace: version = <struct guestfs_version *>
library version: 1.22.4
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
guestfs_get_backend: direct
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
guestfs_get_cachedir: /var/tmp
libguestfs: trace: get_direct
libguestfs: trace: get_direct = 0
guestfs_get_direct: 0
libguestfs: trace: get_memsize
libguestfs: trace: get_memsize = 500
guestfs_get_memsize: 500
libguestfs: trace: get_network
libguestfs: trace: get_network = 0
guestfs_get_network: 0
libguestfs: trace: get_path
libguestfs: trace: get_path = "/usr/lib/guestfs"
guestfs_get_path: /usr/lib/guestfs
libguestfs: trace: get_pgroup
libguestfs: trace: get_pgroup = 0
guestfs_get_pgroup: 0
libguestfs: trace: get_program
libguestfs: trace: get_program = "libguestfs-test-tool"
guestfs_get_program: libguestfs-test-tool
libguestfs: trace: get_qemu
libguestfs: trace: get_qemu = "/usr/bin/qemu-system-x86_64"
guestfs_get_qemu: /usr/bin/qemu-system-x86_64
libguestfs: trace: get_recovery_proc
libguestfs: trace: get_recovery_proc = 1
guestfs_get_recovery_proc: 1
libguestfs: trace: get_selinux
libguestfs: trace: get_selinux = 0
guestfs_get_selinux: 0
libguestfs: trace: get_smp
libguestfs: trace: get_smp = 1
guestfs_get_smp: 1
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
guestfs_get_tmpdir: /tmp
libguestfs: trace: get_trace
libguestfs: trace: get_trace = 1
guestfs_get_trace: 1
libguestfs: trace: get_verbose
libguestfs: trace: get_verbose = 1
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 600 seconds.
libguestfs: trace: launch
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
libguestfs: launch: backend=direct
libguestfs: launch: tmpdir=/tmp/libguestfsO8mvcd
libguestfs: launch: umask=0022
libguestfs: launch: euid=0
libguestfs: command: run: supermin-helper
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ -f checksum
libguestfs: command: run: \ /usr/lib/guestfs/supermin.d
libguestfs: command: run: \ x86_64
supermin helper [00000ms] whitelist = (not specified), host_cpu =
x86_64, kernel = (null), initrd = (null), appliance = (null)
supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d
checking modpath /lib/modules/3.11.0-13-generic is a directory
picked vmlinuz-3.11.0-13-generic because modpath
/lib/modules/3.11.0-13-generic exists
checking modpath /lib/modules/2.6.35-9-generic is a directory
picked vmlinuz-2.6.35-9-generic because modpath
/lib/modules/2.6.35-9-generic exists
checking modpath /lib/modules/3.11.0-2-generic is a directory
picked vmlinuz-3.11.0-2-generic because modpath
/lib/modules/3.11.0-2-generic exists
checking modpath /lib/modules/3.11.0-7-generic is a directory
picked vmlinuz-3.11.0-7-generic because modpath
/lib/modules/3.11.0-7-generic exists
checking modpath /lib/modules/2.6.35-10-generic is a directory
picked vmlinuz-2.6.35-10-generic because modpath
/lib/modules/2.6.35-10-generic exists
checking modpath /lib/modules/3.11.0-12-generic is a directory
picked vmlinuz-3.11.0-12-generic because modpath
/lib/modules/3.11.0-12-generic exists
checking modpath /lib/modules/3.11.0-14-generic is a directory
picked vmlinuz-3.11.0-14-generic because modpath
/lib/modules/3.11.0-14-generic exists
checking modpath /lib/modules/3.11.0-3-generic is a directory
picked vmlinuz-3.11.0-3-generic because modpath
/lib/modules/3.11.0-3-generic exists
supermin helper [00000ms] finished creating kernel
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [00001ms] visiting /usr/lib/guestfs/supermin.d/base.img
supermin helper [00001ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [00001ms] visiting /usr/lib/guestfs/supermin.d/hostfiles
supermin helper [00032ms] visiting /usr/lib/guestfs/supermin.d/init.img
supermin helper [00032ms] visiting
/usr/lib/guestfs/supermin.d/udev-rules.img
supermin helper [00032ms] adding kernel modules
supermin helper [00092ms] finished creating appliance
libguestfs: checksum of existing appliance:
b7f7d1f8a9dc038b8f7e0ff1d745f0047efef49a0a001b87b8a253db07b192e6
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: [00097ms] begin building supermin appliance
libguestfs: [00097ms] run supermin-helper
libguestfs: command: run: supermin-helper
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ /usr/lib/guestfs/supermin.d
libguestfs: command: run: \ x86_64
libguestfs: command: run: \ /var/tmp/guestfs.NfWDLf/kernel
libguestfs: command: run: \ /var/tmp/guestfs.NfWDLf/initrd
libguestfs: command: run: \ /var/tmp/guestfs.NfWDLf/root
supermin helper [00000ms] whitelist = (not specified), host_cpu =
x86_64, kernel = /var/tmp/guestfs.NfWDLf/kernel, initrd =
/var/tmp/guestfs.NfWDLf/initrd, appliance = /var/tmp/guestfs.NfWDLf/root
supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d
checking modpath /lib/modules/3.11.0-13-generic is a directory
picked vmlinuz-3.11.0-13-generic because modpath
/lib/modules/3.11.0-13-generic exists
checking modpath /lib/modules/2.6.35-9-generic is a directory
picked vmlinuz-2.6.35-9-generic because modpath
/lib/modules/2.6.35-9-generic exists
checking modpath /lib/modules/3.11.0-2-generic is a directory
picked vmlinuz-3.11.0-2-generic because modpath
/lib/modules/3.11.0-2-generic exists
checking modpath /lib/modules/3.11.0-7-generic is a directory
picked vmlinuz-3.11.0-7-generic because modpath
/lib/modules/3.11.0-7-generic exists
checking modpath /lib/modules/2.6.35-10-generic is a directory
picked vmlinuz-2.6.35-10-generic because modpath
/lib/modules/2.6.35-10-generic exists
checking modpath /lib/modules/3.11.0-12-generic is a directory
picked vmlinuz-3.11.0-12-generic because modpath
/lib/modules/3.11.0-12-generic exists
checking modpath /lib/modules/3.11.0-14-generic is a directory
picked vmlinuz-3.11.0-14-generic because modpath
/lib/modules/3.11.0-14-generic exists
checking modpath /lib/modules/3.11.0-3-generic is a directory
picked vmlinuz-3.11.0-3-generic because modpath
/lib/modules/3.11.0-3-generic exists
supermin helper [00010ms] finished creating kernel
supermin helper [00349ms] finished mke2fs
supermin helper [00350ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [00350ms] visiting /usr/lib/guestfs/supermin.d/base.img
supermin helper [00423ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [00430ms] visiting /usr/lib/guestfs/supermin.d/hostfiles
supermin-helper: ext2: parent directory not found: /mnt/bigdata/var:
File not found by ext2_lookup
libguestfs: error: supermin-helper exited with error status 1, see debug
messages above
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /var/tmp/guestfs.NfWDLf
libguestfs: trace: launch = -1 (error)
libguestfs-test-tool: falló al intentar lanzar dispositivo
libguestfs: trace: close
libguestfs: closing guestfs handle 0xb99990 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsO8mvcd