Bug 1963778 - dasbus.error.DBusError: [Errno 2] No such file or directory: 'systemd-machine-id-setup'
Summary: dasbus.error.DBusError: [Errno 2] No such file or directory: 'systemd-machine...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 39
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6011da28014ba6581fae2d62a6f...
: 1904149 1978583 2006942 2192134 2212602 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-24 01:48 UTC by John Schmitt
Modified: 2024-04-17 10:27 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-07 20:05:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (4.48 MB, text/plain)
2021-05-24 01:48 UTC, John Schmitt
no flags Details
File: anaconda.log (23.35 KB, text/plain)
2021-05-24 01:48 UTC, John Schmitt
no flags Details
File: dbus.log (3.17 KB, text/plain)
2021-05-24 01:48 UTC, John Schmitt
no flags Details
File: environ (657 bytes, text/plain)
2021-05-24 01:49 UTC, John Schmitt
no flags Details
File: journalctl (3.02 MB, text/plain)
2021-05-24 01:49 UTC, John Schmitt
no flags Details
File: lsblk_output (3.32 KB, text/plain)
2021-05-24 01:49 UTC, John Schmitt
no flags Details
File: lvm.log (265.74 KB, text/plain)
2021-05-24 01:49 UTC, John Schmitt
no flags Details
File: nmcli_dev_list (2.80 KB, text/plain)
2021-05-24 01:49 UTC, John Schmitt
no flags Details

Description John Schmitt 2021-05-24 01:48:46 UTC
Description of problem:
This installation is from a live installation on a USB drive to another USB drive.

On this machine, the internally install disk is /dev/sda.

The live image is on /dev/sdb.

The destination disk is /dev/sdc.

Version-Release number of selected component:
anaconda-core-34.24.9-1.fc34.x86_64

