Hide Forgot
guestfs_last_errno() isn't exposed in the perl bindings, meaning it is not directly possible to determine the cause of a failure. An example which has come up recently in virt-v2v is failure checking on mkdir(). EEXIST would be non-fatal, but any other error would be fatal.
We seem to have agreed to defer this to 6.2. Setting flags accordingly.
Patch posted upstream: https://www.redhat.com/archives/libguestfs/2011-March/msg00077.html
Sorry, this is not the upstream bug, setting state back to ASSIGNED.
Upstream: http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=883390fb2e8cdaf81223eb41c87f245571e3d63d
dev-ack'd for RHEL 6.2.
https://brewweb.devel.redhat.com/taskinfo?taskID=3546057
Verified this using this script: $ perl <<'EOF' use Sys::Guestfs; my $h = Sys::Guestfs->new (); print $h->last_errno(); EOF script output: libguestfs-1.7.17-19: Can't locate object method "last_errno" via package "Sys::Guestfs" at - line 3. libguestfs-1.7.17-26: 0
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1512.html