From mboxrd@z Thu Jan 1 00:00:00 1970 From: sidhu1f Subject: Re: Upgrade errors, Re: Upgrade errors Date: Sat, 4 Aug 2018 13:40:47 +0530 Message-ID: References: <87bmdr8my0.fsf@gnu.org> <87o9hlcns9.fsf@elephly.net> <87efigfh1y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000fa21b40572979413" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flreG-0006KG-8Q for help-guix@gnu.org; Sat, 04 Aug 2018 04:10:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1flreE-0004ox-P3 for help-guix@gnu.org; Sat, 04 Aug 2018 04:10:52 -0400 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:33711) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1flreE-0004nN-8p for help-guix@gnu.org; Sat, 04 Aug 2018 04:10:50 -0400 Received: by mail-lj1-x230.google.com with SMTP id s12-v6so6747881ljj.0 for ; Sat, 04 Aug 2018 01:10:49 -0700 (PDT) In-Reply-To: <87efigfh1y.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Chris Marusich Cc: help-guix@gnu.org --000000000000fa21b40572979413 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Chris Apologies for the delay in response. Meanwhile I have done a clean reinstall of guix version 0.15 and the error persists: ... shepherd: Service user-homes could not be started. shepherd: Service term-auto could not be started. ... is output by 'guix system reconfigure /etc/config.scm' after a 'guix pull' (both run as root). Output you requested: rs@anu ~$ sudo lsblk -p -o NAME,TYPE,FSTYPE,LABEL,UUID,MOUNTPOINT NAME TYPE FSTYPE LABEL UUID MOUNTPOINT /dev/sda disk =E2=94=94=E2=94=80/dev/sda1 part crypto_LUKS c396a60c-2c22-44eb-97f4-4d885d894782 =E2=94=94=E2=94=80/dev/mapper/root-part crypt ext4 root-fs 8daae8f5-6dc0-4272-b615-fee947ba6a1e / rs@anu ~$ sudo /home/rs/.guix-profile/sbin/parted -l Model: ATA Samsung SSD 850 (scsi) Disk /dev/sda: 256GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 256GB 256GB primary Also, my current /etc/config.scm is attached. Look forward to help on resolving these somewhat irritating errors. Regards sidhu1f On Sun, May 13, 2018 at 7:33 AM, Chris Marusich wrot= e: > sidhu1f writes: > >> ;; Assuming /dev/sdX is the target hard disk, and "my-root" >> ;; is the label of the target root file system. >> (bootloader (bootloader-configuration >> (bootloader grub-bootloader) >> (target "/dev/sda1"))) >> >> ;; Specify a mapped device for the encrypted root partition. >> ;; The UUID is that returned by 'cryptsetup luksUUID'. >> (mapped-devices >> (list (mapped-device >> (source (uuid "fe4039bc-d231-4943-9704-f8a1186e6d42")) >> (target "fs-root") >> (type luks-device-mapping)))) >> >> (file-systems (cons (file-system >> (device "fs-root") >> (title 'label) >> (mount-point "/") >> (type "ext4") >> (dependencies mapped-devices)) >> %base-file-systems)) > > Can you also share the output of the following commands? > > sudo lsblk -p -o NAME,TYPE,FSTYPE,LABEL,UUID,MOUNTPOINT > sudo parted -l > > This will tell us how your disks, partitions, and LUKS volume are > configured. Hopefully that will make it easier to see why your > configuration isn't working. If you don't have those programs > available, you can install them with: > > guix package -i util-linux parted > > sidhu1f writes: > >> Hi Rekado >> >> On Sat, May 12, 2018 at 1:23 PM, Ricardo Wurmus wro= te: >> >>> > I did discover something curious: my guix version seems unchanged >>> > even after multiple 'guix system reconfigure' invocations. I do >>> > believe I heeded the documentation to do a 'guix pull' before the >>> > first reconfigure. Still, invocations of 'guix', >>> > '/var/guix/profiles/system-1-link/profile/bin/guix --version' and >>> > '/var/guix/profiles/system-11-link/profile/bin/guix --version' >>> > all produce: >>> > >>> > guix (GNU Guix) 12e352dbcfc07b870c812999ae81c16f0aa8dc2c >>> > Copyright... >> >>> This is not as helpful as it may seem. The =E2=80=9Cguix=E2=80=9D exec= utable first >>> checks if ~/.config/guix/latest exists. If it does it will load module= s >>> from there. It seems that you=E2=80=99ve used different guix executabl= es, but >>> they would all load the same modules from ~/.config/guix/latest. >> >> I understand and accept what you are saying but it is not clear what >> it means in the current context. Do you mean that the guix version of >> Guix SD v0.14.0 fresh install, and the guix version after recently >> (couple of days back) doing a 'guix pull' and 'guix system >> reconfigure' being the same is expected behavior? By "guix version" >> above I mean the output displayed by 'guix --version'. > > The "guix" command is a thin wrapper that quickly delegates to whatever > you've installed in ~/.config/guix/latest. This is by design; it is how > we currently make it possible for multiple users to maintain separate > installations of Guix simultaneously. For a more detailed description > of how this works, you might find this email thread helpful: > > https://lists.gnu.org/archive/html/help-guix/2017-09/msg00092.html > > -- > Chris --000000000000fa21b40572979413 Content-Type: application/octet-stream; name="config.scm" Content-Disposition: attachment; filename="config.scm" Content-Transfer-Encoding: base64 X-Attachment-Id: f_jkf4vdca1 OzsgVGhpcyBpcyBhbiBvcGVyYXRpbmcgc3lzdGVtIGNvbmZpZ3VyYXRpb24gdGVtcGxhdGUKOzsg Zm9yIGEgImRlc2t0b3AiIHNldHVwIHdpdGggR05PTUUgYW5kIFhmY2Ugd2hlcmUgdGhlCjs7IHJv b3QgcGFydGl0aW9uIGlzIGVuY3J5cHRlZCB3aXRoIExVS1MuCgoodXNlLW1vZHVsZXMgKGdudSkg KGdudSBzeXN0ZW0gbnNzKSkKKHVzZS1zZXJ2aWNlLW1vZHVsZXMgZGVza3RvcCkKKHVzZS1wYWNr YWdlLW1vZHVsZXMgY2VydHMgZ25vbWUpCgoob3BlcmF0aW5nLXN5c3RlbQogIChob3N0LW5hbWUg ImFudSIpCiAgKHRpbWV6b25lICJBc2lhL0tvbGthdGEiKQogIChsb2NhbGUgImVuX0lOLnV0Zjgi KQoKICA7OyBVc2UgdGhlIFVFRkkgdmFyaWFudCBvZiBHUlVCIHdpdGggdGhlIEVGSSBTeXN0ZW0K ICA7OyBQYXJ0aXRpb24gbW91bnRlZCBvbiAvYm9vdC9lZmkuCiAgKGJvb3Rsb2FkZXIgKGJvb3Rs b2FkZXItY29uZmlndXJhdGlvbgogICAgICAgICAgICAgICAgKGJvb3Rsb2FkZXIgZ3J1Yi1ib290 bG9hZGVyKQogICAgICAgICAgICAgICAgKHRhcmdldCAiL2Rldi9zZGEiKSkpCgogIDs7IFNwZWNp ZnkgYSBtYXBwZWQgZGV2aWNlIGZvciB0aGUgZW5jcnlwdGVkIHJvb3QgcGFydGl0aW9uLgogIDs7 IFRoZSBVVUlEIGlzIHRoYXQgcmV0dXJuZWQgYnkgJ2NyeXB0c2V0dXAgbHVrc1VVSUQnLgogICht YXBwZWQtZGV2aWNlcwogICAobGlzdCAobWFwcGVkLWRldmljZQogICAgICAgICAgKHNvdXJjZSAo dXVpZCAiYzM5NmE2MGMtMmMyMi00NGViLTk3ZjQtNGQ4ODVkODk0NzgyIikpCiAgICAgICAgICAo dGFyZ2V0ICJyb290LXBhcnQiKQogICAgICAgICAgKHR5cGUgbHVrcy1kZXZpY2UtbWFwcGluZykp KSkKCiAgKGZpbGUtc3lzdGVtcyAoY29ucyAoZmlsZS1zeXN0ZW0KICAgICAgICAgICAgICAgICAg ICAgICAgKGRldmljZSAoZmlsZS1zeXN0ZW0tbGFiZWwgInJvb3QtZnMiKSkKICAgICAgICAgICAg ICAgICAgICAgICAgKG1vdW50LXBvaW50ICIvIikKICAgICAgICAgICAgICAgICAgICAgICAgKHR5 cGUgImV4dDQiKQogICAgICAgICAgICAgICAgICAgICAgICAoZGVwZW5kZW5jaWVzIG1hcHBlZC1k ZXZpY2VzKSkKICAgICAgICAgICAgICAgICAgICAgICViYXNlLWZpbGUtc3lzdGVtcykpCgogICh1 c2VycyAoY29ucyAodXNlci1hY2NvdW50CiAgICAgICAgICAgICAgICAobmFtZSAicnMiKQogICAg ICAgICAgICAgICAgKGNvbW1lbnQgIlJlZXRpbmRlciBTaWRodSIpCiAgICAgICAgICAgICAgICAo Z3JvdXAgInVzZXJzIikKICAgICAgICAgICAgICAgIChzdXBwbGVtZW50YXJ5LWdyb3VwcyAnKCJ3 aGVlbCIgIm5ldGRldiIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJh dWRpbyIgInZpZGVvIikpCiAgICAgICAgICAgICAgICAoaG9tZS1kaXJlY3RvcnkgIi9ob21lL3Jz IikpCiAgICAgICAgICAgICAgICViYXNlLXVzZXItYWNjb3VudHMpKQoKICA7OyBUaGlzIGlzIHdo ZXJlIHdlIHNwZWNpZnkgc3lzdGVtLXdpZGUgcGFja2FnZXMuCiAgKHBhY2thZ2VzIChjb25zKiBu c3MtY2VydHMgICAgICAgICA7Zm9yIEhUVFBTIGFjY2VzcwogICAgICAgICAgICAgICAgICAgZ3Zm cyAgICAgICAgICAgICAgO2ZvciB1c2VyIG1vdW50cwogICAgICAgICAgICAgICAgICAgJWJhc2Ut cGFja2FnZXMpKQoKICA7OyBBZGQgR05PTUUgYW5kL29yIFhmY2UtLS13ZSBjYW4gY2hvb3NlIGF0 IHRoZSBsb2ctaW4KICA7OyBzY3JlZW4gd2l0aCBGMS4gIFVzZSB0aGUgImRlc2t0b3AiIHNlcnZp Y2VzLCB3aGljaAogIDs7IGluY2x1ZGUgdGhlIFgxMSBsb2ctaW4gc2VydmljZSwgbmV0d29ya2lu ZyB3aXRoCiAgOzsgTmV0d29ya01hbmFnZXIsIGFuZCBtb3JlLgogIChzZXJ2aWNlcyAoY29ucyog KHhmY2UtZGVza3RvcC1zZXJ2aWNlKQogICAgICAgICAgICAgICAgICAgJWRlc2t0b3Atc2Vydmlj ZXMpKQoKICA7OyBBbGxvdyByZXNvbHV0aW9uIG9mICcubG9jYWwnIGhvc3QgbmFtZXMgd2l0aCBt RE5TLgogIChuYW1lLXNlcnZpY2Utc3dpdGNoICVtZG5zLWhvc3QtbG9va3VwLW5zcykpCg== --000000000000fa21b40572979413--