GNU bug report logs - #54082
bugreport

Previous Next

Package: guix;

Reported by: daniel.herzig <at> outlook.at

Date: Mon, 21 Feb 2022 04:29:02 UTC

Severity: normal

To reply to this bug, email your comments to 54082 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#54082; Package guix. (Mon, 21 Feb 2022 04:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel.herzig <at> outlook.at:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 21 Feb 2022 04:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: daniel.herzig <at> outlook.at
To: bug-guix <at> gnu.org
Subject: bugreport
Date: Sun, 20 Feb 2022 22:49:25 +0100
[Message part 1 (text/plain, inline)]
Dear guix!

guix just told me to report a bug.

This happened on a 'guix pull' followed by 'guix system reconfigure'
inside a guix vm built on guix system with:

Generation 80 14. Februar 2022 01:43:41 (aktuell)
 guix 6bfb3fc
 Repository-URL: https://git.savannah.gnu.org/git/guix.git
 Branch: master
 Commit: 6bfb3fc1f450c7d618041303d0ff35691b5991c0

I built it with the command:

image=$(guix system image --image-type=qcow2 --image-size=10G --save-
provenance vm-configs/nextcloud-barebone.scm)
cp $image /tmp/my-image.qcow2
chmod +w /tmp/my-image.qcow2

And start up the machine like this:

qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 -net
nic -net user,hostfwd=tcp::5555-:2222,hostfwd=tcp::8888-:80

Attached you find the output and the definition of the image.

I wouldn't have felt the need to 'guix pull' inside the kvm, but a
'guix describe' inside of it showed me it was running on the (never-
updated) root-user's commit instead my user's one (although it starts
up with the kernel-version of the running system):

alice <at> komputilo ~$ guix describe
 guix a27e47f
 repository URL: https://git.savannah.gnu.org/git/guix.git
 branch: master
 commit: a27e47f9d1e22dc32bb250cfeef88cfacb930e23

I now 'guix pulled' for root and my user to commit
45995eab3ae62ceef89ee223a1bc805738356c1f (and as user also reconfigured
system and home), but the problem persists.

If I just 'su', root keeps seing
a27e47f9d1e22dc32bb250cfeef88cfacb930e23 (from /run/current-
system/profile/bin/guix).  If I 'su -', root turns out to be the one
I'd wish it permanently to be (using 45995 from
/root/.config/guix/current/bin/guix).

It's quite possible, that I messed something up with various 'sudo',
'sudo -i', 'su', and 'su -' variations in the meantime.

It started with a not-(never)-updated root guix, and now there's still
enough of a not-updated root guix left, to keep me away from proceeding
with my vm in a sane way.

Any suggestions on that are highly appreciated,

Best,
Daniel

[bug.txt (text/plain, attachment)]
[nextcloud-barebone.scm (text/x-scheme, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#54082; Package guix. (Mon, 21 Feb 2022 07:52:02 GMT) Full text and rfc822 format available.

Message #8 received at 54082 <at> debbugs.gnu.org (full text, mbox):

From: daniel.herzig <at> outlook.at
To: 54082 <at> debbugs.gnu.org
Subject: bugreport
Date: Mon, 21 Feb 2022 08:51:06 +0100
[Message part 1 (text/plain, inline)]
Hi!

I just noticed an error in my initial message.

The mentioned 'reconfigure' in the VM did not happen after the 'pull',
but before (I did not expect being on an 'old' commit, right after
entering the 'fresh' machine for the first time, so I thought this
might help -- that's how I found the 'bug').

However, the situation persists also pulling to 6cae4e.

Might this have something to do with 'guix system image' deliberatly
starting with guix a27e4?  After running the initial command as user (I
see guix a27e4 being pulled there):

image=$(guix system image --image-type=qcow2 --image-size=10G --save-
provenance vm-configs/nextcloud-barebone.scm)

A second execution of this command from the (updated) root guix, there
does not seem to happen any computation, which I would expect if it
would pull another guix.

Sorry for the possibly misleading intro & best,
Daniel
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.