[Libguestfs] [PATCH] daemon: mkfs: Use -I option to force mkfs.fat to write a filesystem over a whole device (RHBZ#1039995).

2013-12-10 Thread Richard W.M. Jones
From: "Richard W.M. Jones" If you use virt-make-fs to create a partitionless FAT-formatted disk image then currently you will get an error: $ virt-make-fs --type=fat . /tmp/test.img 'mkfs' (create filesystem) operation failed. Instead of 'fat', try 'vfat' (long filenames) or 'msdos' (short filen

Re: [Libguestfs] [PATCH 3/3] Create empty files to be edited by xgettext

2013-12-10 Thread Richard W.M. Jones
On Mon, Dec 09, 2013 at 08:52:35PM +0100, Hilko Bengen wrote: > This avoids: > > xgettext: error while opening "libguestfs.pot-t" for reading: No such > file or directory > > which I observed with xgettext (GNU gettext-tools) 0.18.3 > --- > po/Makefile.am | 1 + > 1 file changed, 1 insertio

Re: [Libguestfs] [PATCH] lib: fix newline in error output

2013-12-10 Thread Pino Toscano
On Monday 09 December 2013 19:26:47 Richard W.M. Jones wrote: > On Mon, Dec 09, 2013 at 08:13:19PM +0100, Pino Toscano wrote: > > See also RHBZ#923355. > > --- > > > > src/actions-support.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/src/actions-support.c b/src

[Libguestfs] [PATCH 0/2] proto: Remove a couple of errors which hide earlier errors.

2013-12-10 Thread Richard W.M. Jones
The handle can only store one error, so if an error path has more than one call to error/perrorf, then the earlier error will be lost and overwritten by the later one. Fix two (more) cases of this. Rich. ___ Libguestfs mailing list Libguestfs@redhat.co

[Libguestfs] [PATCH 1/2] proto: Remove error message which hides earlier error.

2013-12-10 Thread Richard W.M. Jones
From: "Richard W.M. Jones" When chunked encoding fails, the following error is added to the handle: [filename]: error in chunked encoding However all paths returning -1 from receive_file_data already set a more specific error, which this error hides. --- src/proto.c | 1 - 1 file changed, 1

[Libguestfs] [PATCH 2/2] proto: Remove another error message which hides earlier error.

2013-12-10 Thread Richard W.M. Jones
From: "Richard W.M. Jones" When receive_file_data calls guestfs___recv_from_daemon, and that function returns -1, it adds the following error to the handle: receive_file_data: parse error in reply callback However this hides a more specific error message which was already added by guestfs___r

Re: [Libguestfs] Error in chunked encoding

2013-12-10 Thread Richard W.M. Jones
On Mon, Dec 09, 2013 at 09:17:28PM -0500, Chris Lalancette wrote: > Hello, > Oz is a program that does automated installation of virtual > machines. It is written in python and uses libguestfs pretty heavily > to manipulate ISOs and disks. > Someone reported an error against Oz here: >