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 2248579 - pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/usr/sbin/updateloaderentries'
Summary: pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] Datei oder ...
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:aaa8f6a38908484b9ee9eda4859...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-07 20:02 UTC by Franz Dietrich
Modified: 2023-11-14 15:52 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-14 15:52:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (deleted)
2023-11-07 20:02 UTC, Franz Dietrich
no flags Details
File: backtrace (deleted)
2023-11-07 20:02 UTC, Franz Dietrich
no flags Details
File: os_info (deleted)
2023-11-07 20:02 UTC, Franz Dietrich
no flags Details
File: environ (deleted)
2023-11-07 20:02 UTC, Franz Dietrich
no flags Details
File: journalctl (deleted)
2023-11-07 20:02 UTC, Franz Dietrich
no flags Details
File: description (deleted)
2023-11-07 20:02 UTC, Franz Dietrich
no flags Details
File: storage.log (deleted)
2023-11-07 20:02 UTC, Franz Dietrich
no flags Details
File: packaging.log (deleted)
2023-11-07 20:02 UTC, Franz Dietrich
no flags Details
File: program.log (deleted)
2023-11-07 20:02 UTC, Franz Dietrich
no flags Details
File: nmcli_dev_list (deleted)
2023-11-07 20:02 UTC, Franz Dietrich
no flags Details
File: anaconda.log (deleted)
2023-11-07 20:03 UTC, Franz Dietrich
no flags Details
File: lsblk_output (deleted)
2023-11-07 20:03 UTC, Franz Dietrich
no flags Details
File: dbus.log (deleted)
2023-11-07 20:03 UTC, Franz Dietrich
no flags Details
File: packaging.log (deleted)
2023-11-07 20:03 UTC, Franz Dietrich
no flags Details

Description Franz Dietrich 2023-11-07 20:02:38 UTC
Description of problem:
While installing I tried to install the systemd-boot variant by adding inst.sdboot to the grub boot entry

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


The following was filed automatically by anaconda:
anaconda 39.32.2 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] Datei oder Verzeichnis nicht gefunden: '/usr/sbin/updateloaderentries'

[ The error translates to: No such file or directory: '/usr/sbin/updateloaderentries']

Additional info:
comment:        While installing I tried to install the systemd-boot variant by adding inst.sdboot to the grub boot entry
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
executable:     /sbin/anaconda
hashmarkername: anaconda
product:        Fedora
package:        anaconda-core-39.32.2-1.fc39.x86_64
reason:         pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/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-WS-Live-39_B-1-1 rd.live.image quiet rhgb inst.sdboot
addons:         com_redhat_kdump
kernel:         6.5.2-301.fc39.x86_64
version:        39
other involved packages: python3-libs-3.12.0~rc1-1.fc39.x86_64, python3-dasbus-1.7-4.fc39.noarch, anaconda-gui-39.32.2-1.fc39.x86_64

Comment 1 Franz Dietrich 2023-11-07 20:02:43 UTC
Created attachment 1997710 [details]
File: anaconda-tb

Comment 2 Franz Dietrich 2023-11-07 20:02:45 UTC
Created attachment 1997711 [details]
File: backtrace

Comment 3 Franz Dietrich 2023-11-07 20:02:46 UTC
Created attachment 1997712 [details]
File: os_info

Comment 4 Franz Dietrich 2023-11-07 20:02:48 UTC
Created attachment 1997713 [details]
File: environ

Comment 5 Franz Dietrich 2023-11-07 20:02:50 UTC
Created attachment 1997714 [details]
File: journalctl

Comment 6 Franz Dietrich 2023-11-07 20:02:52 UTC
Created attachment 1997715 [details]
File: description

Comment 7 Franz Dietrich 2023-11-07 20:02:54 UTC
Created attachment 1997716 [details]
File: storage.log

Comment 8 Franz Dietrich 2023-11-07 20:02:55 UTC
Created attachment 1997717 [details]
File: packaging.log

Comment 9 Franz Dietrich 2023-11-07 20:02:57 UTC
Created attachment 1997718 [details]
File: program.log

Comment 10 Franz Dietrich 2023-11-07 20:02:58 UTC
Created attachment 1997719 [details]
File: nmcli_dev_list

Comment 11 Franz Dietrich 2023-11-07 20:03:00 UTC
Created attachment 1997720 [details]
File: anaconda.log

Comment 12 Franz Dietrich 2023-11-07 20:03:02 UTC
Created attachment 1997721 [details]
File: lsblk_output

Comment 13 Franz Dietrich 2023-11-07 20:03:03 UTC
Created attachment 1997722 [details]
File: dbus.log

Comment 14 Franz Dietrich 2023-11-07 20:03:05 UTC
Created attachment 1997723 [details]
File: packaging.log

Comment 15 Vladimír Slávik 2023-11-14 15:30:39 UTC
Hi! Sorry, looking now at the docs, they are misleading. You need to use the boot option together with package installation, where you can choose the bootloader. With live images, the bootloader is already contained in the image, so you need an image that is specially prepared with sdboot. Otherwise, it's not there, not found, and the installer crashes.

Comment 16 Vladimír Slávik 2023-11-14 15:40:37 UTC
I'm amending the docs, but I wonder if we should check for sdboot being possible on live, or not. That's technically possible, just not foreseen as needed yet, because the sdboot support is mostly preview...

https://github.com/rhinstaller/anaconda/pull/5323

Comment 17 Katerina Koukiou 2023-11-14 15:52:24 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.