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

David Sastre d.sastre.medina@gmail.com
Tue Dec 14 20:43:00 GMT 2010


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.

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)

Thanks and regards.

Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bash-3.2.51-24.enable_sys_bashrc_sys_bash_logout.diff
Type: text/x-diff
Size: 593 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20101214/4694b965/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20101214/4694b965/attachment.sig>

More information about the Cygwin-apps mailing list