Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2233759 - pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] No such file or directory: '/usr/sbin/updateloaderentries'
Summary: pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] No such fil...
Keywords:
Status: CLOSED DUPLICATE of bug 2234638
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 39
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: anaconda-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d9e2e3b7cc5ebff73b14292904b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-23 09:59 UTC by ldivizio@gmail.com
Modified: 2023-09-26 18:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-26 18:01:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (deleted)
2023-08-23 09:59 UTC, ldivizio@gmail.com
no flags Details
File: backtrace (deleted)
2023-08-23 09:59 UTC, ldivizio@gmail.com
no flags Details
File: os_info (deleted)
2023-08-23 09:59 UTC, ldivizio@gmail.com
no flags Details
File: environ (deleted)
2023-08-23 09:59 UTC, ldivizio@gmail.com
no flags Details
File: journalctl (deleted)
2023-08-23 10:00 UTC, ldivizio@gmail.com
no flags Details
File: description (deleted)
2023-08-23 10:00 UTC, ldivizio@gmail.com
no flags Details
File: storage.log (deleted)
2023-08-23 10:00 UTC, ldivizio@gmail.com
no flags Details
File: packaging.log (deleted)
2023-08-23 10:00 UTC, ldivizio@gmail.com
no flags Details
File: program.log (deleted)
2023-08-23 10:00 UTC, ldivizio@gmail.com
no flags Details
File: nmcli_dev_list (deleted)
2023-08-23 10:00 UTC, ldivizio@gmail.com
no flags Details
File: anaconda.log (deleted)
2023-08-23 10:00 UTC, ldivizio@gmail.com
no flags Details
File: lsblk_output (deleted)
2023-08-23 10:00 UTC, ldivizio@gmail.com
no flags Details
File: dbus.log (deleted)
2023-08-23 10:00 UTC, ldivizio@gmail.com
no flags Details
File: packaging.log (deleted)
2023-08-23 10:00 UTC, ldivizio@gmail.com
no flags Details

Description ldivizio@gmail.com 2023-08-23 09:59:48 UTC
Description of problem:
Anaconda terminated in the boot-loader stage.

Command:
liveinst --sdboot --noselinux

Version-Release number of selected component:
anaconda-core-39.29-1.fc39.x86_64


The following was filed automatically by anaconda:
anaconda 39.29 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 509, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 450, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 439, in run_install_bootloader
    sync_run_task(STORAGE.get_proxy(task))
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 246, in _run
    self._task_cb(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 515, in _run_installation
    queue.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 80, in run
    self._run_installation(
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 107, in _task_run_callback
    self._set_result(self.run())
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 94, in _thread_run_callback
    self._task_run_callback()
  File "/usr/lib64/python3.12/threading.py", line 989, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 280, in run
    threading.Thread.run(self)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 171, in raise_if_error
    raise exc_info[1]
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 173, in finish
    thread_manager.raise_if_error(self._thread_name)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/ui/gui/spokes/installation_progress.py", line 75, in _on_installation_done
    self._task.finish()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/signal.py", line 41, in emit
    func(obj, *args, **kargs)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/runnable.py", line 115, in _task_stopped_callback
    self._stopped_signal.emit()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/async_utils.py", line 68, in _idle_method
    func(*args, **kwargs)
pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] No such file or directory: '/usr/sbin/updateloaderentries'

Additional info:
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical --sdboot --noselinux
executable:     /sbin/anaconda
hashmarkername: anaconda
product:        Fedora
package:        anaconda-core-39.29-1.fc39.x86_64
reason:         pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] No such file or directory: '/usr/sbin/updateloaderentries'
release_type:   pre-release
type:           anaconda
release:        Fedora release 39 (Thirty Nine)
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-Sway-Live-39-20230822-n-0 rd.live.image quiet rhgb
addons:         com_redhat_kdump
kernel:         6.5.0-0.rc7.20230821gitf7757129e3de.50.fc39.x86_64
version:        39
other involved packages: python3-dasbus-1.7-4.fc39.noarch, anaconda-gui-39.29-1.fc39.x86_64, python3-libs-3.12.0~rc1-1.fc39.x86_64

Comment 1 ldivizio@gmail.com 2023-08-23 09:59:53 UTC
Created attachment 1984740 [details]
File: anaconda-tb

Comment 2 ldivizio@gmail.com 2023-08-23 09:59:55 UTC
Created attachment 1984741 [details]
File: backtrace

Comment 3 ldivizio@gmail.com 2023-08-23 09:59:56 UTC
Created attachment 1984742 [details]
File: os_info

Comment 4 ldivizio@gmail.com 2023-08-23 09:59:58 UTC
Created attachment 1984743 [details]
File: environ

Comment 5 ldivizio@gmail.com 2023-08-23 10:00:01 UTC
Created attachment 1984744 [details]
File: journalctl

Comment 6 ldivizio@gmail.com 2023-08-23 10:00:03 UTC
Created attachment 1984745 [details]
File: description

Comment 7 ldivizio@gmail.com 2023-08-23 10:00:05 UTC
Created attachment 1984746 [details]
File: storage.log

Comment 8 ldivizio@gmail.com 2023-08-23 10:00:07 UTC
Created attachment 1984747 [details]
File: packaging.log

Comment 9 ldivizio@gmail.com 2023-08-23 10:00:09 UTC
Created attachment 1984748 [details]
File: program.log

Comment 10 ldivizio@gmail.com 2023-08-23 10:00:11 UTC
Created attachment 1984749 [details]
File: nmcli_dev_list

Comment 11 ldivizio@gmail.com 2023-08-23 10:00:13 UTC
Created attachment 1984750 [details]
File: anaconda.log

Comment 12 ldivizio@gmail.com 2023-08-23 10:00:15 UTC
Created attachment 1984751 [details]
File: lsblk_output

Comment 13 ldivizio@gmail.com 2023-08-23 10:00:16 UTC
Created attachment 1984752 [details]
File: dbus.log

Comment 14 ldivizio@gmail.com 2023-08-23 10:00:18 UTC
Created attachment 1984753 [details]
File: packaging.log

Comment 15 Jeremy Linton 2023-09-26 18:00:34 UTC
So the live image is a pre-existing image, that has been created with grub, which anaconda is then trying to copy to the disk. To make this work, either anaconda needs to know enough to remove the grub images, and rebuild the image with systemd-boot, or the live image needs to be created with bootloader --sdboot and then the installer on the live image should work. Of course there are gochas at the moment with both cases, although I've been looking at option two here, which is assuring that live images can be created with systemd-boot by removing the grub dependencies.

But, for the time being the plan appears to be to simply disable systemd-boot on live media.

There is an existing bz #2234638 which is being used to track this problem. So i'm going to dupe this against that one despite this one being older.

Comment 16 Jeremy Linton 2023-09-26 18:01:05 UTC

*** This bug has been marked as a duplicate of bug 2234638 ***


Note You need to log in before you can comment on or make changes to this bug.