Skip to content

Commit

Permalink
Update release notes, etc., for the 1.46.6 release
Browse files Browse the repository at this point in the history
Signed-off-by: Theodore Ts'o <[email protected]>
  • Loading branch information
tytso committed Feb 2, 2023
1 parent 705fbb9 commit 0127761
Show file tree
Hide file tree
Showing 6 changed files with 539 additions and 407 deletions.
43 changes: 43 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
e2fsprogs (1.46.6-1) unstable; urgency=medium

* Upstream version
* NMU acknowledge (Closes: #1022096)
* In line with v6.2 and later Linux kernel, the extended xattribute hash
may be calculated using either the signed or unsigned char variant,
but new xattr entries will be set using the unsigned variant. Since
this difference is only seen for extended attribute names that contain
non-ASCII characters, the fact that we had a signed vs unsigned char
dependency was not noticed for over two decades.
* E2fsck will now check to make sure the journal inode does not have the
encrypt flag set.
* Fuse2fs now supports an offset=<bytes> option which allows
operating on a file system image which is located starting at the
specified offset from the beginning of the image.
* Fix a deadlock bug in e2fsck's error handler when there are errors
trying to write to the file system.
* Fix a bug in tune2fs which could cause it to crash if device goes
off-line just as it being opened.
* Improve error messages issued by badblocks and tune2fs.
* Fix a crash in badblocks when the user specifies an overly large
number of blocks tested at a time in read/write or nondestructive
mode.
* Speed up e2fsck's clonning of multiply-claimed blocks so it is
substantially faster on very large file systems.
* Don't fail when the source directory for mke2fs -d doesn't support
extended attributes.
* Update Chinese, Czech, Dutch, French, German, Malay, Polish, Serbian,
Spanish, Swedish, and Ukrainian translations.
* Update the Debian policy compliance to 4.6.1.

-- Theodore Y. Ts'o <[email protected]> Thu, 02 Feb 2023 00:38:18 -0500

e2fsprogs (1.46.6~rc1-1.1) unstable; urgency=medium

* Non-maintainer upload
* Convert copyright files to machine-readable format, adding the missing
licenses and copyright information (Closes: #1022096)

-- Bastian Germann <[email protected]> Tue, 03 Jan 2023 14:31:18 +0100

e2fsprogs (1.46.6~rc1-1) unstable; urgency=medium

* Trial upstream release for 1.46.6
Expand All @@ -8,6 +49,8 @@ e2fsprogs (1.46.6~rc1-1) unstable; urgency=medium
nearest cluster boundary when resizing bigalloc file systems
* Avoid triggering udev in dumpe2fs and "resize2fs -P" for file systems
with MMP enabled
* Fix tune2fs so it will detect another device stealing the MMP sessions
while rewriting metadata checksums.
* Fix a bug where e2fsck could fail when specifying an undo file and an
explicit superblock number
* Fix e2image so it won't potentially loop forever for certain invalid
Expand Down
2 changes: 2 additions & 0 deletions debian/libext2fs2.symbols
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ libext2fs.so.2 libext2fs2 #MINVER#
ext2fs_ext_attr_block_csum_verify@Base 1.43
ext2fs_ext_attr_block_rehash@Base 1.44.0~rc1
ext2fs_ext_attr_hash_entry2@Base 1.44.0~rc1
ext2fs_ext_attr_hash_entry3@Base 1.46.6
ext2fs_ext_attr_hash_entry@Base 1.41.0
ext2fs_ext_attr_hash_entry_signed@Base 1.46.6
ext2fs_extent_block_csum_set@Base 1.43
ext2fs_extent_block_csum_verify@Base 1.43
ext2fs_extent_delete@Base 1.41.0
Expand Down
80 changes: 77 additions & 3 deletions doc/RelNotes/v1.46.6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,43 @@ needed.
Resize2fs will round down the requested new file system size to the
nearest cluster boundary when resizing bigalloc file systems.

Improve error messages issued by badblocks.

Fuse2fs now supports an offset=<bytes> option which allows operating on
a file system image which is located starting at the specified offset
from the beginning of the image.



Fixes
-----

Pre-v6.2 Linux kernels had long-standing bug in how the extended
attribute hash was calculated when there were non-ASCII characters in
the xattr name, when the hash would be different depending on whether
the C 'char' type was signed or unsigned. To address this bug, starting
with e2fsprogs 1.46.6+ and Linux 6.2+, we will accept either the signed
or unsigned hash variant, but only set the unsigned hash variant. Since
extended attribute names are in practice composed of ASCII characters,
other than various tests (such as generic/454), most users will
hopefully not notice this change.

Avoid triggering udev in dumpe2fs and "resize2fs -P" for file systems
with MMP enabled by opening the device read-only when reading the MMP
block.

Fix MMP handling so it can notice when another writer has modify the MMP
block out from under it when stopping a MMP sessions.

Fix tune2fs so it will detect another device stealing the MMP sessions
while rewriting metadata checksums.

E2fsck will now check to make sure the journal inode does not have the
encrypt flag set.

Fix a deadlock bug in e2fsck's error handler when there are errors
trying to write to the file system.

Fix a bug where e2fsck could fail when specifying an undo file and an
explicit superblock number.

Expand All @@ -46,6 +75,9 @@ Add additional bullet-proofing for very badly corrupted file systems.
Try avoid UBSAN warnings, null pointer derferences, and other memory
bugs. (Addresses CVE-2022-1304)

Don't fail when the source directory for mke2fs -d doesn't support
extended attributese.

Check for and handle malloc() failures when computing the log filename
in e2fsck and in the libss library.

Expand All @@ -55,7 +87,20 @@ are presumed to be blkid specifiers such as UUID=xxx or LABEL=yyy. If a
specifier is both a valid pathname name and blkid tag name specifier,
priority is given to a blkid resolved pathname.

Update and clarify's chattr's man page and usage message.
Improve tune2fs's error messages.

Fix a bug in tune2fs which could cause it to crash if device goes
off-line just as it being opened.

Fix the fsck driver so if it is interrupted while running fsck -N it
doesn't end up kllling all processes on the system.

Fix a crash in badblocks when the user specifies an overly large
number of blocks tested at a time in read/write or nondestructive
mode.

Update and clarify's chattr's man page and usage message. Fix spelling
typo's in a variety of different man pages and comments.


Performance, Internal Implementation, Development Support etc.
Expand All @@ -65,12 +110,25 @@ Update to autoconf 2.71.

Update flags used to create shared library on Darwin/MacOS.

Speed up e2fsck's clonning of multiply-claimed blocks so it is
substantially faster on very large file systems.

Add tests/fuzz directory with fuzzers from oss-fuzz.

Add a Github Actions configuration file so that Github will run CI tests
on Linux, Windows and MacOS on a push to the e2fsprogs github repo.

Make the mtab parsing in ext2fs_check_mount_point() more careful so it
won't get confused when a block device shows up in the mnt_name field
for a virtual file system.

Fix the libss's Makefile to create the man page directory before trying
to install its man page.

Fix various Coverity and compiler warnings.

Make tests more portable on various different OS's and system
configurations (e.g., with SELinux enabled).
configurations (e.g., with SELinux enabled, MacOS, and Windows)

Use mallinfo2() instead of mallinfo() where avilable, since mallinfo()
is deprecated on newer glibc versions.
Expand All @@ -79,12 +137,28 @@ E2fsck will no longer do a full scan of disconnected directory when
trying to print the parent directory, which is pointless and can slow
down e2fsck if there are a large number of disconnected directories.

Debugfs will now print the extended attribute's e_hash field.

Fix the setup-schroot script to work on non-Linux platforms.

Fix ext2fs_compare_generic_bmap() so it correctly compares all of the
bits in the bitmap, and so that it works correctly when comparing a
bitarray bitmap with a rbtree-based bitmap. (Fortunately, none of the
programs in e2fsprogs uses bitmap comparison functions.)

Fix memory leaks on error paths.

Add support for the configure option --enable-largefile so that
e2fsprogs can utilize largefile support for the MUSL C library.

Add an note that the dict library code has been modified, as required by
the Kazlib license.

Synchronized changes from Android's AOSP e2fsprogs tree.

Updated config.guess and config.sub with newer versions from the FSF.

Add Friulian translation.

Update Chinese and Malay translations.
Update Chinese, Czech, Dutch, French, German, Malay, Polish, Serbian,
Spanish, Swedish, and Ukrainian translations.
2 changes: 1 addition & 1 deletion doc/libext2fs.texinfo
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ by the author.
@title The EXT2FS Library
@subtitle The EXT2FS Library
@subtitle Version 1.46.6
@subtitle September 2022
@subtitle February 2023

@author by Theodore Ts'o

Expand Down
Loading

0 comments on commit 0127761

Please sign in to comment.