47 Commits

Author SHA1 Message Date
liuh
9e8674e737 e4crypt: fix spurious Success error message
(cherry picked from commit 5f5dd8e368d10910b7485760be828cdb5de52552)
2024-06-05 19:39:37 +08:00
jinzhiguang
a95c09b0d5 debugfs: fix infinite loop while dumping the journal
Upstream patches regress for debugfs.

Signed-off-by: jinzhiguang <jinzhiguang@kylinos.cn>
2024-04-18 16:33:51 +08:00
Zhiqiang Liu
a89051fb74 mke2fs.conf: remove metadata_csum_seed and orphan_file default setting
For openeuler 24.03 LTS, remove metadata_csum_seed and orphan_file
default setting for keepint same with openeuler 22.03 LTS.

If anyone wants to use them, just add them in their own mke2fs.conf.

Fix issue: https://gitee.com/src-openeuler/e2fsprogs/issues/I7NIXN

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2023-07-24 17:16:01 +08:00
zhanchengbin
ec92b8eaf6 update package to v1.47.0
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2023-07-22 15:03:01 +08:00
zhanchengbin
cb081690eb e2fsprogs: avoid error information loss during journal replay
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2023-07-11 15:52:42 +08:00
Xinliang Liu
7e4470e8fa Fix rpmlint Provides/Obsoletes unversioned warnings
It is recommended to specify version info for Provides/Obsoletes tags,
see Fedora rpm guide[1] for more details about Obsolete tag usage.

This also can fix below dnf update failure after installing lustre version
e2fsprogs rpm.
$ sudo dnf update
Last metadata expiration check: 0:00:29 ago on Tue Jul  4 11:06:44 2023.
Error:
 Problem 1: cannot install both e2fsprogs-1.46.5-4.oe1.aarch64 and e2fsprogs-1.46.6.wc1-0.oe1.aarch64
  - cannot install the best update candidate for package e2fsprogs-libs-1.46.6.wc1-0.oe1.aarch64
  - cannot install the best update candidate for package e2fsprogs-1.46.6.wc1-0.oe1.aarch64
 Problem 2: problem with installed package e2fsprogs-1.46.6.wc1-0.oe1.aarch64
  - cannot install both e2fsprogs-1.46.5-4.oe1.aarch64 and e2fsprogs-1.46.6.wc1-0.oe1.aarch64
  - cannot install the best update candidate for package libcom_err-1.46.6.wc1-0.oe1.aarch64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to us
e not only best candidate packages)

