Bug 2383355

Summary: pyanaconda.errors.ExitError: /usr/libexec/anaconda/run-in-new-session exited with status 1
Product: [Fedora] Fedora Reporter: Peng Fan <peng.fan>
Component: anacondaAssignee: anaconda-maint
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: anaconda-maint, kkoukiou, pbrobinson, peng.fan, pwhalen, w
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Unspecified   
Whiteboard: abrt_hash:1bbeb60bcde329ec9e6b0a5c884bc37fd386a0e7aa2de669be37c80549f3b70c;VARIANT_ID=iot;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-07-28 06:00:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1269538    
Attachments:
Description Flags
File: anaconda-tb
none
File: backtrace
none
File: os_info
none
File: environ
none
File: syslog
none
File: description
none
File: storage.log
none
File: packaging.log
none
File: program.log
none
File: nmcli_dev_list
none
File: anaconda.log
none
File: lsblk_output
none
File: dbus.log
none
File: packaging.log none

Description Peng Fan 2025-07-25 06:01:12 UTC
Description of problem:

Put Fedora-IoT-ostree-42-20250605.0.aarch64.iso in usb-disk and booting on i.MX8MN-EVK(AARCH64). Meet below error.


Version-Release number of selected component:
anaconda-core-42.27.12-1.fc42.aarch64


The following was filed automatically by anaconda:
anaconda 42.27.12 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.13/site-packages/pyanaconda/core/process_watchers.py", line 81, in _raise_exit_error
    raise ExitError(", ".join(exn_message))
  File "/usr/lib64/python3.13/site-packages/pyanaconda/core/process_watchers.py", line 117, in _sigchld_handler
    cls._raise_exit_error(exit_statuses)
  File "/usr/lib/python3.13/site-packages/dasbus/client/handler.py", line 57, in sync_call
    return connection.call_sync(
  File "/usr/lib/python3.13/site-packages/dasbus/client/handler.py", line 480, in _get_method_reply
    result = call(*args, **kwargs)
  File "/usr/lib/python3.13/site-packages/dasbus/client/handler.py", line 518, in _handle_method_error
    raise error
  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/lib/python3.13/site-packages/dasbus/client/handler.py", line 332, in _get_specification
    xml = self._call_method(
  File "/usr/lib/python3.13/site-packages/dasbus/client/handler.py", line 212, in specification
    self._specification = self._get_specification()
  File "/usr/lib/python3.13/site-packages/dasbus/client/proxy.py", line 211, in _get_interface
    self._handler.specification.members
  File "/usr/lib/python3.13/site-packages/dasbus/client/proxy.py", line 161, in __getattr__
    member = self._get_member(self._get_interface(name), name)
  File "/usr/lib64/python3.13/site-packages/pyanaconda/ui/tui/spokes/language_support.py", line 80, in __init__
    self._selected = self._l12_module.Language
  File "/usr/lib64/python3.13/site-packages/pyanaconda/ui/tui/hubs/__init__.py", line 76, in setup
    spoke = spoke_class(self.data, self.storage, self.payload)
  File "/usr/lib64/python3.13/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 64, in setup
    should_schedule = TUIHub.setup(self, environment)
  File "/usr/lib64/python3.13/site-packages/pyanaconda/ui/tui/__init__.py", line 204, in setup
    should_schedule = obj.setup(self.ENVIRONMENT)
  File "/usr/bin/anaconda", line 600, in <module>
    anaconda.intf.setup(ksdata)
pyanaconda.errors.ExitError: /usr/libexec/anaconda/run-in-new-session exited with status 1

Additional info:
ks.cfg:         ostreesetup --osname=fedora-iot --url=file:///run/install/repo/ostree/repo --ref=fedora/stable/aarch64/iot --remote=fedora-iot --nogpg
comment:        
cmdline:        /usr/bin/python3  /usr/bin/anaconda
executable:     /usr/bin/anaconda
hashmarkername: anaconda
product:        Fedora
package:        anaconda-core-42.27.12-1.fc42.aarch64
reason:         pyanaconda.errors.ExitError: /usr/libexec/anaconda/run-in-new-session exited with status 1
type:           anaconda
release:        Fedora release 42 (Adams)
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-42-IoT-aarch64 inst.ks=hd:LABEL=Fedora-42-IoT-aarch64:/osbuild.ks rd.live.check quiet
addons:         com_redhat_kdump
kernel:         6.14.9-300.fc42.aarch64
version:        42
other involved packages: anaconda-tui-42.27.12-1.fc42.aarch64, python3-dasbus-1.7-9.fc42.noarch

Comment 1 Peng Fan 2025-07-25 06:01:17 UTC
Created attachment 2098196 [details]
File: anaconda-tb

Comment 2 Peng Fan 2025-07-25 06:01:19 UTC
Created attachment 2098197 [details]
File: backtrace

Comment 3 Peng Fan 2025-07-25 06:01:20 UTC
Created attachment 2098198 [details]
File: os_info

Comment 4 Peng Fan 2025-07-25 06:01:21 UTC
Created attachment 2098199 [details]
File: environ

Comment 5 Peng Fan 2025-07-25 06:01:23 UTC
Created attachment 2098200 [details]
File: syslog

Comment 6 Peng Fan 2025-07-25 06:01:24 UTC
Created attachment 2098201 [details]
File: description

Comment 7 Peng Fan 2025-07-25 06:01:25 UTC
Created attachment 2098202 [details]
File: storage.log

Comment 8 Peng Fan 2025-07-25 06:01:27 UTC
Created attachment 2098203 [details]
File: packaging.log

Comment 9 Peng Fan 2025-07-25 06:01:28 UTC
Created attachment 2098204 [details]
File: program.log

Comment 10 Peng Fan 2025-07-25 06:01:29 UTC
Created attachment 2098205 [details]
File: nmcli_dev_list

Comment 11 Peng Fan 2025-07-25 06:01:31 UTC
Created attachment 2098206 [details]
File: anaconda.log

Comment 12 Peng Fan 2025-07-25 06:01:32 UTC
Created attachment 2098207 [details]
File: lsblk_output

Comment 13 Peng Fan 2025-07-25 06:01:33 UTC
Created attachment 2098208 [details]
File: dbus.log

Comment 14 Peng Fan 2025-07-25 06:01:35 UTC
Created attachment 2098209 [details]
File: packaging.log

Comment 15 Peter Robinson 2025-07-25 14:43:11 UTC
This is because the device doesn't implement UEFI set variable. It should offer an option to continue.

It's been dealt with upstream with the following PR

https://github.com/rhboot/efivar/pull/282

But I'm not sure efivar has had a new release or that patch hasn't been pulled in yet.

Comment 16 Peter Robinson 2025-07-25 14:48:51 UTC
Sorry, comment was on the wrong bug.

Comment 17 Paul Whalen 2025-07-25 14:52:09 UTC
This should be fixed in anaconda-42.27.13-1.fc42 and included in:

https://kojipkgs.fedoraproject.org/compose/iot/Fedora-IoT-42-20250724.1/compose/IoT/aarch64/iso/Fedora-IoT-ostree-42-20250724.1.aarch64.iso