From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diego Nicola Barbato Subject: bug#33623: Backtrace when running `guix system roll-back' Date: Thu, 06 Dec 2018 16:05:12 +0100 Message-ID: <871s6uu253.fsf@GlaDOS.home> References: <87k1ko2ois.fsf@tapuakh.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUvE9-00019L-5b for bug-guix@gnu.org; Thu, 06 Dec 2018 10:06:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUvE4-0000Ig-KO for bug-guix@gnu.org; Thu, 06 Dec 2018 10:06:09 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59877) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gUvE1-0000HZ-Q7 for bug-guix@gnu.org; Thu, 06 Dec 2018 10:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gUvE1-0004SF-Jf for bug-guix@gnu.org; Thu, 06 Dec 2018 10:06:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (swedebugia's message of "Wed, 05 Dec 2018 15:56:35 -0800") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: swedebugia@riseup.net Cc: 33623@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Swedebugia, swedebugia@riseup.net writes: > On 2018-12-05 12:36, Diego Nicola Barbato wrote: >> Hello Guix, >>=20 >> When I run =E2=80=98guix system roll-back=E2=80=99 I get the following b= acktrace: >>=20 >> --8<---------------cut here---------------start------------->8--- >> root@tapuakh ~# guix system roll-back >> Backtrace: >> 10 (primitive-load "/root/.config/guix/current/bin/guix") >> In guix/ui.scm: >> 1603:12 9 (run-guix-command _ . _) >> In ice-9/boot-9.scm: >> 829:9 8 (catch srfi-34 # =E2=80=A6) >> 829:9 7 (catch system-error # =E2=80=A6) >> In guix/scripts/system.scm: >> 1268:8 6 (_) >> In guix/status.scm: >> 615:4 5 (call-with-status-report _ _) >> In guix/scripts/system.scm: >> 1208:9 4 (process-command _ _ _) >> 469:10 3 (switch-to-system-generation # =E2=80=A6) >> In guix/store.scm: >> 1659:24 2 (run-with-store _ _ #:guile-for-build _ #:system _ # _) >> In guix/scripts/system.scm: >> 499:6 1 (_ _) >> In unknown file: >> 0 (_ #) >>=20 >> ERROR: Wrong type to apply: #< name: "grub.cfg" gexp: >> # guile: #f options: (#:local-build? #t)> >> --8<---------------cut here---------------end--------------->8--- >>=20 >> I run GuixSD (commit: 1f51f0d975d95a2ba645193cf43d0a294d952e83) on an >> x86_64 machine. > > Interesting. Could you provide a config.scm to help us reproduce the > issue? I've got something better. Steps to reproduce: Install GuixSD in a VM using the iso image and the attached config. The image should be at least 16G (8G is to small for a reconfigure). Reboot the VM. Run =E2=80=98guix pull --commit=3D1f51f0=E2=80=99 as root. Make sure to log out and back in again to avoid bug#33647. Run =E2=80=98guix system reconfigure /etc/config.scm=E2=80=99. Reboot the VM. Run =E2=80=98guix system roll-back=E2=80=99 as root. Backtrace ensues. Greetings Diego --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=config.scm Content-Transfer-Encoding: base64 OzsgVGhpcyBpcyBhbiBvcGVyYXRpbmcgc3lzdGVtIGNvbmZpZ3VyYXRpb24gdGVtcGxhdGU7OyBm b3IgYSAiZGVza3RvcCIgc2V0dXAgd2l0aCBHTk9NRSBhbmQgWGZjZSB3aGVyZSB0aGUKOzsgcm9v dCBwYXJ0aXRpb24gaXMgZW5jcnlwdGVkIHdpdGggTFVLUy4KCih1c2UtbW9kdWxlcyAoZ251KSAo Z251IHN5c3RlbSBuc3MpKQoodXNlLXNlcnZpY2UtbW9kdWxlcyBkZXNrdG9wKQoodXNlLXBhY2th Z2UtbW9kdWxlcyBjZXJ0cyBlbWFjcyBnbm9tZSB4b3JnKQoKKG9wZXJhdGluZy1zeXN0ZW0KICAo aG9zdC1uYW1lICJhbnRlbG9wZSIpCiAgKHRpbWV6b25lICJFdXJvcGUvUGFyaXMiKQogIChsb2Nh bGUgImVuX1VTLnV0ZjgiKQoKICAoYm9vdGxvYWRlciAoYm9vdGxvYWRlci1jb25maWd1cmF0aW9u CiAgICAgICAgICAgICAgICAoYm9vdGxvYWRlciBncnViLWJvb3Rsb2FkZXIpCiAgICAgICAgICAg ICAgICAodGFyZ2V0ICIvZGV2L3NkYSIpKSkKCiAgKGZpbGUtc3lzdGVtcyAoY29ucyAoZmlsZS1z eXN0ZW0KICAgICAgICAgICAgICAgICAgICAgICAgKGRldmljZSAoZmlsZS1zeXN0ZW0tbGFiZWwg Im15LXJvb3QiKSkKICAgICAgICAgICAgICAgICAgICAgICAgKG1vdW50LXBvaW50ICIvIikKICAg ICAgICAgICAgICAgICAgICAgICAgKHR5cGUgImV4dDQiKSkKICAgICAgICAgICAgICAgICAgICAg ICViYXNlLWZpbGUtc3lzdGVtcykpCgogICh1c2VycyAoY29ucyAodXNlci1hY2NvdW50CiAgICAg ICAgICAgICAgICAobmFtZSAiYm9iIikKICAgICAgICAgICAgICAgIChjb21tZW50ICJBbGljZSdz IGJyb3RoZXIiKQogICAgICAgICAgICAgICAgKGdyb3VwICJ1c2VycyIpCiAgICAgICAgICAgICAg ICAoc3VwcGxlbWVudGFyeS1ncm91cHMgJygid2hlZWwiICJuZXRkZXYiCiAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAiYXVkaW8iICJ2aWRlbyIpKQogICAgICAgICAgICAg ICAgKGhvbWUtZGlyZWN0b3J5ICIvaG9tZS9ib2IiKSkKICAgICAgICAgICAgICAgJWJhc2UtdXNl ci1hY2NvdW50cykpCgogIDs7IFRoaXMgaXMgd2hlcmUgd2Ugc3BlY2lmeSBzeXN0ZW0td2lkZSBw YWNrYWdlcy4KICAocGFja2FnZXMgKGNvbnMqIG5zcy1jZXJ0cyAgICAgICAgIDtmb3IgSFRUUFMg YWNjZXNzCiAgICAgICAgICAgICAgICAgICBndmZzICAgICAgICAgICAgICA7Zm9yIHVzZXIgbW91 bnRzCiAgICAgICAgICAgICAgICAgICBlbWFjcyBlbWFjcy1leHdtCiAgICAgICAgICAgICAgICAg ICBzZXR4a2JtYXAKICAgICAgICAgICAgICAgICAgICViYXNlLXBhY2thZ2VzKSkKCiAgOzsgQWRk IEdOT01FIGFuZC9vciBYZmNlLS0td2UgY2FuIGNob29zZSBhdCB0aGUgbG9nLWluCiAgOzsgc2Ny ZWVuIHdpdGggRjEuICBVc2UgdGhlICJkZXNrdG9wIiBzZXJ2aWNlcywgd2hpY2gKICA7OyBpbmNs dWRlIHRoZSBYMTEgbG9nLWluIHNlcnZpY2UsIG5ldHdvcmtpbmcgd2l0aAogIDs7IE5ldHdvcmtN YW5hZ2VyLCBhbmQgbW9yZS4KICAoc2VydmljZXMgKGNvbnMqIChjb25zb2xlLWtleW1hcC1zZXJ2 aWNlICJkZV9DSC1sYXRpbjEiKQogICAgICAgICAgICAgICAgICAgJWRlc2t0b3Atc2VydmljZXMp KQoKICA7OyBBbGxvdyByZXNvbHV0aW9uIG9mICcubG9jYWwnIGhvc3QgbmFtZXMgd2l0aCBtRE5T LgogIChuYW1lLXNlcnZpY2Utc3dpdGNoICVtZG5zLWhvc3QtbG9va3VwLW5zcykpCg== --=-=-=--