[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages

Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
2023-07-10 09:31:25 +00:00
lihaoxiang
54cbfd8607 Upstream patches regress for debugfs, tune2fs and mmp. 2023-02-08 21:47:31 -05:00
zhanchengbin
b58a499fcf misc/fsck.c: Processes may kill other processes. 2023-01-30 17:27:06 +08:00
Zhiqiang Liu
4362b47807 unix_io: fix deadlock problem in unix_write_blk64
fix issue:https://gitee.com/src-openeuler/e2fsprogs/issues/I6250B

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-12-01 15:22:20 +08:00
zhanchengbin
698270542a update package to v1.46.5.
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-10-19 15:51:06 +08:00
Zhiqiang Liu
a90d365e90 tune2fs:fix one segfault problem
fix issue:https://gitee.com/src-openeuler/e2fsprogs/issues/I5RYHG

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-10-14 10:38:47 +08:00
zhanchengbin
419607e8b2 fix ACL-printing tests from community
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-09-23 10:01:31 +08:00
Zhiqiang Liu
d4ec9ac5dd debugfs: teach logdump the -n <num_trans> option
fix issue: https://gitee.com/e2fsprogs/issues/I5DAEO

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-08-20 12:49:08 +08:00
hifi521
c71e811811 tune2fs: do not change j_tail_sequence in journal superblock
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-08-15 09:41:28 +08:00
wzx
a30236cefb e2fsprogs add sw
Add code related to sw64 in file configure configure.ac aclocal.m4 lib/blkid/llseek.c lib/ext2fs/unix_io.c to support sw64 architecture.

Signed-off-by: wzx <wuzx1226@qq.com>
2022-08-10 09:42:07 +08:00
lihaoxiang
1dd866f5d9 add wrapper header file for i686 and x86_64 then fix conflicts when intall i686 rpms. 2022-06-21 16:30:47 +08:00
Zhiqiang Liu
e742aede04 e2fsprogs: fix CVE-2022-1304
backport "libext2fs:add santiy check to extent manipulation" patch
to fix CVE-2022-1304.

Fix issue: https://gitee.com/src-openeuler/e2fsprogs/issues/I59OWQ

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2022-05-28 10:02:53 +08:00
openeuler-ci-bot
eec4913743
!81 fix spec changelog date
From: @loong-C 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-05-23 15:09:05 +00:00
hifi521
7c66cdaba9 e2fsck: handle->level is overflow in ext2fs_extent_get.
Fix issue: https://gitee.com/src-openeuler/e2fsprogs/issues/I4Z2KL

Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-05-20 15:14:05 +08:00
loong_C
c6a6f47e01 fix spec changelog date 2022-05-20 09:44:23 +08:00
zhanchengbin
0b6416e7f0 e2fsck: do not clean up file acl if the inode is truncating type
Fix issue: https://gitee.com/src-openeuler/e2fsprogs/issues/I586JP

Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-05-19 15:55:38 +08:00
zhanchengbin
4a0d10630f tests: skip m_rootdir_acl if selinux is not disabled
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-03-17 11:05:42 +08:00
zhanchengbin
1a14e10376 tests: add warning for selinux in m_rootdir_acl
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-03-16 20:07:46 +08:00
zhanchengbin
e73c0b349c libext2fs: don't old the CACHE_MTX while doing I/O
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-03-09 19:05:32 +08:00
zhanchengbin
f609d7b91f tests: update expect file for u_direct_io
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-03-08 10:28:20 +08:00
zhanchengbin
ebcbd4c180 e2mmpstatus.8.in: detele filesystem can be UUID or LABEL in manpage
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-03-02 10:03:18 +08:00
zhanchengbin
c9696089e1 adapt patchs from openEuler-20.03-LTS
Signed-off-by: zhanchengbin <zhanchengbin1@huawei.com>
2022-02-25 17:33:44 +08:00
zhanchengbin
198227c472 resize2fs: resize2fs disk hark hardlinks will be error 2022-02-24 14:27:35 +08:00
zhanchengbin
4c1146741d replace License in spec 2022-01-27 16:48:13 +08:00
zhanchengbin
522db66c5d openEuler 22.03 LTS e2fsprogs is upgraded to v1.46.4. 2021-11-27 17:37:54 +08:00
zhanchengbin
6a31058170 integrate community patches 2021-11-16 10:26:59 +08:00
lixiaokeng
4e4dd9a0c9 add newer libreadline.so.8 to dlopen path 2021-09-13 10:49:21 +08:00
chenyanpanHW
059a6fa5d2 add necessary BuildRequires audit 2021-08-20 06:09:52 +00:00
chenyanpanHW
25fb9da4cb
delete -Sgit from %autosetup, and delete BuildRequires git 2021-07-30 22:36:15 +08:00
markeryang
da06a586b7 set help package as install requires 2020-12-28 16:29:41 +08:00
Zhiqiang Liu
8c9e8653aa e2fsprogs: backport upstream patches to fix some problem-epoch2
backport upstream patches to fix some problem-epoch2
In addition, we remove useless patch:
0002-mke2fs-check.patch which is same with
0001-e2fsprogs-set-hugefile-from-4T-to-1T-in-hugefile-tes.patch.

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2020-10-30 16:49:49 +08:00
ZhiqiangLiu
1a2f87eb42 e2fsprogs: update to v1.45.6 version
e2fsprogs: update to v1.45.6 version

Signed-off-by: Zhiqiang Liu <lzhq28@mail.ustc.edu.cn>
2020-07-15 21:26:17 +08:00
Wu Bo
6a03ba4af5 rebuild e2fsprogs 2020-07-01 17:36:17 +08:00
Wu Bo
9553f963c1 rebuild package 2020-07-01 14:51:35 +08:00
eulerstorage
2f1d9b2df8 backport patch to fix CVE-2019-5094 2020-02-03 20:28:20 +08:00
eulerstorage
a9add8b164 change path to remove no used file 2020-01-22 18:54:28 +08:00
eulerstorage
32da4c30e3 fix local rpmbuild error 2020-01-22 10:29:08 +08:00
eulerstorage
2028e37c8e backport patch to fix CVE-2019-5188 2020-01-14 20:38:10 +08:00
eulerstorage
bdcdb4e51f update package from 1.44.3 to 1.45.3 2020-01-14 20:33:55 +08:00
eulerstorage
c8ab772f9b update spec 2020-01-13 11:40:07 +08:00
eulerstorage
a985fb41a8 e2fsprogs: Modify the spec file for conforming to specification
Signed-off-by: eulerstorage <eulerstorage@huawei.com>
2019-12-25 17:33:57 +08:00
overweight
7e0d984b5a Package init 2019-09-30 10:37:40 -04:00