← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2036638] Re: curtin FAIL: installing grub to target devices

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: curtin (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to curtin in Ubuntu.
https://bugs.launchpad.net/bugs/2036638

Title:
  curtin FAIL: installing grub to target devices

Status in curtin package in Ubuntu:
  Confirmed

Bug description:
  finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub: FAIL: installing grub to target devices
          finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: FAIL: configuring target system bootloader
          finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks
          Traceback (most recent call last):
            File "/snap/subiquity/5097/lib/python3.10/site-packages/curtin/commands/main.py", line 202, in main
              ret = args.func(args)
            File "/snap/subiquity/5097/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 1918, in curthooks
              builtin_curthooks(cfg, target, state)
            File "/snap/subiquity/5097/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 1883, in builtin_curthooks
              setup_grub(cfg, target, osfamily=osfamily,
            File "/snap/subiquity/5097/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 819, in setup_grub
              uefi_remove_old_loaders(grubcfg, target)
            File "/snap/subiquity/5097/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 442, in uefi_remove_old_loaders
              in_chroot.subp(
            File "/snap/subiquity/5097/lib/python3.10/site-packages/curtin/util.py", line 787, in subp
              return subp(*args, **kwargs)
            File "/snap/subiquity/5097/lib/python3.10/site-packages/curtin/util.py", line 275, in subp
              return _subp(*args, **kwargs)
            File "/snap/subiquity/5097/lib/python3.10/site-packages/curtin/util.py", line 139, in _subp
              raise ProcessExecutionError(stdout=out, stderr=err,
          curtin.util.ProcessExecutionError: Unexpected error while running command.
          Command: ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'efibootmgr', '-B', '-b', '000A']
          Exit code: 15
          Reason: -
          Stdout: ''
          Stderr: Could not delete variable: Invalid argument

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: curtin (not installed)
  ProcVersionSignature: Ubuntu 5.15.0-60.66-generic 5.15.78
  Uname: Linux 5.15.0-60-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu82.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.470.2
  Date: Tue Sep 19 20:27:00 2023
  LiveMediaBuild: Ubuntu-Server 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230217.1)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=C.UTF-8
   SHELL=/bin/bash
  RebootRequiredPkgs: Error: path contained symlinks.
  SourcePackage: curtin
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/2036638/+subscriptions