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@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
alice@komputilo ~$ guix pull Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... Authenticating channel 'guix', commits 9edb3f6 to 45995ea (1,601 new commits)... Building from this channel: guix https://git.savannah.gnu.org/git/guix.git 45995ea substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% config.scm 501B 3KiB/s 00:00 [##################] 100.0% git.scm 101B 219KiB/s 00:00 [##################] 100.0% hash.scm 130B 213KiB/s 00:00 [##################] 100.0% module-import 2KiB 1.7MiB/s 00:00 [##################] 100.0% module-import-compiled 1.2MiB 2.9MiB/s 00:00 [##################] 100.0% compute-guix-derivation 1015B 611KiB/s 00:00 [##################] 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% gnutls-3.7.2-doc 1.0MiB 1.1MiB/s 00:01 [##################] 100.0% expat-2.4.1 97KiB 151KiB/s 00:01 [##################] 100.0% gnutls-3.7.2-debug 4.4MiB 696KiB/s 00:06 [##################] 100.0% nghttp2-1.44.0-lib 86KiB 31KiB/s 00:03 [##################] 100.0% openssl-1.1.1l 1.6MiB 1.5MiB/s 00:01 [##################] 100.0% libgit2-1.3.0 590KiB 6.2MiB/s 00:00 [##################] 100.0% mit-krb5-1.19.2 1.0MiB 1.4MiB/s 00:01 [##################] 100.0% guile-git-0.5.2 416KiB 248KiB/s 00:02 [##################] 100.0% curl-7.79.1 377KiB 463KiB/s 00:01 [##################] 100.0% libssh-0.9.6 237KiB 381KiB/s 00:01 [##################] 100.0% git-minimal-2.34.0 4.1MiB 58.9MiB/s 00:00 [ ] 1.5%guix pull: error: You found a bug: the program '/gnu/store/n1mqpdkdf1iczjdsz3i9cyrwchj9hhcd-compute-guix-derivation' failed to compute the derivation for Guix (version: "45995eab3ae62ceef89ee223a1bc805738356c1f"; system: "x86_64-linux"; host version: "1.3.0-23.a27e47f"; pull-version: 1). Please report the COMPLETE output above by email to <[email protected]>.
;; This is an operating system configuration template
;; for a "bare bones" setup, with no X11 display server.
(use-modules (gnu))
(use-service-modules networking ssh web)
(use-package-modules screen ssh web)
(operating-system
(host-name "komputilo")
(timezone "Europe/Berlin")
(locale "en_US.utf8")
;; labelling with /dev/sda right away, as the vm will see it like this
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(targets '("/dev/sda"))
(terminal-outputs '(console))))
(file-systems (cons (file-system
(mount-point "/")
(device "/dev/sda2")
(type "ext4"))
%base-file-systems))
;; This is where user accounts are specified. The "root"
;; account is implicit, and is initially created with the
;; empty password.
(users (cons (user-account
(name "alice")
(comment "Bob's sister")
(group "users")
;; Adding the account to the "wheel" group
;; makes it a sudoer. Adding it to "audio"
;; and "video" allows the user to play sound
;; and access the webcam.
(supplementary-groups '("wheel"
"audio" "video")))
%base-user-accounts))
;; Globally-installed packages.
(packages
(append (map specification->package
'("screen"
"emacs"))
%base-packages))
;; Add services to the baseline: a DHCP client and
;; an SSH server.
(services (append (list (service dhcp-client-service-type)
(service openssh-service-type
(openssh-configuration
(openssh openssh-sans-x)
(port-number 2222)))
(service httpd-service-type))
%base-services)))
signature.asc
Description: This is a digitally signed message part
