Ticket #4254 (new defect)

Opened 4 years ago

Last modified 4 years ago

subshell vs. bashrc

Reported by: ossi Owned by:
Priority: major Milestone: Future Releases
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

mc explicitly passes -rcfile .bashrc to bash when no custom file is specified in the mc config. this is a bad idea, as it suppresses the automatic execution of /etc/bash.bashrc, which modern versions of bash do by default.

Change History

comment:1 Changed 4 years ago by ossi

i'll note that this is what debian's bash manual says. i can't actually reproduce it, and i can't figure out why (i don't have any special env vars set). maybe it's a bash build option (i remember that once upon a time, auto-sourcing of /etc/bash.bashrc in the first place was definitely a build option).

Note: See TracTickets for help on using tickets.