Bug 1424730 - reboot --kexec in kickstart config yields python exception
Summary: reboot --kexec in kickstart config yields python exception
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 25
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2017-02-18 21:13 UTC by Georg Sauthoff
Modified: 2017-12-12 10:17 UTC (History)
6 users (show)

Clone Of:
Last Closed: 2017-12-12 10:17:19 UTC

Attachments (Terms of Use)

Description Georg Sauthoff 2017-02-18 21:13:30 UTC
Description of problem:
When putting the `reboot --kexec` directive into a kickstart ks.cfg file anaconda reports an unknown error due to a python exception.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. create a ks.cfg that ends with: reboot --kexec
2. put it on a device labeled OEMDRV
3. connect that device and boot via Fedora-Server-dvd-x86_64-25-1.3.iso

Actual results:
An unknown error has occurred
anaconda 25.20.8-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/pyanaconda/kexec.py", line 46, in run_grubby
    boot_info = _BootInfo()
  File "/usr/lib64/python3.5/site-packages/pyanaconda/kexec.py", line 89, in setup_kexec
    boot_info = run_grubby()
TypeError: __new__() missing 4 required positional arguments: 'kernel', 'initrd', 'root', and 'args'

Expected results:
A clean boot of the newly installed system via kexec after the installation is finished.

Additional info:
reboot description

I also have the `text` directive in my ks.cfg. Perhaps this simplifies capturing the error message.

Comment 1 Fedora End Of Life 2017-11-16 19:13:31 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. 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 Fedora  'version'
of '25'.

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

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 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, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2017-12-12 10:17:19 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 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. If you experience problems, please add a comment to this

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

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