Bug 2354038 - pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] No such file or directory: 'systemd-machine-id-setup'
Summary: pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] No such fil...
Keywords:
Status: CLOSED DUPLICATE of bug 1963778
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 42
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: anaconda-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:87ceddde70db9b3745436620400...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-21 09:02 UTC by Phani Pavan K
Modified: 2025-10-06 06:24 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-10-06 06:24:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.39 MB, text/plain)
2025-03-21 09:02 UTC, Phani Pavan K
no flags Details
File: backtrace (4.25 KB, text/plain)
2025-03-21 09:02 UTC, Phani Pavan K
no flags Details
File: os_info (746 bytes, text/plain)
2025-03-21 09:02 UTC, Phani Pavan K
no flags Details
File: environ (2.10 KB, text/plain)
2025-03-21 09:02 UTC, Phani Pavan K
no flags Details
File: journalctl (1.14 MB, text/plain)
2025-03-21 09:02 UTC, Phani Pavan K
no flags Details
File: description (3.41 KB, text/plain)
2025-03-21 09:02 UTC, Phani Pavan K
no flags Details
File: storage.log (176.88 KB, text/plain)
2025-03-21 09:02 UTC, Phani Pavan K
no flags Details
File: packaging.log (7.94 KB, text/plain)
2025-03-21 09:02 UTC, Phani Pavan K
no flags Details
File: program.log (9.26 KB, text/plain)
2025-03-21 09:02 UTC, Phani Pavan K
no flags Details
File: nmcli_dev_list (1.57 KB, text/plain)
2025-03-21 09:02 UTC, Phani Pavan K
no flags Details
File: anaconda.log (51.04 KB, text/plain)
2025-03-21 09:02 UTC, Phani Pavan K
no flags Details
File: lsblk_output (1.41 KB, text/plain)
2025-03-21 09:02 UTC, Phani Pavan K
no flags Details
File: dbus.log (3.90 KB, text/plain)
2025-03-21 09:02 UTC, Phani Pavan K
no flags Details
File: packaging.log (7.94 KB, text/plain)
2025-03-21 09:02 UTC, Phani Pavan K
no flags Details

Description Phani Pavan K 2025-03-21 09:02:06 UTC
Description of problem:
Booted Fedora 42 KDE Edition BETA in a virtual machine on VMWare Workstation 17 Pro. Opened the installer, used the default configuration for the vm, acocunt creation and disk partition. The installer crashed at installing boot loader.

Version-Release number of selected component:
anaconda-core-42.27.3-1.fc42.x86_64


The following was filed automatically by anaconda:
anaconda 42.27.3 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.13/site-packages/dasbus/client/handler.py", line 509, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.13/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.13/site-packages/dasbus/client/handler.py", line 450, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.13/site-packages/pyanaconda/modules/common/task/__init__.py", line 53, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.13/site-packages/pyanaconda/installation.py", line 520, in run_install_bootloader
    sync_run_task(STORAGE.get_proxy(task))
  File "/usr/lib64/python3.13/site-packages/pyanaconda/installation_tasks.py", line 267, in _run
    self._task_cb(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.13/site-packages/pyanaconda/installation_tasks.py", line 81, in start
    self._run()
  File "/usr/lib64/python3.13/site-packages/pyanaconda/installation_tasks.py", line 209, in _run
    item.start()
  File "/usr/lib64/python3.13/site-packages/pyanaconda/installation_tasks.py", line 81, in start
    self._run()
  File "/usr/lib64/python3.13/site-packages/pyanaconda/installation_tasks.py", line 209, in _run
    item.start()
  File "/usr/lib64/python3.13/site-packages/pyanaconda/installation_tasks.py", line 81, in start
    self._run()
  File "/usr/lib64/python3.13/site-packages/pyanaconda/installation_tasks.py", line 209, in _run
    item.start()
  File "/usr/lib64/python3.13/site-packages/pyanaconda/installation_tasks.py", line 81, in start
    self._run()
  File "/usr/lib64/python3.13/site-packages/pyanaconda/installation.py", line 598, in _run_installation
    queue.start()
  File "/usr/lib64/python3.13/site-packages/pyanaconda/installation.py", line 111, in run
    self._run_installation(
  File "/usr/lib64/python3.13/site-packages/pyanaconda/modules/common/task/task.py", line 110, in _task_run_callback
    self._set_result(self.run())
  File "/usr/lib64/python3.13/site-packages/pyanaconda/modules/common/task/task.py", line 97, in _thread_run_callback
    self._task_run_callback()
  File "/usr/lib64/python3.13/threading.py", line 992, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.13/site-packages/pyanaconda/core/threads.py", line 281, in run
    threading.Thread.run(self)
  File "/usr/lib64/python3.13/site-packages/pyanaconda/core/threads.py", line 172, in raise_if_error
    raise exc_info[1]
  File "/usr/lib64/python3.13/site-packages/pyanaconda/modules/common/task/task.py", line 176, in finish
    thread_manager.raise_if_error(self._thread_name)
  File "/usr/lib64/python3.13/site-packages/pyanaconda/ui/gui/spokes/installation_progress.py", line 76, in _on_installation_done
    self._task.finish()
  File "/usr/lib64/python3.13/site-packages/pyanaconda/core/signal.py", line 41, in emit
    func(obj, *args, **kargs)
  File "/usr/lib64/python3.13/site-packages/pyanaconda/modules/common/task/runnable.py", line 115, in _task_stopped_callback
    self._stopped_signal.emit()
  File "/usr/lib64/python3.13/site-packages/pyanaconda/core/async_utils.py", line 69, in _idle_method
    func(*args, **kwargs)
pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] No such file or directory: 'systemd-machine-id-setup'

Additional info:
comment:        Booted Fedora 42 KDE Edition BETA in a virtual machine on VMWare Workstation 17 Pro. Opened the installer, used the default configuration for the vm, acocunt creation and disk partition. The installer crashed at installing boot loader.
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
executable:     /sbin/anaconda
hashmarkername: anaconda
product:        Fedora
package:        anaconda-core-42.27.3-1.fc42.x86_64
reason:         pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] No such file or directory: 'systemd-machine-id-setup'
release_type:   pre-release
type:           anaconda
release:        Fedora release 42 (Adams)
cmdline_file:   BOOT_IMAGE=(cd0)/boot/x86_64/loader/linux quiet rhgb root=live:CDLABEL=Fedora-KDE-Live-42 rd.live.image rd.live.check
addons:         com_redhat_kdump
kernel:         6.14.0-0.rc3.29.fc42.x86_64
version:        42
other involved packages: python3-libs-3.13.2-2.fc42.x86_64, python3-dasbus-1.7-9.fc42.noarch, anaconda-gui-42.27.3-1.fc42.x86_64

