Red Hat Bugzilla – Bug 149299
Repeated 'error in EA block' during 'restore -CVf' under SELinux
Last modified: 2013-07-02 19:06:18 EDT
Description of problem:
During a 'restore -CV' to verify a dump, every single inode produces
a message 'error in EA block'.
Version-Release number of selected component (if applicable):
Use 'restore -CV' to verify a dump file.
Steps to Reproduce:
1. dump -0 -f dump.test /tmp
2. restore -CVf dump.test
Lots of 'error in EA block' messages, and a final (possibly spurious)
'Some files were modified!' message
Ok, reproduced and confirmed. Comparision of EA is broken in all
cases. Extraction of those EA is however not affected.
The fix is a two liner: in restore/tape.c, in the xtrxattr() function,
remove the test on Nflag.
I've updated my EA patch to incorporate this and other changes
(support in-inode EAs when using recent kernels and big inodes,
provided a recent version of e2fsprogs is used), it is available from
dump.sf.net (*). Jindrich, feel free to release a new version
containing this patch if you want to.
Stelian, thanks for the new patch. It's now applied and dump-0.4b39-2
is now built.