summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* perl: Rerun configure if MAX_PROC_NR changes.Richard Jones2010-05-251-1/+2
| | | | | | If MAX_PROC_NR changes (because a new API has been added to the generator) then we need to rerun configure in order to set the Makefile's ${MAX_PROC_NR} variable, in order to rebuild Makefile.PL.
* Update Polish translations (RHBZ#502533).Piotr Drąg2010-05-251-229/+239
|
* Version 1.3.14.1.3.14Richard Jones2010-05-2414-7366/+7074
|
* build: Remove install_kernel from EXTRA_DIST.Richard Jones2010-05-241-1/+0
| | | | | This updates commit a34fadf900625f1f7359ecf3ca760820ffa20815, removing this now non-existent script from EXTRA_DIST.
* build: For development releases, print a notice.Richard Jones2010-05-241-0/+16
|
* guestfs_version: Correct documentation.Richard Jones2010-05-221-2/+3
| | | | | Remove reference to 'ELF weak linking tricks' and replace with suggestion to use dl* functions.
* Build workaround for Python 2.4.x in RHEL 5.Richard W.M. Jones2010-05-211-0/+6
| | | | | See: http://www.python.org/dev/peps/pep-0353/#conversion-guidelines
* C99 compatible build fix for RHEL 5.Richard W.M. Jones2010-05-211-3/+6
|
* New API: ntfsresize-size to allow shrinking NTFS (RHBZ#585223).Richard Jones2010-05-213-1/+29
|
* New API: pvresize-size to allow shrinking PVs (RHBZ#585222).Richard Jones2010-05-212-0/+31
|
* New API: resize2fs-size to allow shrinking ext2 filesystems (RHBZ#585221).Richard Jones2010-05-212-0/+43
|
* fish: Allow suffixes on number parameters (eg. 1M)Richard Jones2010-05-216-120/+113
| | | | | | | | | | | | | | | | This small change uses the gnulib xstrtoll functionality to enable suffixes on integer parameters in guestfish. For example: truncate-size /file 1G (previously you would have had to given the full number). This also applies to the 'alloc' and 'sparse' commands (and indirectly to the -N option). The specification for these commands has changed slightly, in that 'alloc foo 1MB' would now use SI units, allocating 1000000 bytes instead of a true megabyte. All existing uses would use 'alloc foo 1M' which still allocates true megabytes.
* fish: Fix '-N part' disk partition type sub-option.Richard Jones2010-05-211-1/+1
|
* TODO: Suggest including undelete utility.Richard Jones2010-05-211-0/+1
|
* Fix name of update-bugs script in output file BUGS.Richard Jones2010-05-211-1/+1
|
* ubuntu: Use direct udevd method to start udev on Ubuntu.Richard Jones2010-05-201-1/+1
| | | | | | | | | On Ubuntu, /etc/init.d/udev is a symlink to an upstart file, but running that causes the appliance to hang. Therefore detect if this is a symlink and fall through to the direct start of udevd. This shouldn't affect Debian because the file is not a symlink on standard Debian.
* ubuntu: Remove two FUSE packages from the default list.Richard Jones2010-05-201-2/+7
| | | | | | | fuse-utils (a dependency of these) cannot be installed under debirf because it does something with the system udevd which is not permitted. Seems to be a bug either in fakeroot or in the post install scripts for fuse-utils.
* ubuntu: Ignore packages in packagelist.in which are missing.Richard Jones2010-05-201-2/+10
| | | | | | | | | | | | | | For distros using 'yum', packages which cannot be found are just ignored. This allows us to include for example 'e4fsprogs' on the list even though that only exists on RHEL 5. However for Debian-derived distros, missing packages would cause apt to fail. This was particularly a problem when building Ubuntu since it doesn't have as complete a list of packages, and the list changed a lot between releases. This commit adds a check first for missing packages, ignoring those and thus acting more like 'yum'.
* Ubuntu: Use apt-get instead of aptitude when installing guestfsd.Richard Jones2010-05-201-2/+2
|
* Ubuntu: Revert install-kernel to debirf default script.Richard Jones2010-05-203-68/+2
|
* generator: Make 'xz' into an optional group.Richard Jones2010-05-202-2/+10
| | | | | | | On Ubuntu <= Karmic, xz-utils was not packaged, and therefore any xz-related tests would fail. Thus make this an optional group so that we can test for this and avoid running the tests if xz utils are not present.
* generator: Check parameters are not NULL (RHBZ#501893).Richard Jones2010-05-205-10/+110
| | | | | | | | | | | | | | This adds additional tests to check that several types of parameter including String are not NULL when passed to the C functions. Previously this would cause a segfault inside libguestfs. With this change, you get an error message / exception. Of the possible pointer parameters, only OptString is now permitted to be NULL. This change does not affect the Perl bindings. This is because Perl XS code was already adding similar checks if you passed undef into a parameter expecting a string.
* generator: Some String parameters should be OptString (RHBZ#501894).Richard Jones2010-05-201-2/+2
| | | | | I haven't checked the list of functions exhaustively, but these are the obvious ones.
* fuse: Implement write syscall (RHBZ#592883).Richard Jones2010-05-202-1/+22
|
* New API: Implement pwrite system call (partial fix for RHBZ#592883).Richard Jones2010-05-203-2/+61
|
* New API: write for creating files with fixed content (RHBZ#501889).Richard Jones2010-05-2010-65/+96
| | | | | | | | | | | | | The guestfs_write call can be used to create small files with arbitrary 8 bit content, including \0 bytes. This replaces and deprecates write-file, which cannot be modified to use BufferIn because of an unfortunate choice in the ABI: the size parameter to write-file, if zero, means that the daemon tries to calculate the length of the buffer using strlen. However this fails if we pass a zero-length buffer using BufferIn because then the daemon tries to do strlen on a (really) zero length buffer, not even containing a terminating \0 character, thus segfaulting.
* generator: Implement BufferIn parameter type (RHBZ#501889).Richard Jones2010-05-203-47/+178
| | | | | | | | | | | | The BufferIn argument turns into various things: in C const char *, size_t parameter pair in XDR an opaque<> type (instead of string) which allows \0 chars in other bindings mostly just a string, since most languages except for C permit strings to contain any 8 bit data
* fish: Fix build error if built without readline.Richard Jones2010-05-201-2/+4
| | | | | | fish.c:1447: error: 'add_history_line' defined but not used [-Wunused-function] (Reported by Matt Booth)
* appliance: Fix /etc/resolv.confRichard Jones2010-05-201-1/+1
| | | | | | | | Since changing to use link local address (commit fbf29976b33a69c64dc7847c54454bf2cfa5fde6) we have included an incorrect resolv.conf file in the appliance which points to the old (qemu) DNS server. This commit changes to use the new DNS server.
* Update BUGS.Richard Jones2010-05-191-9/+15
|
* Update Spanish translations (RHBZ#593292).Daniel Cabrera2010-05-181-694/+1398
|
* appliance: Ignore utempter unreadable binaries (for RHEL 6).Richard Jones2010-05-181-0/+1
|
* appliance: Change comment about unreadable binaries.Richard Jones2010-05-181-3/+4
|
* Version 1.3.13.1.3.13Richard Jones2010-05-1514-15/+15
|
* Update BUGSRichard Jones2010-05-151-4/+1
|
* Update PO files.Richard Jones2010-05-151-1513/+873
|
* Generate BUGS file from Red Hat Bugzilla database.Richard Jones2010-05-153-11/+233
| | | | | Add a script which generates the 'BUGS' file from Red Hat Bugzilla. This is run whenever we do 'make dist' and deliberately stored in git.
* virt-df: Display domains in sorted order.Richard Jones2010-05-141-1/+1
|
* Updated Spanish translations (RHBZ#592360).Richard Jones2010-05-141-897/+1610
|
* Ensure ordinary appliance is updated before trying to build supermin appliance.Richard Jones2010-05-141-2/+2
|
* Version 1.3.12, update PO files.1.3.12Richard Jones2010-05-1413-6917/+7512
|
* Unify supermin appliance building using febootstrap 2.7Richard Jones2010-05-1310-1178/+41
|
* Improve errors from tar-in/tgz-in commands (RHBZ#591155 RHBZ#591250).Richard Jones2010-05-133-7/+46
| | | | | | | | | | | | | | | | | | | | This commit improves the error messages from the tar-in, tgz-in (etc) commands by capturing the stderr from the tar command in a file and sending that back in the error message. The method used for the error file is primitive, and there is a case for a more generic error file mechanism, but this will do for now. Sample error messages after this change: $ virt-tar -u /tmp/test1.img /tmp/not.tar / tar_in: tar subcommand failed on directory: /: tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors at /home/rjones/d/libguestfs/tools/virt-tar line 247. $ virt-tar -u /tmp/test1.img /tmp/test.tar / tar_in: tar subcommand failed on directory: /: tar: access.log: Cannot open: Read-only file system tar: Exiting with failure status due to previous errors at /home/rjones/d/libguestfs/tools/virt-tar line 247.
* Combine common code in daemon/tar.c.Richard Jones2010-05-131-120/+20
| | | | | This commit shouldn't result in any change in the semantics of the code.
* Fix FileIn cmds losing synch if both ends send cancel messages (RHBZ#576879).Richard Jones2010-05-1310-54/+71
| | | | | | | | | | | | | | | | | | | | | | | During a FileIn command (eg. upload, tar-in) if both sides experience errors, then both sides could send cancel messages, the result being lost synchronization. The reason for the lost synch was because the daemon was ignoring this case and sending an error message back which the library side (which had cancelled) was not expecting. Fix this by checking in the daemon for the case where the library also cancels during daemon cancellation, and not sending an error messages. This also includes an enhanced regression test which checks for this case. This extends the original fix in commit 5922d7084d6b43f0a1a15b664c7082dfeaf584d0. More details can be found here: https://bugzilla.redhat.com/show_bug.cgi?id=576879#c5
* guestfish: Fix build error in 'print_shell_quote' function.Richard Jones2010-05-131-1/+1
| | | | | Amend commit 1c6ed48bd3cd471dc so the prototype of 'print_shell_quote' function is correct.
* fish: Fix guestfish -N option when called with unknown image type.Richard Jones2010-05-131-3/+5
| | | | | Previously it was falling off the end of the loop if you called it with an unknown image type.
* Improved error if virt-inspector cannot find OSes in image (RHBZ#591142).Richard Jones2010-05-136-7/+8
|
* Fix error message in string-e command (RHBZ#588651).Richard Jones2010-05-132-4/+39
|
* guestfish -i and virt-inspector work on filenames containing spaces ↵Richard Jones2010-05-132-26/+88
| | | | | | | | | | | | | | (RHBZ#507810). This commit fixes a long-standing bug which prevented guestfish -i and virt-inspector from working on disk images which had a space in the filename (or other unsafe characters). It works by ensuring that the strings passed between guestfish -i and virt-inspector are quoted correctly in both directions. Note that this commit adds a dependency from virt-inspector to the perl module String::ShellQuote. We have previously used this module in virt-make-fs.