RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1155955 - Missing addon results in a traceback when %addon header options are specified
Summary: Missing addon results in a traceback when %addon header options are specified
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.1
Hardware: All
OS: Linux
unspecified
high
Target Milestone: beta
: 7.1
Assignee: Martin Kolman
QA Contact: Release Test Team
URL:
Whiteboard:
: 1166564 (view as bug list)
Depends On: 1155026
Blocks: 1028479
TreeView+ depends on / blocked
 
Reported: 2014-10-23 09:03 UTC by Martin Kolman
Modified: 2015-03-05 14:03 UTC (History)
11 users (show)

Fixed In Version: anaconda-19.31.110-1
Doc Type: Bug Fix
Doc Text:
Clone Of: 1155026
Environment:
Last Closed: 2015-03-05 14:03:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
/var/log/messages file post installation (267.65 KB, text/plain)
2014-11-21 14:00 UTC, IBM Bug Proxy
no flags Details
anaconda-ks.cfg (1.10 KB, text/plain)
2014-11-21 14:00 UTC, IBM Bug Proxy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0312 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2015-03-05 17:35:22 UTC

Description Martin Kolman 2014-10-23 09:03:13 UTC
+++ This bug was initially created as a clone of Bug #1155026 +++

Description of problem:
When an Anaconda/Initial Setup addon is missing in the environment and the kickstart file contains an %addon section with some header option specified (like: %addon com_example_foo --argument='example'), parsing such kickstart results in an error. That is a bug because a missing addon shouldn't trigger any tracebacks as its %addon kickstart section can be simply ignored.

--- Additional comment from Fedora Blocker Bugs Application on 2014-10-21 11:40:51 CEST ---

Proposed as a Freeze Exception for 21-beta by Fedora user vpodzime using the blocker tracking app because:

 This bug causes the Initial Setup to crash not allowing user creation and other things during the first boot.

--- Additional comment from Martin Kolman on 2014-10-22 13:36:16 CEST ---

I'll just ad that due to this bug Initial Setup will not only not be shown on first start after install but it will also never be disabled. This means it will try to start on every boot just to crash, potentially slowing down the boot a bit and maybe also introducing some interruptions to the Plymouth boot screen.

--- Additional comment from Adam Williamson (Red Hat) on 2014-10-22 19:56:23 CEST ---

Discussed at 2014-10-22 freeze exception review meeting: http://meetbot.fedoraproject.org/fedora-blocker-review/2014-10-22/f21-blocker-review.2014-10-22-16.03.log.txt . For now we're rejecting this, but we're open to a re-proposal.

It's somewhat unclear from the description whether a typical deployment of any Fedora media are going to hit this, or if it only hits custom use of initial-setup which none of our media do. If you can only hit it by using a custom kickstart that specifies %addon we're inclined to reject it, because we don't think that's a very common thing to do and not worth breaking freeze for at this point.

If you'd like us to re-consider this, please re-propose with more details as to why it's worth breaking freeze to fix this. thanks!

--- Additional comment from Vratislav Podzimek on 2014-10-23 10:54:39 CEST ---

(In reply to Adam Williamson (Red Hat) from comment #3)
> Discussed at 2014-10-22 freeze exception review meeting:
> http://meetbot.fedoraproject.org/fedora-blocker-review/2014-10-22/f21-
> blocker-review.2014-10-22-16.03.log.txt . For now we're rejecting this, but
> we're open to a re-proposal.
> 
> It's somewhat unclear from the description whether a typical deployment of
> any Fedora media are going to hit this, or if it only hits custom use of
> initial-setup which none of our media do. If you can only hit it by using a
> custom kickstart that specifies %addon we're inclined to reject it, because
> we don't think that's a very common thing to do and not worth breaking
> freeze for at this point.
> 
> If you'd like us to re-consider this, please re-propose with more details as
> to why it's worth breaking freeze to fix this. thanks!
Okay guys, let me express it more clearly:
Initial Setup doesn't run on default installation where it is supposed to run due to this bug. The kdump anaconda addon has been added to the installation images (and it's UI can be enabled by inst.kdump_addon=on) which results in an %addon section being written out to every installation's /root/anaconda-ks.cfg file which is then processed by the Initial Setup. Due to this bug IS crashes and leaves itself enabled so it runs and crashes on every boot. If no user account is created in the installation process, no user can be created before users get to KDM/XDM/?DM.

This doesn't affect GNOME because Initial Setup is not installed together with GNOME as that provides its own initial setup utility.

Re-proposing as I really think this is worth fixing as FE.

Comment 1 Martin Kolman 2014-10-23 09:04:16 UTC
This breaks RHEL7 Initial Setup in the same way as the F21 IS.

Comment 4 Adam Williamson 2014-10-25 14:18:57 UTC
please be careful to remove Fedora 'metadata' when cloning to RHEL, thanks :)

Comment 5 Martin Banas 2014-11-20 07:36:20 UTC
This should be fixed on beta.

Comment 6 David Shea 2014-11-21 13:51:33 UTC
*** Bug 1166564 has been marked as a duplicate of this bug. ***

Comment 7 IBM Bug Proxy 2014-11-21 14:00:35 UTC
Created attachment 959746 [details]
/var/log/messages file post installation

default comment by bridge

Comment 8 IBM Bug Proxy 2014-11-21 14:00:36 UTC
Created attachment 959747 [details]
anaconda-ks.cfg

default comment by bridge

Comment 10 Alexander Todorov 2014-11-26 14:34:59 UTC
anaconda-19.31.111-1

Tested with ks.cfg containing:

%addon org_fedora_hello_word --reverse
Text goes here
%end


the org_fedora_hello_world addon is not present. 

Results:
Installation proceeds in accordance with kickstart instructions. Moving to VERIFIED.

Comment 11 IBM Bug Proxy 2014-12-16 16:00:33 UTC
------- Comment From ssant.com 2014-12-16 15:55 EDT-------
Verified with beta build.

Comment 13 errata-xmlrpc 2015-03-05 14:03:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0312.html


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