From: dnbarbato@posteo.de
To: Leo Famulari <leo@famulari.name>
Cc: 29881@debbugs.gnu.org
Subject: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices
Date: Fri, 29 Dec 2017 00:04:03 +0100 [thread overview]
Message-ID: <87o9mi315o.fsf_-_@GlaDOS.home> (raw)
In-Reply-To: <C96046B1-2B95-433A-8663-A05557A93F7F@famulari.name> (Leo Famulari's message of "Thu, 28 Dec 2017 17:30:01 -0500")
[-- Attachment #1: Type: text/plain, Size: 440 bytes --]
Leo Famulari <leo@famulari.name> writes:
> Can you send your config.scm?
>
> Without it, it's hard to know if there is a problem with your config.scm or the Guix mapper-devices code.
>
As requested here is my config.scm. Although I doubt there is a problem
with it since it works with commit
de2032b912ede1756290e7ca9f7af7e9b72627eb and the mapped-devices
declaration is the same as in the manual (except for the target and the
uuid).
[-- Attachment #2: config.scm --]
[-- Type: application/octet-stream, Size: 3788 bytes --]
;; This is an operating system configuration file
;; for a "desktop" setup with StumpWM and EXWM where
;; the root partition is encrypted with LUKS.
(use-modules (gnu) (gnu packages) (gnu system nss))
(use-service-modules avahi cups dbus desktop networking xorg)
(use-package-modules certs cups emacs gnome libusb lisp xdisorg)
(operating-system
(host-name "GLaDOS")
(timezone "Europe/Zurich")
(locale "de_CH.UTF-8")
;; Assuming /dev/sda is the target hard disk, and "osiris"
;; is the label of the target root file system.
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")
(timeout 1)))
;; Specify a mapped device for the encrypted root partition.
;; The UUID is that returned by 'cryptsetup luksUUID'.
(mapped-devices
(list (mapped-device
(source (uuid "9f9b4eaf-3c02-4d3d-b517-782c419b943f"))
(target "hathor")
(type luks-device-mapping))))
(file-systems (cons* (file-system
(device "osiris")
(title 'label)
(mount-point "/")
(type "ext4"))
(file-system
(device "horus")
(title 'label)
(mount-point "/home")
(type "ext4")
(dependencies mapped-devices))
%base-file-systems))
(swap-devices '("/dev/sda2"))
(users (cons (user-account
(name "diego")
(comment "Diego Nicola Barbato")
(group "users")
(supplementary-groups '("lp"
"wheel" "netdev"
"audio" "video"))
(home-directory "/home/diego"))
%base-user-accounts))
;; This is where we specify system-wide packages.
(packages (cons* nss-certs ;for HTTPS access
;; gvfs ;for user mounts
sbcl-stumpwm ;StumpWM window manager
emacs emacs-exwm ;emacs window manager
%base-packages))
;; Add desktop services to %base-services. This is a modified
;; version of %desktop-services with fewer services and wicd
;; instead of network-manager. Also adding tor, xscreensaver,
;; bluetooth and a swiss german console keymap.
(services (cons* (tor-service)
;; cups service
(service cups-service-type
(cups-configuration
(web-interface? #t)
(extensions
(list cups-filters escpr))))
;; Login service
(slim-service)
;; Screen lockers are a pretty useful thing
;; and these are small.
(screen-locker-service xlockmore "xlock")
(screen-locker-service xscreensaver "xscreensaver")
;; Add udev rules for MTP devices so that non-root
;; users can access them.
(simple-service 'mtp udev-service-type (list libmtp))
;; The D-Bus clique.
(bluetooth-service)
(avahi-service)
(wicd-service)
(udisks-service)
(upower-service)
(colord-service)
(geoclue-service)
(polkit-service)
(elogind-service)
(dbus-service)
(ntp-service)
;; Add swiss german keymap
(console-keymap-service "de_CH-latin1")
%base-services))
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))
next prev parent reply other threads:[~2017-12-28 23:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-28 22:18 bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices Diego Nicola Barbato
2017-12-28 22:30 ` Leo Famulari
2017-12-28 23:04 ` dnbarbato [this message]
2017-12-29 13:41 ` Ludovic Courtès
2017-12-29 17:33 ` Mark H Weaver
2017-12-30 0:19 ` Ludovic Courtès
2017-12-30 13:55 ` Diego Nicola Barbato
2018-01-07 2:24 ` Mike Gerwitz
2018-01-10 21:47 ` Mark H Weaver
2018-01-15 22:33 ` Ludovic Courtès
2018-03-05 9:58 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o9mi315o.fsf_-_@GlaDOS.home \
--to=dnbarbato@posteo.de \
--cc=29881@debbugs.gnu.org \
--cc=leo@famulari.name \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.