| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
This adds the guestfish --rw option, intended in future
to be required for writing to disk images.
At the moment this does not change the default and so does
nothing. This patch is intended for backporting to the
stable branches so that we can start to introduce scripts
which use 'guestfish --rw'.
(cherry picked from commit 2c4a7ef92a4583a1217213573ad406eb5d745990)
|
|
|
|
|
|
|
|
|
|
| |
C# bindings were omitted entirely. Add a Makefile.am for this
directory even though we don't build these.
Because of a missing backslash, some POD files were not being
included.
Cherry picked from commit 26118d498eefe10c8fa604f949680d2417c8b25c.
|
|
|
|
|
|
|
|
|
| |
eval "$(guestfish --listen)"
instead of various other forms.
(Thanks Eric Blake).
(cherry picked from commit be728962ff636e260f09dca6a1175c442d687551)
|
|
|
|
|
|
|
|
| |
Don't depend on bash, but allow sh/dash/etc format:
GUESTFISH_PID=nn; export GUESTFISH_PID
(Thanks Eric Blake).
(cherry picked from commit 633ae13c80d40b0f30db73e520c08cf365d2f8a3)
|
| |
|
|
|
|
| |
(cherry picked from commit e51d6724d55c3a8c39b97c23abdf0b6168833e10)
|
|
|
|
|
|
| |
Public headers use va_list, and this gives an error unless <stdarg.h>
had been included before the header.
(cherry picked from commit 7fc338690f385c2495b7ba5f98346a5c057991ea)
|
|
|
|
| |
(cherry picked from commit 6283982e36eeb3d19940618dc0aec88da08c7516)
|
|
|
|
| |
(cherry picked from commit ca236acc6773ba6712f499dc73a25e28acae85dc)
|
|
|
|
| |
(cherry picked from commit bfeffeb1e4d6f3725eb8148c098505a9d81a7ba5)
|
|
|
|
| |
(cherry picked from commit 9694cd59f8250ae84c23922fda5cbb751e846e3c)
|
|
|
|
|
| |
This fixes commit f661db2c393d1b7e4211c55682b7fac82a70e36d.
(cherry picked from commit 19ea54b3f488755731ffc079519d6011dade9e5c)
|
|
|
|
|
|
|
| |
Existing command lookups are approx O(n^2). Replace this
with a perfect hash implementation which should be a lot
faster.
(cherry picked from commit 58915725b1e464f7d447c0051ad916fbc1a82210)
|
|
|
|
| |
(cherry picked from commit f661db2c393d1b7e4211c55682b7fac82a70e36d)
|
|
|
|
| |
(cherry picked from commit 5d6a91844520d07f9477e2ddca4caf8f040ef8a1)
|
|
|
|
| |
Cherry picked from commit 01d613ae957431d65c700a34e369ef4c06dd6d8f.
|
|
|
|
| |
Cherry picked from commit 6a218092812783eaea43919674eb8d1c74a80b33.
|
|
|
|
| |
Cherry picked from commit aae5bebe6878c01803653fae166c58b7217b6100.
|
|
|
|
| |
(cherry picked from commit 2be1648632e5e8dca06d84349314ab5e84f29e5c)
|
|
|
|
| |
(cherry picked from commit b535363e7e7a000cca3651790f911b2d0605968f)
|
|
|
|
| |
(cherry picked from commit 162c89ed497212859d748506209ffc1b88763ab2)
|
|
|
|
|
| |
I have no idea why we were doing this.
(cherry picked from commit ec0fe45e48fa4621fc6fa0f5bcc44f184068c86f)
|
|
|
|
|
|
| |
By exporting LIBGUESTFS_PATH with the right path to the appliance,
we no longer need to hard code the path in tests.c
(cherry picked from commit 2a33d81e2b7fa2affaaad48538307c818b4a8260)
|
|
|
|
|
| |
These macros are already defined in guestfs-internals.h
(cherry picked from commit 8ccc6cd1f798f960e520ea8de24eb1f6a1313d3a)
|
|
|
|
| |
(cherry picked from commit 6b8d05438cc0309f762fabf2f3cc7ae4bf5521c1)
|
|
|
|
|
|
| |
This file is already hard-linked into the current directory, so
the relative path is not required.
(cherry picked from commit 9ff99418361cd1b56b00e4ffef52444021e60c72)
|
|
|
|
|
|
|
|
| |
Some older tests used sfdisk to create partitions for the
tests. sfdisk is buggy (more so than parted -- what is it
with partitioning tools?) so replace these tests with
equivalent part-* commands.
(cherry picked from commit c5a6584c4fcc0051e1a333838d7562a4fba7ad1f)
|
|
|
|
|
|
| |
See commit 840536ea5a0568296dfd3e483442c76b93c5a949
and commit 956fc5a3feacc970ea763697bf28fb686c875408.
(cherry picked from commit 1937698c25fb9f066dba7b48ad4731927e3e74da)
|
|
|
|
|
|
| |
This is indirectly required via the new shared guestfish
C inspection code by libxml2.
(cherry picked from commit 47d158596140328e12aa3b8028a77dd40bf12eeb)
|
|
|
|
| |
(cherry picked from commit c36214c6825d77f1706c5eb5f6316bed88f240e4)
|
| |
|
|
|
|
| |
(cherry picked from commit 3fac199a8b4f4580d348807769d964b94179cd7f)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
List Debian packages by downloading and parsing the file
/var/lib/dpkg/status.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cached appliances are discovered by their predictable path. Previously we were
creating a cached appliance directly in this predictable path. This had at least
2 undesirable effects:
* Interrupting appliance creation would leave a corrupt appliance
* 2 processes could simultaneously attempt to create the same appliance, causing
corruption.
This patch causes the cached appliance to be created in a temporary directory,
and then renamed to the predictable path. As rename is an atomic operation, this
makes the whole creation atomic.
This patch also changes the predictable path to have a prefix of 'guestfs.'.
This will make it simpler for system administrators to clean up old cached
appliances.
This patch resolves RHBZ#639405
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use febootstrap-supermin-helper's new -u and -g command line options to setuid,
rather than doing it in libguestfs.
This resolves an issue with the generation of the cached appliance checksum. The
checksum was being generated by a call to febootstrap-supermin-helper through
popen(). Unfortunately, a bash misfeature meant that euid would be reset to uid,
and the checksum was generated for uid, not euid. When virt-v2v is writing to a
RHEV target, uid == 0 and euid == 36, which resulted in a cached appliance being
created for root with permissions for uid 36.
Note this requires febootstrap 2.10.
|