virt-df: Disallow -h and --csv options together (RHBZ#600977).
[libguestfs.git] / RELEASE-NOTES
1 Release notes for libguestfs 1.4.0
2 ----------------------------------
3 [updated to 6c27155621f75351a3b18237ac7631f0eb12c336]
4
5 These release notes only cover the differences from the previous
6 stable/dev branch split (1.2.0).  For detailed changelogs, please see
7 the git repository, or the ChangeLog file distributed in the tarball.
8
9 New features
10
11  - guestfish lets you choose a prepared disk image, eg:
12      guestfish -N fs:ext4
13
14  - Add write support to guestmount (FUSE) module.
15
16  - virt-resize can now resize the content of partitions and logical
17    volumes in the guest, and we fully support shrinking guests.
18
19  - Bash tab-completion script for guestfish.
20
21  - Add ZFS support to virt-rescue.
22
23  - New tool 'virt-make-fs' for creating filesystems with content.
24
25  - Allow suffixes on any guestfish number parameter, eg. "1M".
26
27  - guestfish 'man' command opens the manual page.
28
29  - guestfish supports a "heredoc" syntax for uploading files:
30      upload -<<_end_ /foo
31      content
32      _end_
33
34  - Some guestfish commands now print their output in octal or hex
35    where appropriate (RHBZ#583242).
36
37  - Allow dash prefix on guestfish command line.  This ignores any
38    error from the second command:                   (RHBZ#578407)
39      guestfish -- cmd1 : -cmd2 : cmd3
40
41  - guestfish -h / help command now returns an error for non-existent
42    commands (RHBZ#597145).
43
44  - New 'supported' command in guestfish to list optional groups of
45    commands which are supported by the daemon / configuration.
46
47  - virt-inspector and guestfish -i now work for filenames which
48    contain spaces (RHBZ#507810).
49
50  - Change the protocol to use link-local addresses, to avoid
51    conflicting with any address that the host might be using
52    (RHBZ#588763).
53
54  - libguestfs now sets the correct time and timezone on filesystem
55    modifications.
56
57  - Sort the domains into alphabetical order in virt-df.
58
59  - Make mkfs-b command work for FAT and NTFS by mapping the blocksize
60    parameter to the cluster size (RHBZ#599464).
61
62  - Add version numbers to Perl modules (RHBZ#521674).
63
64  - Localization now works for all the libguestfs tools (RHBZ#559963).
65
66  - Tools now support filesystem-on-image VMs (RHBZ#590167).
67
68  - virt-list-partitions has a '-t' option to show the total size of disks.
69
70  - Include extra Augeas lenses in the supermin appliance (Matthew Booth).
71
72  - Multiple fixes for RHEL 5 compatibility.
73
74  - Multiple fixes for Debian/Ubuntu compatibility.
75
76  - Multiple revisions to improve the documentation.
77
78 Security
79
80  - Fix a potential DoS in virt-inspector and virt-v2v if a specially
81    crafted disk image contained a char device in place of one of the
82    configuration files that we read under /etc (RHBZ#582484).
83
84 New APIs
85
86  - aug-clear - clear Augeas path
87  - available-all-groups - return a list of all optional groups
88  - base64-in - upload base64-encoded data to file
89  - base64-out - download file and encode as base64
90  - checksum-device - compute checksums on the contents of a device
91  - checksums-out - compute checksums of multiple files in a directory
92  - debug-upload - upload a file to the appliance
93  - fallocate64 - preallocate a file in the guest filesystem
94  - fill-pattern - fill a file with a repeating pattern of bytes
95  - get-umask - get the current umask
96  - lvresize-free - expand an LV to fill free space
97  - ntfsresize - resize an NTFS filesystem
98  - ntfsresize-size - resize an NTFS filesystem (with size)
99  - part-del - delete a partition
100  - part-get-bootable - get the bootable flag of a partition
101  - part-get-mbr-id - get the MBR type byte of a partition
102  - part-set-mbr-id - set the MBR type byte of a partition
103  - pvresize-size - resize a physical volume (with size)
104  - pwrite - write to part of a file
105  - resize2fs-size - resize an ext2/3/4 filesystem (with size)
106  - txz-in - unpack compressed tarball to directory (RHBZ#580556)
107  - txz-out - pack directory into compressed tarball (RHBZ#580556)
108  - vfs-label - get the filesystem label
109  - vfs-uuid - get the filesystem UUID
110  - vgscan - rescan for LVM physical volumes, volume groups and logical volumes
111  - write - create a new file
112  - zero-device - write zeroes to an entire device
113
114 Internals
115
116  - Extend the generator to support testing optional features.
117  - Stricter checks on input parameters to many calls (RHBZ#501893 RHBZ#501894)
118  - Extend the protocol to support sending arbitrary 8 bit data buffers.
119  - Ship 'BUGS' file with releases.  This is a summary of the bugs in
120    the Red Hat Bugzilla database.
121  - Unify supermin appliance building into one place, in febootstrap 2.7.
122  - Fix the protocol code to handle the case where both ends send cancel
123    messages at the same time.
124
125 Bugs fixed
126
127  - 599464 mkfs-b does not support vfat/ntfs
128  - 598309 part-list and several other cmd failed on libguestfs on RHEL5
129  - 597145 guestfish 'help' command should indicate error in exit status with an unknown command
130  - 597135 guestfish write-file cmd does not check "size" parameter
131  - 597118 A warning should be given in the help of mke2journal-L for the length of label
132  - 597112 get-e2uuid should use blkid instead of "tune2fs -l" to get filesystem UUID
133  - 596776 virt-inspector doesn't discover modprobe aliases on RHEL 3 guests
134  - 596763 Updates to Spanish translation
135  - 593292 Updates to Spanish translation
136  - 592883 can not edit files on  images mounted with guestmount cmd
137  - 592360 Updates to Spanish translation
138  - 591250 virt-tar prints "tar_in: tar subcommand failed on directory" if the archive is compressed or not in the right format
139  - 591155 virt-tar prints "tar_in: tar subcommand failed on directory" if a disk image is not writable
140  - 591142 virt-inspector should give an error for unrecognized disk images
141  - 590167 virt-inspector and other virt tools should be able to handle filesystem-on-image VMs
142  - 589039 guestfish read-file cmd will cause daemon hang when read large files
143  - 588851 guestfs_launch() returns -1, but guestfs_last_error() == NULL
144  - 588763 libguestfs should use non-public or link-local addresses for appliance network
145  - 588733 Updates to Spanish translation
146  - 588651 guestfish 'strings-e' cmd does not give proper error message or hint
147  - 587484 lvresize can't reduce size of a volumn
148  - 585961 Updates to Spanish translation
149  - 585223 ntfsresize should support shrinking filesystems
150  - 585222 pvresize should support shrinking PVs
151  - 585221 resize2fs should support shrinking filesystems
152  - 584038 Updates to Spanish translation
153  - 583554 [FEAT] mknod-mode command is needed to set mode explicitly
154  - 583242 [RFE] guestfish should print outputs in a suitable base (eg. octal for modes)
155  - 582993 guestfish eats words when tab completing case (in)sensitive paths
156  - 582953 Misleading help information about lvcreate command
157  - 582948 mknod command doesn't make block, character or FIFO devices
158  - 582929 mknod doesn't check for invalid mode
159  - 582901 guestfish chmod/umask commands do not check invalid mode value
160  - 582899 guestfish:sparse is missed from command autocomplete list
161  - 582891 [Feature Request] behavior and return value of guestfish umask cmd should be changed
162  - 582548 [mknod] umask shouldn't take effect when mode is set explicitly
163  - 582484 some guestfish sub commands can not handle special files properly
164  - 582252 Updates to Spanish translation
165  - 581501 Updates to Spanish translation
166  - 580650 virt-inspector warns "No grub default specified at /usr/lib/perl5/Sys/Guestfs/Lib.pm at [...]"
167  - 580556 request for libguestfs to support .txz tarballs
168  - 580246 tar-in command hangs if uploading more than available space
169  - 580016 aug-ls in guestfish does not take augeas variable as argument
170  - 579664 guestfish doesn't report error when there is not enough space for image allocation
171  - 579608 multiple commands in guestfish can not work for symbol links
172  - 579155 libguestfs hangs if qemu doesn't start (in null vmchannel mode)
173  - 578407 the prefix '-' in sub-command isn't handled by guestfish in remote control mode
174  - 576879 libguestfs protocol loses synchronization if you 'upload' before mounting disks
175  - 559963 libguestfs Perl programs do set locale, but still localization doesn't work
176  - 521674 Perl modules are unversioned, but should carry version numbers
177  - 516096 Race condition in test_swapon_label_0: /sbin/blockdev: BLKRRPART: Device or resource busy
178  - 507810 guestfish -i / virt-inspector cannot handle spaces in filenames
179  - 502533 Updated Polish translation of libguestfs
180  - 501894 Some String parameters should be OptString
181  - 501893 String parameters should be checked for != NULL
182  - 501889 write-file does not support strings containing ASCII NUL
183  - 484986 grub-install fails on virtio disk
184
185 Release notes for previous versions of libguestfs
186 -------------------------------------------------
187
188 2009-11-10 : 1.0.78
189 https://www.redhat.com/archives/libguestfs/2009-November/msg00095.html
190
191 2009-09-13 : 1.0.67
192 https://www.redhat.com/archives/libguestfs/2009-August/msg00281.html
193
194 2009-07-23 : 1.0.64
195 https://www.redhat.com/archives/libguestfs/2009-July/msg00059.html
196
197 2009-07-14 : 1.0.59
198 https://www.redhat.com/archives/libguestfs/2009-July/msg00023.html