View Issue Details

IDProjectCategoryView StatusLast Update
0015846CentOS-7pykickstartpublic2019-02-19 18:18
ReporterPUCKfcab 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version7.6.1810 
Target VersionFixed in Version 
Summary0015846: ksvalidator exists with 0 status even when error is found
DescriptionThe mapage for ksvalidator(1) says:

EXIT STATUS
       ksvalidator returns 0 on success, and 1 if INFILE does not exist or there is an error parsing the kickstart
       file.

But, in fact, it exits with a zero status up a failure:

$ ksvalidator example.ks.cfg
The following problem occurred on line 50 of the kickstart file:

The part/partition and autopart commands can't be used at the same time

[breichert@localhost CD-install]$ echo $?
0

This is from pykickstart-1.99.66.19-2.el7.noarch
Steps To Reproducecreate an example ks.cfg file with both of these directives:

part swap --recommended
autopart --type=plain --fstype=xfs

Run ksvalidator, and observe the exit status
TagsNo tags attached.
abrt_hash
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-02-19 18:18 PUCKfcab New Issue