Bug 1372284 - Syntax error in kickstart kills anaconda but is not getting logged or shown
Summary: Syntax error in kickstart kills anaconda but is not getting logged or shown
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 8.1
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-01 10:30 UTC by Fabian Deutsch
Modified: 2022-12-22 22:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-09 15:36:27 UTC
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)
Error which is only shown when anaconda is launched manually from bash (9.36 KB, image/png)
2016-09-01 10:30 UTC, Fabian Deutsch
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-35269 0 None None None 2022-12-22 22:24:03 UTC

Description Fabian Deutsch 2016-09-01 10:30:16 UTC
Created attachment 1196695 [details]
Error which is only shown when anaconda is launched manually from bash

Description of problem:
If there is a kickstart passed to anaconda using inst.ks, and this kickstart contains a syntax error, then anaconda will silently quit, this means a) it does not appear on screen b) it does not log this failure

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

How reproducible:
always

Steps to Reproduce:
1. 
2.
3.

Actual results:


Expected results:


Additional info:
Kickstart:

    install
    lang en_US.UTF-8
    keyboard us
    rootpw  --plaintext …
    timezone --utc …
    #rootpw  --iscrypted …
    sshpw --username=root …
    selinux --permissive
    ######################################################################
    #ignoredisk --drives=/dev/disk/by-path/pci-*-fc-*
    %include /tmp/ignoredisk.ks
    %pre
    echo "# Ignore FC drives if present" > /tmp/ignoredisk.ks  
…
    %end
    ######################################################################
    # partitioning - nuke and start fresh
    echo "1" >> /tmp/debug
    zerombr

    bootloader --location=mbr --append="intel_iommu=on"
     
    reboot
    liveimg --url=http://…/RHVH/latest-squashfs
     
    firewall --service=ssh
    services --enabled=sshd
     
    %post --log=/root/ks.post.log
    set -x
    echo "RUNNING: /usr/sbin/imgbase -------"
…
    %end

Comment 1 Sandro Bonazzola 2019-07-02 13:09:33 UTC
Didn't make it in RHEL 7, moving out to RHEL 8

Comment 2 Samantha N. Bueno 2020-09-09 15:36:27 UTC
This should be fixed now.


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