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

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

Hi all,

Caleb Ristvedt <caleb.ristvedt@cune.org> writes:

> 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.

if this is true (root and user profiles using different versions of guix
is a problem), should this be clearly stated in the manual?

maybe I'm missing something, but I thought root and user profiles were
isolated so I can have different binaries (guix included) and use them
independently, am I wrong?

Thanks!
Giovanni

[...]

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-01-18 11:33 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
2019-01-18 11:33           ` Giovanni Biscuolo [this message]
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=87d0ouuro2.fsf@roquette.mug.biscuolo.net \
    --to=g@xelera.eu \
    --cc=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.