[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36785: Impossible to pull on foreign distro
From: |
Ludovic Courtès |
Subject: |
bug#36785: Impossible to pull on foreign distro |
Date: |
Mon, 23 Sep 2019 10:29:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi Maxim,
Maxim Cournoyer <address@hidden> skribis:
> --- a/doc/guix.texi
> +++ b/doc/guix.texi
> @@ -2387,8 +2387,8 @@ Success, you've now booted into Guix System! From then
> on, you can update the
> system whenever you want by running, say:
>
> @example
> -guix pull
> -sudo guix system reconfigure /etc/config.scm
> +sudo -i guix pull
> +sudo -i guix system reconfigure /etc/config.scm
> @end example
>
> @noindent
> @@ -2396,14 +2396,6 @@ This builds a new system generation with the latest
> packages and services
> (@pxref{Invoking guix system}). We recommend doing that regularly so that
> your system includes the latest security updates (@pxref{Security Updates}).
>
> -@c See <https://lists.gnu.org/archive/html/guix-devel/2019-01/msg00268.html>.
> -@quotation Note
> -@cindex sudo vs. @command{guix pull}
> -Note that @command{sudo guix} runs your user's @command{guix} command and
> -@emph{not} root's, because @command{sudo} leaves @code{PATH} unchanged. To
> -explicitly run root's @command{guix}, type @command{sudo -i guix @dots{}}.
> -@end quotation
I think these bits were correct.
That is, when running “sudo foo”, “foo” is looked up in the user’s
$PATH, not in root’s $PATH. That’s what led to this text in commit
796a4491fdaa4a0a3d669457b89356f9fbfc966e.
So this part is fine.
Perhaps we need another section for this? Or perhaps we can drop the
ball…
Thanks,
Ludo’.
- bug#36785: Impossible to pull on foreign distro, Ludovic Courtès, 2019/09/17
- bug#36785: Impossible to pull on foreign distro, Gábor Boskovits, 2019/09/17
- bug#36785: Impossible to pull on foreign distro, Ludovic Courtès, 2019/09/18
- bug#36785: Impossible to pull on foreign distro, Maxim Cournoyer, 2019/09/20
- bug#36785: Impossible to pull on foreign distro, Maxim Cournoyer, 2019/09/23
- bug#36785: Impossible to pull on foreign distro, Ludovic Courtès, 2019/09/24
- bug#36785: Impossible to pull on foreign distro, Maxim Cournoyer, 2019/09/27
- bug#36785: Impossible to pull on foreign distro, Ludovic Courtès, 2019/09/28
- bug#36785: Impossible to pull on foreign distro, Maxim Cournoyer, 2019/09/28
- bug#36785: Impossible to pull on foreign distro, Maxim Cournoyer, 2019/09/21
bug#36785: Impossible to pull on foreign distro, Ricardo Wurmus, 2019/09/18