Potential duplicate: bug 2212602

Comment 1 Phani Pavan K 2025-03-21 09:02:12 UTC
Created attachment 2081212 [details]
File: anaconda-tb

Comment 2 Phani Pavan K 2025-03-21 09:02:14 UTC
Created attachment 2081213 [details]
File: backtrace

Comment 3 Phani Pavan K 2025-03-21 09:02:15 UTC
Created attachment 2081214 [details]
File: os_info

Comment 4 Phani Pavan K 2025-03-21 09:02:18 UTC
Created attachment 2081215 [details]
File: environ

Comment 5 Phani Pavan K 2025-03-21 09:02:22 UTC
Created attachment 2081216 [details]
File: journalctl

Comment 6 Phani Pavan K 2025-03-21 09:02:24 UTC
Created attachment 2081217 [details]
File: description

Comment 7 Phani Pavan K 2025-03-21 09:02:27 UTC
Created attachment 2081218 [details]
File: storage.log

Comment 8 Phani Pavan K 2025-03-21 09:02:29 UTC
Created attachment 2081219 [details]
File: packaging.log

Comment 9 Phani Pavan K 2025-03-21 09:02:31 UTC
Created attachment 2081220 [details]
File: program.log

Comment 10 Phani Pavan K 2025-03-21 09:02:33 UTC
Created attachment 2081221 [details]
File: nmcli_dev_list

Comment 11 Phani Pavan K 2025-03-21 09:02:36 UTC
Created attachment 2081222 [details]
File: anaconda.log

Comment 12 Phani Pavan K 2025-03-21 09:02:38 UTC
Created attachment 2081223 [details]
File: lsblk_output

Comment 13 Phani Pavan K 2025-03-21 09:02:41 UTC
Created attachment 2081224 [details]
File: dbus.log

Comment 14 Phani Pavan K 2025-03-21 09:02:42 UTC
Created attachment 2081225 [details]
File: packaging.log

Comment 15 Martin Kolman 2025-04-01 13:03:13 UTC
So looking at the error:

pyanaconda.modules.common.errors.general.AnacondaError: [Errno 2] No such file or directory: 'systemd-machine-id-setup'

while a bit confusing, what it means is that Anaconda tried to run the systemd-machine-id-setup binary in the installed system chroot nad failed to find it. This being basically the first binary Anaconda tries to run in the chroot after the target system rootfs has been installed usully indicates that the installation somehow failed or that the content Anaconda tried to install was corrupted.

We use rsync for the rootfs deployment & that indeed indicates something went wrong:

Mar 21 14:17:49 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: INFO:program:Running... rsync -pogAXtlHrDx --stats --info=flist2,name,progress2 --no-inc-recursive --exclude /dev/ --exclude /proc/ --exclude /tmp/* --exclude /sys/ --exclude /run/ --exclude /boot/*rescue* --exclude /boot/loader/ --exclude /boot/efi/ --exclude /etc/machine-id --exclude /etc/machine-info /run/install/sources/mount-0000-live_os_image/ /mnt/sysroot
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync progress: 100%
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: Number of files: 1 (dir: 1)
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: Number of created files: 0
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: Number of deleted files: 0
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: Number of regular files transferred: 0
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: Total file size: 0 bytes
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: Total transferred file size: 0 bytes
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: Literal data: 0 bytes
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: Matched data: 0 bytes
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: File list size: 0
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: File list generation time: 0.001 seconds
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: File list transfer time: 0.000 seconds
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: Total bytes sent: 132
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: Total bytes received: 21
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: sent 132 bytes  received 21 bytes  102.00 bytes/sec
Mar 21 14:17:50 localhost-live org.fedoraproject.Anaconda.Modules.Payloads[3425]: DEBUG:anaconda.modules.payloads.payload.live_image.installation:rsync output: total size is 0  speedup is 0.00

Basically nothing was transferred, indicating most likely a corrupted installation image - not enough not to boot, but enough for the payload not been installable. I suggest redownloading the image & checking its checksum before booting it. There should be also an option to verify the checksum from the boot menu.

Comment 16 Katerina Koukiou 2025-10-06 06:24:45 UTC

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


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