Subject: bug#25029: shuf generates “Bad file descriptor” error on nfs but only when run as a background process

From: Paul Eggert <[email-masked]>
Date: Fri, 25 Nov 2016 18:30:41 -0800

Paul Eggert wrote:
> Isn't that a bug in glibc freopen?

It turns out to be a known bug; glibc bug#15589 and glibc bug#15701. I have 
added notes there about this:

https://sourceware.org/bugzilla/show_bug.cgi?id=15589
https://sourceware.org/bugzilla/show_bug.cgi?id=15701