There's a new bug in release 13 of cpio. If you write an archive with
verbose-mode, the filedescriptor 1 will be closed and after that the
filename should be written to this descriptor.
echo /etc/passwd | strace cpio -ocvB >/dev/null
The last few lines will look like this:
==> close(1) = 0
==> write(1, "/etc/passwd\n", 12) = -1 EBADF (Bad file
Should be an easy fix.
Shanged priority to 4high4, because several backup-systems rely on
the output of the filename after writing the archive.
(Return value is not valid on every system)
I believe that this problem is fixed by reverting the stdout patch (#3358)
that has been done in cpio-2.4.2-14. Please reopen this bug if I'm wrong.
Ok, it's fixed.