unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Blake Shaw <blake@sweatshoppe.org>
To: guix-devel@gnu.org
Subject: A corner case of broken reproducibility
Date: Wed, 25 May 2022 13:10:20 +0700	[thread overview]
Message-ID: <CAKjmbcAcGj9KLSyxJf-KhX4DK9sPWkEoukLoAygaM1zDN4H8cw@mail.gmail.com> (raw)

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

Hiya Guix,

I imagine many folks are aware of this outcome, but from a quick search of
the archive I didnt find a discussion.

I decided to create a new user for building the lighter profile to deploy
in Singapore. Not knowing beyond the surface of how user profiles operate
at the Linux level, I changed my user name in my config without adding a
new user, thinking that only building a system with one profile will be
faster (with the servers having problems I'm having to fallback quite a
bit, so every bit of time saved helps)

But when I run $guix system roll-back, the account is broken. If I set the
password again as root and then try to log back in, it crashes during
loggin and in returned to the login menu. If I try to login with $sudo su
blake2b, I get the error: Permission denied: /home/blake2b/.bashrc. if I
remove  bashrc and then try to continue, the error happens again. And its
the same if I reconfigure with the new user.

So it seems this is a corner case of somewhat severe non-reproducibity (you
can't even access the environment). I'm guessing it has something to do
with setuid, perhaps the access rights are given to a strictly different
user even if the name is the same.

Is there any fix to this?

Ez,
Blake

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

             reply	other threads:[~2022-05-25  6:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-25  6:10 Blake Shaw [this message]
2022-05-25 11:35 ` A corner case of broken reproducibility Felix Lechner
2022-05-30 15:58   ` Ludovic Courtès
2022-05-30 20:50     ` Maxime Devos
2022-06-01 16:38       ` Ludovic Courtès
2022-06-01 19:59         ` Maxime Devos
2022-06-02 14:13           ` Ludovic Courtès
2022-06-02 14:43             ` Maxime Devos
2022-06-01 20:09         ` Maxime Devos
2022-06-01 20:41           ` raingloom
2022-06-01 21:50             ` Maxime Devos
2022-06-02 14:08           ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=CAKjmbcAcGj9KLSyxJf-KhX4DK9sPWkEoukLoAygaM1zDN4H8cw@mail.gmail.com \
    --to=blake@sweatshoppe.org \
    --cc=guix-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).