localhost / # emerge -auNDv world [[: /dev/fd/63: No such file or directory Failed to validate a sane '/dev'. bash process substitution doesn't work; this may be an indication of a broken '/dev/fd'. localhost / #
It looks like we need to make it redirect the bash output to /dev/null here: https://gitweb.gentoo.org/proj/portage.git/tree/pym/_emerge/main.py?h=v2.2.20#n1113 If it makes it to the bash test, then /dev/null should operate correctly...
There's a patch in the following branch: https://github.com/zmedico/portage/tree/bug_552340 I've posted it for review here: https://archives.gentoo.org/gentoo-portage-dev/message/25aad2979877577d342a96e795a45af7
This is in the master branch: https://gitweb.gentoo.org/proj/portage.git/commit/?id=f5cdbf6af191c857b2c13455cb4d2d7b844c05f4
Released in portage-2.2.21