GNU bug report logs - #29337
Bash reads system-wide bashrc unconditionally.

Previous Next

Package: guix;

Reported by: Roel Janssen <roel <at> gnu.org>

Date: Fri, 17 Nov 2017 12:17:02 UTC

Severity: normal

Done: Roel Janssen <roel <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #31 received at 29337-done <at> debbugs.gnu.org (full text, mbox):

From: Roel Janssen <roel <at> gnu.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 29337-done <at> debbugs.gnu.org
Subject: Re: bug#29337: Bash reads system-wide bashrc unconditionally.
Date: Mon, 11 Dec 2017 16:31:35 +0100
Ludovic Courtès writes:

> Roel Janssen <roel <at> gnu.org> 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




This bug report was last modified 7 years and 166 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.