This makes bash agree with its documentation at
https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html
Bash attempts to determine when it is being run with its standard
input connected to a network connection, as when executed by the
historical remote shell daemon, usually rshd, or the secure shell
daemon sshd. If Bash determines it is being run non-interactively in
this fashion, it reads and executes commands from ~/.bashrc, if that
file exists and is readable. [...]
Notes: - Disabled by upstream in 2.05a (2001), manual never changed
- This is enabled in Debian, Fedora, Gentoo, ...
Closes: #50280 [via git-merge-pr]