From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oOcQIYvPjWJndAEAbAwnHQ (envelope-from ) for ; Wed, 25 May 2022 08:41:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KOkZIIvPjWIoIwAAG6o9tA (envelope-from ) for ; Wed, 25 May 2022 08:41:15 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F12CF8024 for ; Wed, 25 May 2022 08:41:14 +0200 (CEST) Received: from localhost ([::1]:58310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntkhl-0005mN-MI for larch@yhetil.org; Wed, 25 May 2022 02:41:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntkE9-0006pz-NK for guix-devel@gnu.org; Wed, 25 May 2022 02:10:46 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:36587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ntkE7-0000ZL-Re for guix-devel@gnu.org; Wed, 25 May 2022 02:10:37 -0400 Received: by mail-pf1-x429.google.com with SMTP id f21so6005808pfa.3 for ; Tue, 24 May 2022 23:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sweatshoppe-org.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=ksqyNp2r0T/+IdoIWPFI3jAPIFek+CkfgxgSwg2wwQo=; b=hjyoR4iZyYbx2BcKc5vSdbhLzAxkernm8XqgGDpKOWDT/lpaLCsgZKGbKzItjHril1 sXp2Sb/ZNyGhRikfvDpe29GrXkO00K0QdOzluIJc+Kmo92E5lZA92LswSvG8vPP0WpWI f9nP0ThxEJRDATI5GgOUZ6Px7LifRNtQC6ANpPj/4rYm+Gl7mIekC7LpVDfuzM1YqOPk I9UFeVb8axQuqiUC28m4pOjOTdpQ64r9aMIcwCEJbglQ+oJTHwZg5qOkL4b0rWC8E5S1 13ZTB5vk1oYYAf99ZG7e0Iq6h3wXGVIg5U2CETv/9mWo5Vi8TZZsWtJvs7YcIGBJRAZz Zteg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ksqyNp2r0T/+IdoIWPFI3jAPIFek+CkfgxgSwg2wwQo=; b=Vdc/sKV4jFWTq+eefv8QM7iRr/YKjEVMDtqvPpph4xIwRVpTl5CqDMFGAjmd6WZ+AY eiKr7q43Y3fgquQsR9maU1Y6vhDM//+GXKgfs/8lAt83l8pm5JwkdbpgmgY24tCuGfib j1s0hHssG+1okgfeHxQFXIzKIw1znnxAs+TDF3h0YIRDJ9+YX6v8/O70jZV43TPrYE8y qeTC4pufKtr2TV3D6Eu5f5+5LxFnW78fDP8GqvjMVIzrW7GGvn1O45YHVo5g5neFtjcO 0MrOnlOMqedpaBBAI7W1vm6S7/W4YL7W5346rOnJ95JxHNalTRAx86a4erFkRdAJtVOw H4ZQ== X-Gm-Message-State: AOAM530vFmetUH9vBB/K/dcASWHCLNEQu0dRdE1PovosB+PtmBB5vEgo 3Qf+3uqmq7B/5LfxI+t8pSXcZ9ouoha4UiwvbY4o+6cOrvU= X-Google-Smtp-Source: ABdhPJyGitRr7JDKoxP7+qsPKNGGwS8t4Ec8/Zpi7u0ZwYbqaogvEfdjehuXln9leOkPAeNO25F/5qjPfJvxYB/OGCs= X-Received: by 2002:a05:6a00:ad0:b0:4f7:a357:6899 with SMTP id c16-20020a056a000ad000b004f7a3576899mr32358028pfl.80.1653459033333; Tue, 24 May 2022 23:10:33 -0700 (PDT) MIME-Version: 1.0 From: Blake Shaw Date: Wed, 25 May 2022 13:10:20 +0700 Message-ID: Subject: A corner case of broken reproducibility To: guix-devel@gnu.org Content-Type: multipart/alternative; boundary="00000000000055431105dfcfeed2" Received-SPF: none client-ip=2607:f8b0:4864:20::429; envelope-from=blake@sweatshoppe.org; helo=mail-pf1-x429.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653460875; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ksqyNp2r0T/+IdoIWPFI3jAPIFek+CkfgxgSwg2wwQo=; b=JOGi4HQ9FAVExFsP06gY1D3c3E5JNmY2mihBhnljlLM1fHnKEhVEPV23B/oX2eElS1ZuMz 30NuicYMjbuYjlk7YSJnrgQco+Vswt8kPHFWnZ4K4jdzopJQgQyN4cePxmPEAsR2FZzLZa ELOmcd18daZbPzIZwbWZnsCQQqxXPJJFBzCekZ2X8ntPwtOs153B/SmmJwFeVEXppkbRTo TqpQARFWn291yCe8eapP9zCbUBTv2iVB0QNlSGU9oCnUM5Sa0kLVxxrw8q//MVnrzqbkZO 5SbtzPMzqY1HAhrwHVn7lRcXkp2CZCTw0Aqc3nyldfUqc15dzhEjPLKAB8Q20w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653460875; a=rsa-sha256; cv=none; b=IwXivp/To7oY2kKLU6yLFIo9SjSMQ+vxOnvvnRjV4l02M9C2l9RX+YQw4ycz/Md5jI6Qef TIbshwVTVJFWXDO7nqyZgPHR8bLFZwya075KTCoOF9mQ8WwUwDgPBzP8f7gdAv4gNv8FpM v018DiAIKrwoHjScO5ZqdWnXMML8Afy+KxSmy5ZN7E95hFmVmtq+gT0VjmjPvXLvGgOilb ejW2NuZkwzvmi8u8ZdE/j8yLzv3MG6bHeRTv0Hfx83OAEO7IIleVStvGoF+PRbL4LaWL23 jspFAFBuu76PcbLl4AluiLGvD1C/A9u2PmEOVNwcY7nYleape3u11VEcxeVbjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=sweatshoppe-org.20210112.gappssmtp.com header.s=20210112 header.b=hjyoR4iZ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=sweatshoppe-org.20210112.gappssmtp.com header.s=20210112 header.b=hjyoR4iZ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: F12CF8024 X-Spam-Score: -8.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5Ppsjs5tj5q6 --00000000000055431105dfcfeed2 Content-Type: text/plain; charset="UTF-8" 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 --00000000000055431105dfcfeed2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hiya Guix,

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

I decided to create a new user for building the lighter profi= le to deploy in Singapore. Not knowing beyond the surface of how user profi= les 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 w= ill be faster (with the servers having problems I'm having to fallback = quite a bit, so every bit of time saved helps)

<= /div>
But when I run $guix system roll-back, the account i= s 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 log= in with $sudo su blake2b, I get the error: Permission denied: /home/blake2b= /.bashrc. if I remove=C2=A0 bashrc and then try to continue, the error happ= ens again. And its the same if I reconfigure with the new user.

So it seems this is a corner case o= f somewhat severe non-reproducibity (you can't even access the environm= ent). I'm guessing it has something to do with setuid, perhaps the acce= ss rights are given to a strictly different user even if the name is the sa= me.

Is there any fix to = this?

Ez,
Blake
--00000000000055431105dfcfeed2--