Re: F26 Self Contained Change: Making sudo pip Safe (Again)

2017-02-10 Thread Petr Viktorin
On 02/07/2017 01:22 PM, Mathieu Bridon wrote: On Tue, 2017-02-07 at 13:08 +0100, Vít Ondruch wrote: Dne 7.2.2017 v 11:32 Michal Cyprian napsal(a): Ruby on Fedora uses /usr/local/share/gems/ for packages installed as a root via gem tool for many years. Since you refer to Ruby, I just want to

Re: F26 Self Contained Change: Making sudo pip Safe (Again)

2017-02-07 Thread Mathieu Bridon
On Tue, 2017-02-07 at 08:40 -0600, Chris Adams wrote: > However, this is another case where sudo having a different PATH than > the normal shell comes into play as an irritant... installing modules > (or gems, etc.) that include executables puts them in /usr/local/bin, > which works from the shell

Re: F26 Self Contained Change: Making sudo pip Safe (Again)

2017-02-07 Thread Matthew Miller
On Tue, Feb 07, 2017 at 08:40:08AM -0600, Chris Adams wrote: > > And FWIW, this change was made for Perl, too, back in the dawn of time. > > (Possibly in RHL pre-Fedora?) > > It was later than that - between RHEL 5 (based on FC 6) and RHEL 6 > (based on F 12/13). > > However, this is another

Re: F26 Self Contained Change: Making sudo pip Safe (Again)

2017-02-07 Thread Chris Adams
Once upon a time, Matthew Miller said: > On Tue, Feb 07, 2017 at 05:32:59AM -0500, Michal Cyprian wrote: > > Ruby on Fedora uses /usr/local/share/gems/ for packages installed as > > a root via gem tool for many years. > > And FWIW, this change was made for Perl, too,

Re: F26 Self Contained Change: Making sudo pip Safe (Again)

2017-02-07 Thread Matthew Miller
On Tue, Feb 07, 2017 at 05:32:59AM -0500, Michal Cyprian wrote: > Ruby on Fedora uses /usr/local/share/gems/ for packages installed as > a root via gem tool for many years. And FWIW, this change was made for Perl, too, back in the dawn of time. (Possibly in RHL pre-Fedora?) -- Matthew Miller

Re: F26 Self Contained Change: Making sudo pip Safe (Again)

2017-02-07 Thread Mathieu Bridon
On Tue, 2017-02-07 at 13:08 +0100, Vít Ondruch wrote: > Dne 7.2.2017 v 11:32 Michal Cyprian napsal(a): > > Ruby on Fedora uses /usr/local/share/gems/ for packages installed > > as a root via gem tool for many years. > > Since you refer to Ruby, I just want to highlight that >

Re: F26 Self Contained Change: Making sudo pip Safe (Again)

2017-02-07 Thread Vít Ondruch
2017 6:33:36 PM > Subject: Re: F26 Self Contained Change: Making sudo pip Safe (Again) > >>>>>> "JK" == Jan Kurik <jku...@redhat.com> writes: >> JK> We aim to move the working directory for sudo pip3 to a more >> JK> appropriate location: /us

Re: F26 Self Contained Change: Making sudo pip Safe (Again)

2017-02-07 Thread Michal Cyprian
- Original Message - From: "Adam Williamson" <adamw...@fedoraproject.org> To: "Development discussions related to Fedora" <devel@lists.fedoraproject.org> Sent: Friday, January 20, 2017 6:12:33 PM Subject: Re: F26 Self Contained Change: Making sudo pip Sa

Re: F26 Self Contained Change: Making sudo pip Safe (Again)

2017-02-07 Thread Michal Cyprian
- Original Message - From: "Jason L Tibbitts III" <ti...@math.uh.edu> To: "Development discussions related to Fedora" <devel@lists.fedoraproject.org> Sent: Friday, January 20, 2017 6:33:36 PM Subject: Re: F26 Self Contained Change: Making sudo pip Safe

Re: F26 Self Contained Change: Making sudo pip Safe (Again)

2017-02-07 Thread Michal Cyprian
- Original Message - From: "Richard Ryniker" <ryni...@alum.mit.edu> To: devel-annou...@lists.fedoraproject.org Cc: devel@lists.fedoraproject.org Sent: Friday, January 20, 2017 5:23:43 PM Subject: Re: F26 Self Contained Change: Making sudo pip Safe (Again) >> Sys

Re: F26 Self Contained Change: Making sudo pip Safe (Again)

2017-01-20 Thread Jason L Tibbitts III
> "JK" == Jan Kurik writes: JK> We aim to move the working directory for sudo pip3 to a more JK> appropriate location: /usr/local/lib/pythonX.Y/site-packages, and JK> modify the Python 3 interpreter in Fedora to scan both above JK> mentioned locations when importing

Re: F26 Self Contained Change: Making sudo pip Safe (Again)

2017-01-20 Thread Mathieu Bridon
On Fri, 2017-01-20 at 09:12 -0800, Adam Williamson wrote: > On Fri, 2017-01-20 at 12:07 +0100, Jan Kurik wrote: > > = Proposed Self Contained Change: Making sudo pip Safe (Again) = > > https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe > > > > Change owner(s): > > * Michal Cyprian > > *

Re: F26 Self Contained Change: Making sudo pip Safe (Again)

2017-01-20 Thread Adam Williamson
On Fri, 2017-01-20 at 12:07 +0100, Jan Kurik wrote: > = Proposed Self Contained Change: Making sudo pip Safe (Again) = > https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe > > Change owner(s): > * Michal Cyprian > * Petr Viktorin > * Tomas Orsava > * Miro Hroncok > > > At the

F26 Self Contained Change: Making sudo pip Safe (Again)

2017-01-20 Thread Jan Kurik
= Proposed Self Contained Change: Making sudo pip Safe (Again) = https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe Change owner(s): * Michal Cyprian * Petr Viktorin * Tomas Orsava * Miro Hroncok At the present time, running sudo pip3 in Fedora is not safe. Pip shares its

F26 Self Contained Change: Making sudo pip Safe (Again)

2017-01-20 Thread Jan Kurik
= Proposed Self Contained Change: Making sudo pip Safe (Again) = https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe Change owner(s): * Michal Cyprian * Petr Viktorin * Tomas Orsava * Miro Hroncok At the present time, running sudo pip3 in Fedora is not safe. Pip shares its