Whamcloud - gitweb
Fix date in the release notes for v1.46.6
[tools/e2fsprogs.git] / doc / RelNotes / v1.46.6.txt
1 E2fsprogs 1.46.6 (February 1, 2023)
2 =====================================
3
4 Updates/Fixes since v1.46.5:
5
6 UI and Features
7 ---------------
8
9 Debugfs's ncheck command now allows the inode number to be surrounded by
10 angle brackets, to be consistent with other debugfs commands.
11
12 Debugfs no longer prints a scary message when debugfs -c (which enables
13 "catastrophic mode") is used.  This was intended to allow debugfs to
14 operate on very badly corrupted file systems, but it is now sometimes
15 used to suppress reading the block and inode bitmaps when they are not
16 needed.
17
18 Resize2fs will round down the requested new file system size to the
19 nearest cluster boundary when resizing bigalloc file systems.
20
21 Improve error messages issued by badblocks.
22
23 Fuse2fs now supports an offset=<bytes> option which allows operating on
24 a file system image which is located starting at the specified offset
25 from the beginning of the image.
26
27
28
29 Fixes
30 -----
31
32 Pre-v6.2 Linux kernels had long-standing bug in how the extended
33 attribute hash was calculated when there were non-ASCII characters in
34 the xattr name, when the hash would be different depending on whether
35 the C 'char' type was signed or unsigned.  To address this bug, starting
36 with e2fsprogs 1.46.6+ and Linux 6.2+, we will accept either the signed
37 or unsigned hash variant, but only set the unsigned hash variant.  Since
38 extended attribute names are in practice composed of ASCII characters,
39 other than various tests (such as generic/454), most users will
40 hopefully not notice this change.
41
42 Avoid triggering udev in dumpe2fs and "resize2fs -P" for file systems
43 with MMP enabled by opening the device read-only when reading the MMP
44 block.
45
46 Fix MMP handling so it can notice when another writer has modify the MMP
47 block out from under it when stopping a MMP sessions.
48
49 Fix tune2fs so it will detect another device stealing the MMP sessions
50 while rewriting metadata checksums.
51
52 E2fsck will now check to make sure the journal inode does not have the
53 encrypt flag set.
54
55 Fix a deadlock bug in e2fsck's error handler when there are errors
56 trying to write to the file system.
57
58 Fix a bug where e2fsck could fail when specifying an undo file and an
59 explicit superblock number.
60
61 Fix e2image so it won't potentially loop forever for certain invalid
62 file systems.
63
64 Fix resize2fs to honor the E2FSPROGS_FAKE_TIME environment variable.
65 This allows embedded system builders who use resize2fs as part of their
66 image build process to create reproducible images.
67
68 Fix tune2fs to avoid a crash if the journal replay fails and to make
69 sure its exit status is non-zero if there is some failure.
70
71 Fix tune2fs, fuse2fs, and debugsfs to update j_tail_sequence when
72 replaying the journal.
73
74 Add additional bullet-proofing for very badly corrupted file systems.
75 Try avoid UBSAN warnings, null pointer derferences, and other memory
76 bugs.  (Addresses CVE-2022-1304)
77
78 Don't fail when the source directory for mke2fs -d doesn't support
79 extended attributese.
80
81 Check for and handle malloc() failures when computing the log filename
82 in e2fsck and in the libss library.
83
84 Fix tune2fs and e2fsck to accept pathames which include '=' characters.
85 Previously arguments to tune2fs and e2fsck which included '=' characters
86 are presumed to be blkid specifiers such as UUID=xxx or LABEL=yyy.  If a
87 specifier is both a valid pathname name and blkid tag name specifier,
88 priority is given to a blkid resolved pathname.
89
90 Improve tune2fs's error messages.
91
92 Fix a bug in tune2fs which could cause it to crash if device goes
93 off-line just as it being opened.
94
95 Fix the fsck driver so if it is interrupted while running fsck -N it
96 doesn't end up kllling all processes on the system.
97
98 Fix a crash in badblocks when the user specifies an overly large
99 number of blocks tested at a time in read/write or nondestructive
100 mode.
101
102 Update and clarify's chattr's man page and usage message.  Fix spelling
103 typo's in a variety of different man pages and comments.
104
105
106 Performance, Internal Implementation, Development Support etc.
107 --------------------------------------------------------------
108
109 Update to autoconf 2.71.
110
111 Update flags used to create shared library on Darwin/MacOS.
112
113 Speed up e2fsck's clonning of multiply-claimed blocks so it is
114 substantially faster on very large file systems.
115
116 Add tests/fuzz directory with fuzzers from oss-fuzz.
117
118 Add a Github Actions configuration file so that Github will run CI tests
119 on Linux, Windows and MacOS on a push to the e2fsprogs github repo.
120
121 Make the mtab parsing in ext2fs_check_mount_point() more careful so it
122 won't get confused when a block device shows up in the mnt_name field
123 for a virtual file system.
124
125 Fix the libss's Makefile to create the man page directory before trying
126 to install its man page.
127
128 Fix various Coverity and compiler warnings.
129
130 Make tests more portable on various different OS's and system
131 configurations (e.g., with SELinux enabled, MacOS, and Windows)
132
133 Use mallinfo2() instead of mallinfo() where avilable, since mallinfo()
134 is deprecated on newer glibc versions.
135
136 E2fsck will no longer do a full scan of disconnected directory when
137 trying to print the parent directory, which is pointless and can slow
138 down e2fsck if there are a large number of disconnected directories.
139
140 Debugfs will now print the extended attribute's e_hash field.
141
142 Fix the setup-schroot script to work on non-Linux platforms.
143
144 Fix ext2fs_compare_generic_bmap() so it correctly compares all of the
145 bits in the bitmap, and so that it works correctly when comparing a
146 bitarray bitmap with a rbtree-based bitmap.  (Fortunately, none of the
147 programs in e2fsprogs uses bitmap comparison functions.)
148
149 Fix memory leaks on error paths.
150
151 Add support for the configure option --enable-largefile so that
152 e2fsprogs can utilize largefile support for the MUSL C library.
153
154 Add an note that the dict library code has been modified, as required by
155 the Kazlib license.
156
157 Synchronized changes from Android's AOSP e2fsprogs tree.
158
159 Updated config.guess and config.sub with newer versions from the FSF.
160
161 Add Friulian translation.
162
163 Update Chinese, Czech, Dutch, French, German, Malay, Polish, Serbian,
164 Spanish, Swedish, and Ukrainian translations.