[Debian-ha-maintainers] Bug#905151: ocfs2-tools: small DEP8 change to avoid broken pipe error

Andreas Hasenack andreas at canonical.com
Tue Jul 31 22:25:10 BST 2018


Package: ocfs2-tools
Version: 1.8.5-5
Severity: low

Dear Maintainer,

at some point we in Ubuntu started having an error with the
ocfs2-tools test that happened in the "basic" test when running
fsck.ocfs2 in the image file. The error was about a broken pipe. I
can't find a link to an example right now, I'm afraid.

We then changed that line from this:
yes | fsck.ocfs2 -f -y -F $DISK 2>&1

to this:
echo yes | fsck.ocfs2 -f -y -F $DISK 2>&1

And that immediately got rid of the problem. We believe that "yes" was
"too insistent" and was writing to the pipe after it was closed, or
something like that.

The broken pipe error was never seen in debian's ci for this package,
as far as I know, but we would kindly ask you to consider this change
to the debian package. At the moment, this is the only delta this
package in Ubuntu has with Debian, and it may make this test more
robust.

Thanks!



More information about the Debian-ha-maintainers mailing list