[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Logging repository accesses other than commits

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 3 Apr 2011 00:47:03 +0300

Nico Kadel-Garcia wrote on Sat, Apr 02, 2011 at 12:23:15 -0400:
> Here's the Red Hat published bug report on it, that goes into more
> detail and workaround attempts, back at Fedora 9 and the change from
> OpenSSH 5.0p1 to OpenSSH 5.1p1.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=458839
>
> The key is here:
>
> The .bashrc should be read by bash only when the shell is
> interactive or when the stdin is a socket. In the 5.0p1 and older
> versions the stdin was socket but that caused other problems. Now the
> stdin is pipe and thus the .bashrc is not read
>
> This looks like a consequence of a reasonable change in sshd, but it's
> caused issues. And the funky flipping workarounds proposed to restore
> this behavior quietly ignore the basic principle of "do *NOT* read
> .bashrc for non-login sessions" which is right in the bash
> documentation.

Thanks for the summary, now I understand what the change and issue are.
Received on 2011-04-02 23:47:43 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.