bug#31814: setuid programs are not first in PATH

2018-06-19 Thread Clément Lassieur
Ludovic Courtès writes: > Hello, > > Clément Lassieur skribis: > >> Ludovic Courtès writes: > > [...] > >>> diff --git a/gnu/system.scm b/gnu/system.scm >>> index 7cb12a827..d367307a2 100644 >>> --- a/gnu/system.scm >>> +++ b/gnu/system.scm >>> @@ -616,9 +616,6 @@ unset PATH >>> GUIX_PROFILE=/

bug#31814: setuid programs are not first in PATH

2018-06-19 Thread Ludovic Courtès
Hello, Clément Lassieur skribis: > Ludovic Courtès writes: [...] >> diff --git a/gnu/system.scm b/gnu/system.scm >> index 7cb12a827..d367307a2 100644 >> --- a/gnu/system.scm >> +++ b/gnu/system.scm >> @@ -616,9 +616,6 @@ unset PATH >> GUIX_PROFILE=/run/current-system/profile ; \\ >> . /run/

bug#31814: setuid programs are not first in PATH

2018-06-18 Thread Marius Bakke
l...@gnu.org (Ludovic Courtès) writes: > In the example you give (inetutils), I suppose users want > /run/setuid-programs/ping to come first. I wonder if there are > situations where the current behavior is desirable; maybe not. The only cases I can think of involve 'sudo'. But it's easier to w

bug#31814: setuid programs are not first in PATH

2018-06-17 Thread Clément Lassieur
Hello Ludovic, Ludovic Courtès writes: > Hello Clément, > > Clément Lassieur skribis: > >> sourcing /etc/profile >> >> - prepends /run/setuid-programs to $PATH >> - then sources $HOME/.guix-profile/etc/profile >> >> and sourcing $HOME/.guix-profile/etc/profile >> >> - prepends $HOME/.guix-profi

bug#31814: setuid programs are not first in PATH

2018-06-17 Thread Ludovic Courtès
Hello Clément, Clément Lassieur skribis: > sourcing /etc/profile > > - prepends /run/setuid-programs to $PATH > - then sources $HOME/.guix-profile/etc/profile > > and sourcing $HOME/.guix-profile/etc/profile > > - prepends $HOME/.guix-profile/bin to $PATH > - prepends $HOME/.guix-profile/sbin to

bug#31814: setuid programs are not first in PATH

2018-06-16 Thread Clément Lassieur
Ricardo Wurmus writes: > What package in your profile provides “ping”? inetutils

bug#31814: setuid programs are not first in PATH

2018-06-16 Thread Ricardo Wurmus
Clément Lassieur writes: > Hi, > > sourcing /etc/profile > > - prepends /run/setuid-programs to $PATH > - then sources $HOME/.guix-profile/etc/profile > > and sourcing $HOME/.guix-profile/etc/profile > > - prepends $HOME/.guix-profile/bin to $PATH > - prepends $HOME/.guix-profile/sbin to $PATH

bug#31814: setuid programs are not first in PATH

2018-06-14 Thread Joshua Branson
Clément Lassieur writes: > Joshua Branson writes: > >> Clément Lassieur writes: >> >>> Hi, >>> >>> sourcing /etc/profile >>> >>> - prepends /run/setuid-programs to $PATH >>> - then sources $HOME/.guix-profile/etc/profile >>> >>> and sourcing $HOME/.guix-profile/etc/profile >>> >>> - prepends $H

bug#31814: setuid programs are not first in PATH

2018-06-13 Thread Clément Lassieur
Joshua Branson writes: > Clément Lassieur writes: > >> Hi, >> >> sourcing /etc/profile >> >> - prepends /run/setuid-programs to $PATH >> - then sources $HOME/.guix-profile/etc/profile >> >> and sourcing $HOME/.guix-profile/etc/profile >> >> - prepends $HOME/.guix-profile/bin to $PATH >> - prepen

bug#31814: setuid programs are not first in PATH

2018-06-13 Thread Julien Lepiller
Le 2018-06-13 17:05, Joshua Branson a écrit : Clément Lassieur writes: Hi, sourcing /etc/profile - prepends /run/setuid-programs to $PATH - then sources $HOME/.guix-profile/etc/profile and sourcing $HOME/.guix-profile/etc/profile - prepends $HOME/.guix-profile/bin to $PATH - prepends $HOME

bug#31814: setuid programs are not first in PATH

2018-06-13 Thread Joshua Branson
Clément Lassieur writes: > Hi, > > sourcing /etc/profile > > - prepends /run/setuid-programs to $PATH > - then sources $HOME/.guix-profile/etc/profile > > and sourcing $HOME/.guix-profile/etc/profile > > - prepends $HOME/.guix-profile/bin to $PATH > - prepends $HOME/.guix-profile/sbin to $PATH >

bug#31814: setuid programs are not first in PATH

2018-06-13 Thread Clément Lassieur
Hi, sourcing /etc/profile - prepends /run/setuid-programs to $PATH - then sources $HOME/.guix-profile/etc/profile and sourcing $HOME/.guix-profile/etc/profile - prepends $HOME/.guix-profile/bin to $PATH - prepends $HOME/.guix-profile/sbin to $PATH so in the end, $PATH looks like: ~/.config/gu