From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: bug#29337: Bash reads system-wide bashrc unconditionally. Date: Mon, 11 Dec 2017 16:31:35 +0100 Message-ID: <87shchmgbs.fsf@gnu.org> References: <878tf5ksmq.fsf@gnu.org> <87o9o039cb.fsf@gnu.org> <87mv3gsjt6.fsf@gnu.org> <8760a4nhhi.fsf@gnu.org> <87fu93n0jr.fsf@gnu.org> <878tev9z8t.fsf@gnu.org> <87tvwxqyzf.fsf@gnu.org> <87zi6p1jwt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOQ3q-0006k4-Mr for bug-guix@gnu.org; Mon, 11 Dec 2017 10:32:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOQ3m-0007Hy-On for bug-guix@gnu.org; Mon, 11 Dec 2017 10:32:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48293) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOQ3m-0007Hj-Ks for bug-guix@gnu.org; Mon, 11 Dec 2017 10:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eOQ3m-00022E-CR for bug-guix@gnu.org; Mon, 11 Dec 2017 10:32:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87zi6p1jwt.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 29337-done@debbugs.gnu.org Ludovic Courtès writes: > Roel Janssen skribis: > >> Ludovic Courtès writes: > > [...] > >>>>> Now, we’re compiling Bash with "-DSYS_BASHRC='\"/etc/bashrc\"'". I >>>>> wonder if removing that flag solves the --init-file case. >>>> >>>> It does. So, I have a custom bash package for my specific use-case. >>>> I'm not sure how it affects other functionality, but I would like it if >>>> we could make this change upstream at some point. >>> >>> Now’s the time to make that change in ‘core-updates’! >>> >>> I don’t think it breaks things on GuixSD because /etc/profile sources >>> /etc/bashrc anyway. >>> >>> Thoughts? >> >> I don't think it'll break things. So I guess I'm too late for the >> core-updates cycle. > > Yes. > >> Should I push this change to core-updates for the next cycle? > > You can create a ‘core-updates-next’ branch based on ‘core-updates’, or > wait until ‘core-updates’ has been merged (which could take at least two > weeks.) > > Ludo’. I'll wait. :-) Thanks! Kind regards, Roel Janssen