The following was filed automatically by anaconda:
anaconda 34.24.9 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.9/site-packages/dasbus/client/handler.py", line 497, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.9/site-packages/dasbus/client/handler.py", line 477, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.9/site-packages/dasbus/client/handler.py", line 444, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.9/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation.py", line 322, in run_install_bootloader
    sync_run_task(STORAGE.get_proxy(task))
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py", line 458, in run_task
    self._task(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py", line 496, in start
    self.run_task()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/installation.py", line 372, in run_installation
    queue.start()
  File "/usr/lib64/python3.9/threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.9/site-packages/pyanaconda/threading.py", line 275, in run
    threading.Thread.run(self)
dasbus.error.DBusError: [Errno 2] No such file or directory: 'systemd-machine-id-setup'

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
cmdline_file:   BOOT_IMAGE=/syslinux/vmlinuz root=live:UUID=D32A-D3F1 rd.live.image rw quiet
dnf.librepo.log: 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         5.11.12-300.fc34.x86_64
other involved packages: python3-dasbus-1.4-3.fc34.noarch, python3-libs-3.9.2-1.fc34.x86_64
product:        Fedora
release:        Fedora release 34 (Thirty Four)
type:           anaconda
version:        34

Comment 1 John Schmitt 2021-05-24 01:48:57 UTC
Created attachment 1786222 [details]
File: anaconda-tb

Comment 2 John Schmitt 2021-05-24 01:48:59 UTC
Created attachment 1786223 [details]
File: anaconda.log

Comment 3 John Schmitt 2021-05-24 01:48:59 UTC
Created attachment 1786224 [details]
File: dbus.log

Comment 4 John Schmitt 2021-05-24 01:49:00 UTC
Created attachment 1786225 [details]
File: environ

Comment 5 John Schmitt 2021-05-24 01:49:07 UTC
Created attachment 1786226 [details]
File: journalctl

Comment 6 John Schmitt 2021-05-24 01:49:08 UTC
Created attachment 1786227 [details]
File: lsblk_output

Comment 7 John Schmitt 2021-05-24 01:49:10 UTC
Created attachment 1786228 [details]
File: lvm.log

Comment 8 John Schmitt 2021-05-24 01:49:10 UTC
Created attachment 1786229 [details]
File: nmcli_dev_list

Comment 9 John Schmitt 2021-05-24 01:49:59 UTC
Similar problem has been detected:

This installation is from a live installation on a USB drive to another USB drive.

On this machine, the internally install disk is /dev/sda.

The live image is on /dev/sdb.

The destination disk is /dev/sdc.

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
cmdline_file:   BOOT_IMAGE=/syslinux/vmlinuz root=live:UUID=D32A-D3F1 rd.live.image rw quiet
dnf.librepo.log: 
hashmarkername: anaconda
kernel:         5.11.12-300.fc34.x86_64
other involved packages: python3-dasbus-1.4-3.fc34.noarch, python3-libs-3.9.2-1.fc34.x86_64
package:        anaconda-core-34.24.9-1.fc34.x86_64
packaging.log:  18:34:14,149 INF packaging: rsync exited with code 0
product:        Fedora
reason:         dasbus.error.DBusError: [Errno 2] No such file or directory: 'systemd-machine-id-setup'
release:        Fedora release 34 (Thirty Four)
version:        34

Comment 10 Vendula Poncova 2021-05-24 09:18:40 UTC
Hello, I don't see any issues in the installation logs. Could you please try to download the ISO again and verify its checksum? It might be corrupted.

Comment 11 John Schmitt 2021-05-24 15:55:57 UTC
That sounds so unlikely since the image mounted and ran cleanly. If the image was corrupt I would have seen many other symptoms.

I was able to work around this problem by running 

systemd-machine-id-setup --commit

Comment 12 Vladimír Slávik 2021-09-23 16:50:56 UTC
*** Bug 1978583 has been marked as a duplicate of this bug. ***

Comment 13 Vladimír Slávik 2021-09-23 16:52:36 UTC
*** Bug 2006942 has been marked as a duplicate of this bug. ***

Comment 14 Vladimír Slávik 2021-09-23 16:55:53 UTC
*** Bug 1904149 has been marked as a duplicate of this bug. ***

Comment 15 Vladimír Slávik 2021-09-23 17:10:24 UTC
The bugs linked above as duplicates all appear to be the same problem. It seems (not 100%) that systemd-machine-id-setup is the first thing we try running from a chroot to the installed system (it's a prerequisite for bootloader setup). So it could be that for some reason the resulting system is corrupted, and this is finding out the hard way. One common theme is that we have all 3 independent reports from Live (one KDE). The code moved a bit around over the versions but it is still the same, so Fedora 33 or 35 does not really matter here.

Comment 16 Ben Cotton 2022-05-12 14:57:39 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 17 Ben Cotton 2022-06-07 20:05:15 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 18 Jiri Konecny 2023-05-30 13:39:46 UTC
Still happens on Fedora 38. Closing new bug as duplicate of this one too keep track of it.

Comment 19 Jiri Konecny 2023-05-30 13:40:19 UTC
*** Bug 2192134 has been marked as a duplicate of this bug. ***

Comment 20 Michael Schwendt 2023-06-02 09:08:44 UTC
> So it could be that for some reason the resulting system is corrupted,

In case of bug 2192134, no corruption or anything. Just going back within the installer at least once, like leaving the custom partitioning screen and returning to the main screen. Subsequently entering the partitioning screen again ended up with a broken installer.

And yes, I've used exactly the same USB Live stick (GNOME Workstation) to install F38 successfully afterwards.

Comment 21 Vladimír Slávik 2023-07-25 13:40:23 UTC
*** Bug 2212602 has been marked as a duplicate of this bug. ***

Comment 22 Vladimír Slávik 2023-07-25 13:41:29 UTC
Bumping seen-in-version to rawhide according to last reports.

Comment 23 Fedora Release Engineering 2023-08-16 07:04:47 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 24 sganar 2024-04-17 10:25:48 UTC
Hello,

We are seeing this error while host provisioning with Redhat Satellite
We are using liveimg i.e. RHEl ISO for provisioning where it is failing after anaconda installer starts.

anaconda 33.16.9.4 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
  File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/core/util.py", line 202, in startProgram
    preexec_fn=preexec, cwd=root, env=env, **kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/core/util.py", line 321, in _run_program
    env_prune=env_prune)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/core/util.py", line 397, in execWithRedirect
    log_output=log_output, binary_output=binary_output)[0]
  File "/usr/lib64/python3.6/site-packages/pyanaconda/core/util.py", line 378, in execInSysroot
    return execWithRedirect(command, argv, stdin=stdin, root=root)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/payload/live/payload_base.py", line 148, in _create_rescue_image
    util.execInSysroot("systemd-machine-id-setup", [])
  File "/usr/lib64/python3.6/site-packages/pyanaconda/payload/live/payload_base.py", line 139, in install
    self._create_rescue_image()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/payload/live/payload_liveimg.py", line 292, in install
    super().install()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 456, in run_task
    self._task(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 490, in start
    self.run_task()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation.py", line 406, in run_installation
    queue.start()
  File "/usr/lib64/python3.6/threading.py", line 885, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 280, in run
    threading.Thread.run(self)
FileNotFoundError: [Errno 2] No such file or directory: 'systemd-machine-id-setup': 'systemd-machine-id-setup'

Reference BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2272114


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