summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.5.17.1.5.17Richard W.M. Jones2010-09-2117-16248/+16924
|
* Update release notes for new features in 1.5 branch.Richard W.M. Jones2010-09-211-0/+121
|
* fish: Implement 'hexedit' command.Richard W.M. Jones2010-09-216-1/+239
|
* New APIs: upload-offset and download-offsetRichard W.M. Jones2010-09-213-4/+162
| | | | | These APIs allow you to efficiently write and read parts of files or devices.
* leak: Clear history before exiting guestfish.Richard W.M. Jones2010-09-211-0/+1
| | | | | | | | | Clear the in-memory history before exiting. This removes some but not all memory leaks associated with using the GNU History library. As far as I can tell it is not possible to free up everything used by GNU History. (Found by valgrind).
* leak: Free list of drives and mountpoints in guestfish.Richard W.M. Jones2010-09-213-2/+53
| | | | | | | | | | Previously the list of -a, -d, -m, -N parameters were leaked. This change frees them explicitly. This is not such an important fix since guestfish is a one-shot program, but it aids in finding other leaks in future. (Found by valgrind).
* leak: Free PCRE regexps when library is unloaded.Richard W.M. Jones2010-09-211-0/+18
| | | | | | | The compiled PCRE regexps used for inspection were being leaked when the library was unloaded. (Found by valgrind).
* leak: Appliance name was leaked during guestfs_launch.Richard W.M. Jones2010-09-211-0/+2
| | | | | | | This frees the string containing the name of the appliance which was previously being leaked during launch. (Found by valgrind).
* Add more exclusions to .gitignore.Matthew Booth2010-09-211-0/+2
|
* Fix appliance build dependency problemMatthew Booth2010-09-212-5/+1
| | | | | | | | | | The appliance was being completely rebuilt every time guestfsd was updated. This was because make.sh depended on guestfsd, which it had to do because it called update.sh to install guestfsd. This fix removes the call to update.sh in make.sh, and therefore the dependency on guestfsd. The Makefile already includes a rule to run update.sh when guestfsd is updated, so this was unnecessary.
* fish: Add --echo-keys option to allow passphrases/keys to be echoed.Richard W.M. Jones2010-09-212-8/+22
| | | | | See also: http://catless.ncl.ac.uk/Risks/26.17.html#subj13.3
* df: Add --one-per-guest option for using one appliance per guest.Richard W.M. Jones2010-09-201-44/+98
|
* Fix error launching libguestfs when euid != uid.Richard W.M. Jones2010-09-201-25/+108
| | | | | | | | | | | | | | | | | When writing to a RHEV target, virt-v2v launches the libguestfs appliance with euid:egid = 36:36, which is required to write to an NFS target using root_squash. Since we changed to using a cached appliance, this causes an error on start up, as the cached files are owned by root, but the cache directory is owned by 36:36. The reason is that bash resets euid to uid and egid to gid so when febootstrap-supermin-helper is executed, it runs as root:root. The cache directory was created by libguestfs directly so it has the correct ownership. This patch fixes the issue by using explicit fork/exec instead of system (ie. not going via a shell) and by setting the real UID and GID to the effective UID and GID before execing.
* todo: Suggest removing repo name from appliance name.Richard W.M. Jones2010-09-201-0/+6
|
* generator: Generate guestfish-only commands.Richard W.M. Jones2010-09-1828-1677/+1624
| | | | | | The guestfish-only commands such as 'alloc' and 'edit' are now generated from one place in the generator instead of being spread around ad-hoc in the C code.
* fish: In guestfish(1) turn command references into links.Richard W.M. Jones2010-09-181-1/+1
|
* fish: Correction for online help for 'edit' and 'more' commands.Richard W.M. Jones2010-09-171-8/+2
| | | | | This corrects commit b5c287bcd456bdb02d8ec0443483df34f4fd6b5d and commit 639ca1828b167bf59353f0cd3c8c79c6289bbd5d.
* Version 1.5.16.1.5.16Richard Jones2010-09-1516-564/+629
|
* configure: Make "fedora-13" the default repository.Richard Jones2010-09-151-2/+2
|
* fish: If -m option fails, suggest a mountpoint.Richard Jones2010-09-152-5/+15
|
* todo: Remove section since we now have list-filesystems API.Richard Jones2010-09-151-4/+0
|
* Version 1.5.15.1.5.15Richard Jones2010-09-1517-9405/+9845
|
* New API: list-filesystems: list filesystemsRichard Jones2010-09-152-4/+180
| | | | | | | | | | | | | | | | | | This API is a simpler replacement for the guestfish commands list-devices / list-partitions / lvs, in the case where you are just examining a guest by hand to see what it contains. Typical usage and output in guestfish is like this: $ guestfish --ro -a /dev/vg_trick/F13x64 ><fs> run ><fs> list-filesystems /dev/vda1: ext4 /dev/vg_f13x64/lv_root: ext4 /dev/vg_f13x64/lv_swap: swap It can also be used to replace programs that try to mount devices to determine if they are mountable filesystems.
* New API: part-to-dev: Convert partition name to device name.Richard Jones2010-09-153-1/+42
| | | | | This adds a formal API for going from a partition to the containing device, eg. /dev/sda1 -> /dev/sda
* generator: Add TestOutputDevice.Richard Jones2010-09-153-0/+20
| | | | | | This is for testing functions that return a device or partition name, so that we can compare the return value with the canonical device name (eg. "/dev/vda1" == "/dev/sda1").
* todo: More use of libblkid.Richard Jones2010-09-151-0/+12
|
* fish: In usage message use new-style -i option syntax.Richard Jones2010-09-141-2/+2
|
* fish: Update copyright dates in usage message.Richard Jones2010-09-141-1/+1
|
* fish: Remove extraneous space from usage message.Richard Jones2010-09-141-1/+1
|
* todo: More ideas.Richard Jones2010-09-141-0/+9
|
* Version 1.5.14.1.5.14Richard Jones2010-09-1416-1627/+831
|
* configure: Check for virtio-serial support in qemu.Richard Jones2010-09-141-35/+9
| | | | | | All other vmchannel methods are obsolete, but we were still trying to check for them. This replaces all of them with a simple check for virtio-serial.
* pardus: Check for cpio in configure.Richard Jones2010-09-141-0/+5
|
* Update Spanish translation (RHBZ#633357).Richard Jones2010-09-131-853/+1664
|
* build: Add run-test-tool-locally to EXTRA_DIST.Richard Jones2010-09-131-1/+1
|
* Version 1.5.13.1.5.13Richard Jones2010-09-1316-18/+27
|
* appliance: Disable setting scheduler to noop.Richard Jones2010-09-131-1/+3
| | | | | | This is a workaround until https://bugzilla.redhat.com/show_bug.cgi?id=630583 is fixed (bug in Linux 2.6.36).
* ubuntu: Remove bogus debirf file.Richard Jones2010-09-131-0/+1
|
* ubuntu: Add linux-image to the packagelist.Richard Jones2010-09-131-0/+1
| | | | | It seems that linux-image (ie. the kernel) is omitted in some versions of the base packages.
* ubuntu: /proc can be a symlinkRichard Jones2010-09-131-0/+1
| | | | | If it's a symlink then the succeeding mount commnd will fail. Remove it and make a /proc directory.
* build: 'make quickcheck' rule now uses new run-test-tool-locally script.Richard Jones2010-09-131-3/+1
|
* build: hivex is required.Richard Jones2010-09-112-7/+3
| | | | | hivex library has been required since we moved the inspection code to C. Check for this in configure.ac.
* Version 1.5.12.1.5.12Richard Jones2010-09-1116-967/+967
|
* build: require Augeas for library.Richard Jones2010-09-113-4/+9
| | | | | | Augeas has been required since we moved the inspection code to C, however we were not correctly enforcing this in configure.ac, nor correctly linking to the library until now.
* generator: Provide no-op generator if no OCaml compiler.Richard Jones2010-09-111-0/+16
|
* build: Don't distribute src/generator.ml, no longer exists.Richard Jones2010-09-111-1/+0
|
* generator: Calculate MD5 of test.iso at runtime.Richard Jones2010-09-115-8/+47
| | | | | | | | | Because this used to be compiled into the C test, it changed every time the ISO was rebuilt (which because of Makefile deps was every run). Now it is calculated at runtime so the C test file doesn't keep changing.
* generator: Don't use real uuidgen for UUIDs.Richard Jones2010-09-111-11/+16
| | | | | This was one reason why capitests/tests.c changed every time the generator was run.
* Split generator into separate source files.Richard Jones2010-09-1142-13215/+14323
| | | | | | | | | | 'src/generator.ml' is no more. Instead the generator is logically split up over many different source files. Read generator/README for help and tips. We compile the generator down to bytecode, not native code. This means it will run more slowly, but is done for maximum portability.
* syntax: Replace -a and -o with && and || for portability.Richard Jones2010-09-113-20/+21
|