Hello community, here is the log from the commit of package bash for openSUSE:Factory checked in at 2016-08-25 09:48:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bash (Old) and /work/SRC/openSUSE:Factory/.bash.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bash" Changes: -------- --- /work/SRC/openSUSE:Factory/bash/bash.changes 2016-07-16 22:09:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.bash.new/bash.changes 2016-08-25 09:48:26.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Aug 1 13:47:05 UTC 2016 - [email protected] + +- Make clear that the files /etc/profile as well as /etc/bash.bashrc + may source other files as well even if the bash does not. + Therefore modify patch bash-4.1-bash.bashrc.dif (bsc#959755) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bash-4.1-bash.bashrc.dif ++++++ --- /var/tmp/diff_new_pack.YGbbMs/_old 2016-08-25 09:48:28.000000000 +0200 +++ /var/tmp/diff_new_pack.YGbbMs/_new 2016-08-25 09:48:28.000000000 +0200 @@ -8,9 +8,29 @@ |this in its INVOCATION section. I've checked the source code and it's |hard coded to execute /etc/bash.bashrc (SYS_BASHRC macro) | +|BSC#959755 - man page on bash needs some clarification. +| +|Werner Fink 2016-08-01 12:40:06 UTC +| +|Make clear that the files /etc/profile as well as /etc/bash.bashrc may source +|other files as well even if the bash does not. +| +--- + bash.1 | 15 ++++++++++++--- + 1 file changed, 12 insertions(+), 3 deletions(-) + --- doc/bash.1 -+++ doc/bash.1 2010-02-18 09:47:36.864126675 +0000 -@@ -323,8 +323,8 @@ exists. ++++ doc/bash.1 2016-08-01 12:40:06.771618500 +0000 +@@ -324,6 +324,8 @@ and executes commands from the first one + The + .B \-\-noprofile + option may be used when the shell is started to inhibit this behavior. ++Please note that the file \fI/etc/profile\fP includes an autodetection shell ++code wether it has to source \fI/etc/bash.bashrc\fP as well as \fI~/.bashrc\fP. + .PP + When a login shell exits, + .B bash +@@ -332,13 +334,19 @@ exists. .PP When an interactive shell that is not a login shell is started, .B bash @@ -21,7 +41,18 @@ .B \-\-norc option. The \fB\-\-rcfile\fP \fIfile\fP option will force -@@ -415,7 +415,8 @@ daemon, usually \fIrshd\fP, or the secur + .B bash + to read and execute commands from \fIfile\fP instead of \fI~/.bashrc\fP. ++Please note that the file \fI/etc/bash.bashrc\fP includes an autodetection shell ++code wether it is used for by a remote OpenSSH SSH client like ++.BR ssh (1) ++or ++.BR slogin (1) ++to source the local \fI/etc/profile\fP if not already done. + .PP + When + .B bash +@@ -424,7 +432,8 @@ daemon, usually \fIrshd\fP, or the secur If .B bash determines it is being run in this fashion, it reads and executes
