all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Caleb Ristvedt <caleb.ristvedt@cune.org>
To: Ricardo Wurmus <rekado@elephly.net>, guix-devel@gnu.org
Subject: Re: ‘sudo’ leaves PATH unchanged… so what?
Date: Fri, 18 Jan 2019 08:06:04 +0000	[thread overview]
Message-ID: <CAELvotyu=jbnLwqdj7SewFSDFdu75PmksiunX2S0uk46OMWEjA@mail.gmail.com> (raw)
In-Reply-To: <87fttqfmnm.fsf@elephly.net>

[-- Attachment #1: Type: text/plain, Size: 1075 bytes --]

I'd just like to add that if a user has guix installed for root but only
really keeps their user's guix up to date (I imagine a fairly common
situation), they're in for a weird situation when using sudo: a
bleeding-edge guix will complain about being outdated, since sudo (even
with -E) sets $USER, which is used to determine which file's timestamp
should be used for deciding whether the installed guix is outdated.
Basically, your shiny new guix warns you that someone else's dirty old guix
is old.

On Fri, Jan 18, 2019 at 7:31 AM Ricardo Wurmus <rekado@elephly.net> wrote:

>
> Giovanni Biscuolo <g@xelera.eu> writes:
>
> > IMHO it should be explicitly stated that in general it's not
> > advised/needed to install guix for the root user and that "guix system"
> > must be run as a normal user via sudo (and the user must be allowed to
> > do so by root via sudoers); then the example above
>
> Currently, installing Guix for the root user is what the installer
> script does and what the instructions for the binary installation method
> suggest.
>
> --
> Ricardo
>
>
>

[-- Attachment #2: Type: text/html, Size: 1510 bytes --]

  reply	other threads:[~2019-01-18  8:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-17 10:34 ‘sudo’ leaves PATH unchanged… so what? Ludovic Courtès
2019-01-17 11:03 ` Pierre Neidhardt
2019-01-17 11:14 ` Ricardo Wurmus
2019-01-17 12:35   ` Ludovic Courtès
2019-01-17 12:47     ` Pierre Neidhardt
2019-01-18  7:15     ` Giovanni Biscuolo
2019-01-18  7:30       ` Ricardo Wurmus
2019-01-18  8:06         ` Caleb Ristvedt [this message]
2019-01-18 11:33           ` Giovanni Biscuolo
2019-01-18 19:03             ` Caleb Ristvedt
2019-01-18 20:29               ` Danny Milosavljevic
2019-01-19  6:19                 ` swedebugia
2019-01-19 22:55                 ` Ludovic Courtès
2019-01-19 22:52           ` Ludovic Courtès
2019-01-20  2:12             ` Danny Milosavljevic
2019-01-18 10:39         ` Giovanni Biscuolo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAELvotyu=jbnLwqdj7SewFSDFdu75PmksiunX2S0uk46OMWEjA@mail.gmail.com' \
    --to=caleb.ristvedt@cune.org \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.