Richard W.M. Jones
dd5959cd88
builder: Copy-editing on documentation.
...
Plus some ideas added to TODO file.
2013-10-25 14:05:34 +01:00
Richard W.M. Jones
99840550d5
builder: Add --mkdir option to create directories.
2013-10-25 13:35:51 +01:00
Richard W.M. Jones
b3ab3b452a
builder: Fix two problems in --help output.
2013-10-23 11:37:11 +01:00
Richard W.M. Jones
3f46a92ed5
builder: Add --no-sync option to avoid sync on exit.
2013-10-22 22:28:27 +01:00
Richard W.M. Jones
f59a404568
Revert "java: Remove version number from the jar file (RHBZ#1022184)."
...
This reverts commit 7330ccd288 .
See comment in https://bugzilla.redhat.com/1022184
2013-10-22 17:56:11 +01:00
Richard W.M. Jones
7330ccd288
java: Remove version number from the jar file (RHBZ#1022184).
2013-10-22 17:44:33 +01:00
Richard W.M. Jones
d4450c6590
builder: Use pxzcat (optionally) to speed up xzcat step.
2013-10-22 14:52:52 +01:00
Richard W.M. Jones
0e18bccb64
builder: Make xzcat binary configurable and use AC_PATH_PROG.
2013-10-22 14:52:52 +01:00
Richard W.M. Jones
2f3a3e308a
builder: Don't run virt-resize when not necessary.
...
If:
- the output is a regular file
- the output format is raw
- the user didn't specify the --size option
then we don't need to run virt-resize. Simply uncompress
the template directly to the output file.
2013-10-22 14:52:52 +01:00
Richard W.M. Jones
2a76aa22c7
build: xz is required.
...
It is needed for libguestfs-make-fixed-appliance and many other places.
2013-10-22 13:58:33 +01:00
Richard W.M. Jones
5b89dd4aa1
mllib: Create config.ml from configure and use it for --version options.
...
Also don't internationalize the output of the --version option, as
that isn't useful.
2013-10-22 13:48:41 +01:00
Richard W.M. Jones
d6e5a6546a
configure: Use AC_PATH_PROG{,S} for external programs used by the library.
2013-10-19 22:27:52 +01:00
Richard W.M. Jones
a29777c111
Version 1.25.0.
1.25.0
2013-10-18 17:55:45 +01:00
Richard W.M. Jones
356e6a6504
Version 1.24.0.
...
New stable branch.
1.24.0
2013-10-18 17:38:46 +01:00
Richard W.M. Jones
3b69792cd5
appliance: When valgrinding daemon + error path, sleep so valgrind messages are seen.
2013-10-18 13:59:01 +01:00
Richard W.M. Jones
dfaf417fef
appliance: Add comments to init script.
2013-10-18 13:59:01 +01:00
Richard W.M. Jones
1e24b88270
resize, builder: Improve speed by using cache=unsafe on newly created files.
...
However because qemu might open these files immediately afterwards
using cache=none, we have to sync the file before exiting.
2013-10-18 13:59:01 +01:00
Richard W.M. Jones
9a4bfb386e
resize: Rearrange objects.
...
This is just build refactoring.
2013-10-18 13:33:32 +01:00
Richard W.M. Jones
18c93ac61f
RHEL 5: Don't use 'truncate' command in tests.
...
Use 'guestfish sparse' instead, which is roughly equivalent.
See commit ef1514aa1e
and commit 39df80dcc0 .
2013-10-18 09:09:59 +01:00
Richard W.M. Jones
b68a99b8e2
Finalize release notes for libguestfs 1.24 release.
2013-10-17 16:03:49 +01:00
Richard W.M. Jones
6611d45ab7
Update PO files from Transifex.
2013-10-17 15:49:20 +01:00
Richard W.M. Jones
bbac0beab9
Update ROADMAP.
2013-10-17 15:48:44 +01:00
Richard W.M. Jones
feaf871856
API support: Fix website directory for new location.
2013-10-17 15:47:56 +01:00
Richard W.M. Jones
ad82de35b7
Update API support.
2013-10-17 15:47:52 +01:00
Richard W.M. Jones
3cce894f1b
Update TODO.
2013-10-17 15:42:38 +01:00
Richard W.M. Jones
24a315507d
Add man page for /etc/libguestfs-tools.conf (RHBZ#1019889).
...
Add a man page to document this configuration file. This is
required by some distros, eg. Debian and RHEL.
2013-10-17 15:23:40 +01:00
Richard W.M. Jones
13b79aacca
Use qemu-img -o preallocation=metadata where possible.
...
When format is qcow2 and we're *not* using a backing disk, we can use
preallocation=metadata for better performance.
2013-10-17 15:03:37 +01:00
Richard W.M. Jones
54fb09e052
fish: CVE-2013-4419: Fix insecure temporary directory handling for remote guestfish (RHBZ#1016960).
...
When using the guestfish --remote or guestfish --listen options,
guestfish would create a socket in a known location
(/tmp/.guestfish-$UID/socket-$PID).
The location has to be a known one in order for both ends to
communicate. However no checking was done that the containing
directory (/tmp/.guestfish-$UID) is owned by the user. Thus another
user could create this directory and potentially modify sockets owned
by another user's guestfish client or server.
This commit fixes the issue by creating the directory unconditionally,
and then checking that the directory has the correct owner and
permissions, thus preventing another user from creating the directory
first.
If guestfish sees a suspicious socket directory it will print an error
like this and exit with an error status:
guestfish: '/tmp/.guestfish-1000' is not a directory or has insecure owner or permissions
Thanks: Michael Scherer for discovering this issue.
Version 2:
- Add assigned CVE number.
- Update documentation.
Signed-off-by: Richard W.M. Jones <rjones@redhat.com >
2013-10-17 12:54:06 +01:00
Richard W.M. Jones
34da8850bb
builder: When doing maintainer test for new guests, test adding a user account.
2013-10-17 12:24:25 +01:00
Richard W.M. Jones
61306130f8
launch: libvirt: Add guestfs-<random> name to the handle.
...
This is so we can display the random name in debug messages.
2013-10-17 12:24:18 +01:00
Richard W.M. Jones
fc733cf943
FAQ: useradd -> usermod.
...
This fixes commit dd554d94ad .
2013-10-16 10:48:07 +01:00
Richard W.M. Jones
cb49299c13
Version 1.23.33.
1.23.33
2013-10-15 20:41:22 +01:00
Richard W.M. Jones
f08ef9778b
builder: Add maintainer test for new guests.
...
This is not part of the automated test suite. It's a manual test run
by the maintainer which must be run on each new guest to ensure that
all the virt-builder features work on the new guest.
2013-10-15 20:41:22 +01:00
Richard W.M. Jones
b816f29ada
firstboot: Ensure firstboot scripts run in command line order.
...
Previously they ran in effectively random order.
2013-10-15 20:41:22 +01:00
Richard W.M. Jones
a3e5bc7bfa
sysprep: firstboot: Don't set `Created_files flag unless files are created.
2013-10-15 20:41:22 +01:00
Richard W.M. Jones
356a749bba
firstboot: Add some debugging to the control script.
...
For reasons unknown, firstboot does not work on Debian 6 & 7.
https://bugzilla.redhat.com/show_bug.cgi?id=1019388
2013-10-15 20:41:22 +01:00
Richard W.M. Jones
49e6ba51e3
sysprep: random seed: Try much harder to create a random seed file.
...
Since this is essential for security, be much more proactive about
trying to create a random seed file, even for guests which have buggy
installers that don't create this file during installation.
2013-10-15 20:41:22 +01:00
Richard W.M. Jones
862da5dd79
builder: Really force apt not to ask questions.
...
This fixes commit b812a0d459 .
2013-10-15 15:33:02 +01:00
Richard W.M. Jones
8b977d152a
builder: Remove capital O and lower case L from random root password.
...
They look too much like 0 and 1.
2013-10-15 14:46:40 +01:00
Richard W.M. Jones
70e660a157
builder: Wrap program in an exception handler which pretty-prints common exceptions.
...
This looks like a large change, but is mainly just reindenting
everything into a 'main ()' function.
2013-10-15 14:37:48 +01:00
Richard W.M. Jones
fd63d89644
builder: Remove nbdkit-xz-plugin support (it was disabled anyway).
...
We can re-add this later if libvirt gets fixed, but for now simplify
the code and concentrate on the one code path.
2013-10-15 14:19:53 +01:00
Richard W.M. Jones
d8499c428a
builder: Move command line argument processing to separate source file.
...
This is just code motion.
2013-10-15 14:10:06 +01:00
Richard W.M. Jones
2bc223b6b2
firstboot: Fix test for installing sysvinit scripts.
...
This fixes commit 9aa13e0574 .
2013-10-15 09:53:08 +01:00
Richard W.M. Jones
b812a0d459
builder: Try really hard to make apt non-interactive.
2013-10-14 23:25:31 +01:00
Richard W.M. Jones
ec6f9ee542
appliance: Remove cruft and run udevd directly.
...
This commit removes a lot of cruft from old RHEL which was required to
start udev. Instead we run the daemon directly.
Also it removes the fallback path which created some device nodes in
/dev by hand. This likely did not work. This also removes the
dependency on MAKEDEV which is long gone from most distros.
This is required for Ubuntu, since the /etc/init.d/udev script didn't
actually work. The most common symptom was that /dev/virtio-ports/*
was not created because udev didn't process the cold start events.
2013-10-14 23:22:26 +01:00
Richard W.M. Jones
c9f98011fc
Version 1.23.32.
1.23.32
2013-10-14 18:25:45 +01:00
Richard W.M. Jones
d9008e141c
build: Add missing EXTRA_DIST files.
2013-10-14 18:21:54 +01:00
Richard W.M. Jones
ec0d0e0f62
build: Add maintainer-check-extra-dist rule.
...
This is used by the maintainer to check for missing files
in EXTRA_DIST.
2013-10-14 18:21:54 +01:00
Richard W.M. Jones
56928b5381
build: Don't hard-code list of virt-builder templates in top level directory.
...
It's troublesome for maintenance. Use a wildcard here.
2013-10-14 18:21:54 +01:00
Richard W.M. Jones
9c7497a1eb
Update to latest gnulib.
2013-10-14 15:51:47 +01:00