[Bug 2036638] [NEW] curtin FAIL: installing grub to target devices
Nilson Lopes
2036638 at bugs.launchpad.net
Tue Sep 19 20:31:07 UTC 2023
Public bug reported:
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)
** Affects: curtin (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug jammy uec-images
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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:
New
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
More information about the foundations-bugs
mailing list