From: myglc2 <myglc2@gmail.com>
To: 24135@debbugs.gnu.org
Subject: bug#24135: guix system reconfigure fails on successful build
Date: Tue, 02 Aug 2016 14:14:39 -0400 [thread overview]
Message-ID: <86k2fzavhs.fsf@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 284 bytes --]
An ongoing attempt to configure RAID. It builds OK but fails on
reconfigure.
Yesterday the same config built and configured but failed to boot:
bug#24129: RAID config boot hangs at [...] Clocksource: Switched to clocksource tsc
Guix version info appears at the bottom of the log.
[-- Attachment #2: system40.log --]
[-- Type: application/octet-stream, Size: 2671 bytes --]
root@g1 ~# guix system build system40.scm
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/0qfm6y1q8wkcam051jxwvmkrksbkf7s7-system.drv
/gnu/store/b6lbym312diipfhq0bpdcy95w8zg0ll6-activate-service.drv
/gnu/store/fnzv64clqxcr4q80wqfdpxbqjgy12z3i-activate.drv
/gnu/store/a3kl6dcahqs1p61ndf1wwxnpix04ary1-boot.drv
/gnu/store/03bnp83fh7wwc3nvlngvprmlg9afrgxc-etc.drv
/gnu/store/qfq7kzqg9xcw1j5nvgs6wif2ymydm2n7-system
root@g1 ~# guix system reconfigure system40.scm
substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivation will be built:
/gnu/store/g5mj74zvdbq074qvmddfdqikxvz6739w-grub.cfg.drv
/gnu/store/qfq7kzqg9xcw1j5nvgs6wif2ymydm2n7-system
/gnu/store/qi3r489mq7hchzi87avp89n08gv4g1yk-grub.cfg
/gnu/store/zgm8s5z5y9dh0g36jqxh5i30js93irk5-grub-2.02beta3
activating system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/3vbg3i84k9z57kj5xwz91h08b59mh9yb-etc...
usermod: no changes
usermod: no changes
usermod: no changes
making '/gnu/store/qfq7kzqg9xcw1j5nvgs6wif2ymydm2n7-system' the current system...
guix system: loading new services: device-mapping-/dev/md0 file-system-/mnt/md0...
shepherd: Evaluating user expression (register-services (primitive-load "/gn...") #).
Backtrace:
In ice-9/boot-9.scm:
157: 9 [catch #t #<catch-closure 2636ba0> ...]
In unknown file:
?: 8 [apply-smob/1 #<catch-closure 2636ba0>]
In ice-9/boot-9.scm:
63: 7 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
432: 6 [eval # #]
In ice-9/boot-9.scm:
2401: 5 [save-module-excursion #<procedure 2653940 at ice-9/boot-9.scm:4045:3 ()>]
4050: 4 [#<procedure 2653940 at ice-9/boot-9.scm:4045:3 ()>]
1724: 3 [%start-stack load-stack ...]
1729: 2 [#<procedure 266aea0 ()>]
In unknown file:
?: 1 [primitive-load "/gnu/store/5ibkqq9414k3l762yi4ps63i9yjr7vlz-guix-0.10.0-1.97c8/bin/.guix-real"]
In guix/ui.scm:
1209: 0 [run-guix-command system "reconfigure" "system40.scm"]
guix/ui.scm:1209:6: In procedure run-guix-command:
guix/ui.scm:1209:6: Throw to key `srfi-34' with args `(#<condition &action-exception-error [service: device-mapping-/dev/md0 action: start key: unbound-variable args: (#f "Unbound variable: ~S" (every) #f)] 8a9b640>)'.
root@g1 ~# stat ~/.config/guix/latest | grep File:
File: '/root/.config/guix/latest' -> '/home/g1/src/guix'
root@g1 ~# cd /home/g1/src/guix && git log -n 1 --oneline
0a4ebe0 gnu: Add Elixir.
root@g1 /home/g1/src/guix# cd /home/g1/src/guix && git describe
v0.10.0-2110-g0a4ebe0
root@g1 /home/g1/src/guix# exit
exit
Process shell finished
[-- Attachment #3: system40.scm --]
[-- Type: application/octet-stream, Size: 2282 bytes --]
;;; g1 system config
(use-modules (gnu))
(use-service-modules networking ssh)
(use-package-modules
base
admin
disk
linux ; mdadm
package-management ; guix
screen
ghostscript ; gs-fonts
fonts ; font-dejavu font-gnu-freefont-ttf
curl ; lpaste
ssh
xorg certs
rsync
wget
version-control ; git
aspell
emacs
cups
graphviz
qemu
)
(define md0
(mapped-device
(source (list "/dev/sdb1" "/dev/sdc1"))
(target "/dev/md0")
(type raid-device-mapping)))
(operating-system
(host-name "g1")
(timezone "America/New_York")
(locale "en_US.utf8")
(bootloader (grub-configuration (device "/dev/sda")))
(mapped-devices (list md0))
;; Add a kernel module for RAID-1.
(initrd (lambda (file-systems . rest)
(apply base-initrd file-systems
#:extra-modules '("raid1")
rest)))
(file-systems (cons*
(file-system
(device "ssd-root")
(title 'label)
(mount-point "/")
(type "ext4"))
(file-system
(title 'device)
(device "/dev/md0")
(dependencies (list md0))
(mount-point "/mnt/md0")
(create-mount-point? #t)
(type "ext4"))
%base-file-systems))
(users (cons* (user-account
(name "glc")
(group "users")
(supplementary-groups '("wheel"))
(home-directory "/home/glc"))
(user-account
(name "g1")
(group "users")
(supplementary-groups '("wheel" "kvm"))
(home-directory "/home/g1"))
(user-account
(name "g1x")
(group "users")
(supplementary-groups '("wheel" "kvm"))
(home-directory "/home/g1x"))
(user-account
(name "gx")
(group "users")
(supplementary-groups '("wheel" "kvm"))
(home-directory "/home/gx"))
%base-user-accounts))
(packages
(cons*
glibc-utf8-locales
parted
mdadm
qemu
guix
screen
openssh nss-certs xauth
rsync wget
curl ;lpaste
git git-manpages
gs-fonts font-dejavu font-gnu-freefont-ttf
aspell
emacs
flycheck paredit magit
emacs-zenburn-theme emacs-markdown-mode emacs-web-mode
cups
graphviz
%base-packages))
(services (cons* (dhcp-client-service)
(lsh-service #:port-number 22)
%base-services)))
next reply other threads:[~2016-08-02 18:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-02 18:14 myglc2 [this message]
2016-08-02 22:12 ` bug#24135: guix system reconfigure fails on successful build 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=86k2fzavhs.fsf@gmail.com \
--to=myglc2@gmail.com \
--cc=24135@debbugs.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).