[ ATTN : bash mantainer ] Request to enable sys-wide conffiles

Eric Blake eblake@redhat.com
Wed Dec 29 23:04:00 GMT 2010

On 12/14/2010 01:43 PM, David Sastre wrote:
> Hello,
> Regarding the ITA of base-files, I'm trying to define a consistent,
> system-wide configuration that doesn't need to rely in user-defined files, 
> as it's currently made, and at the same time, avoid as much as possible to 
> source some conf files from others.
> I think that this could be achieved easier if /etc/bash.bashrc were enabled 
> at compile-time. A trivial patch to do that is attached. It would enable both 
> I'd appreciate if this changes were kindly taken into consideration.

Not a problem - I've just enabled these two defines for my upcoming
bash-4.1 build.

> Also, I've seen that SSH_SOURCE_BASH is defined in
> bash-3.2.51-24.src.patch, but access through ssh with a bash shell
> as login shell doesn't seem to source ~/.bashrc. 
> One related question: if SYS_BASHRC were enabled, would SSH_SOURCE_BASHRC try 
> to source /etc/bash.bashrc or ~/.bashrc? The coment in config-top.h only
> mentions the latter. (This is just curiosity)

I'd have to read the source code to say for sure; I haven't had time to
look closely yet.

Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20101229/8bcd250e/attachment.sig>

More information about the Cygwin-apps mailing list