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 1272348 - ksc crashes when run without arguments
Summary: ksc crashes when run without arguments
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ksc
Version: 7.3
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: 7.3
Assignee: Stanislav Kozina
QA Contact: Chunyu Hu
Marie Hornickova
URL:
Whiteboard:
: 1318914 (view as bug list)
Depends On:
Blocks: 1318914 1370477
TreeView+ depends on / blocked
 
Reported: 2015-10-16 07:47 UTC by Akemi Yagi
Modified: 2016-11-04 03:54 UTC (History)
6 users (show)

Fixed In Version: ksc-0.9.15-1.el7.noarch
Doc Type: Release Note
Doc Text:
*ksc* now returns an error instead of crashing when running without mandatory arguments Previously, the *ksc* tool terminated unexpectedly when running without the mandatory arguments. With this update, *ksc* returns an error message and exits gracefully in the described situation.
Clone Of:
: 1318914 (view as bug list)
Environment:
Last Closed: 2016-11-04 03:54:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch to add rheh67 to ksc (700 bytes, patch)
2015-10-16 07:49 UTC, Akemi Yagi
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2334 0 normal SHIPPED_LIVE ksc bug fix update 2016-11-03 13:45:02 UTC

Description Akemi Yagi 2015-10-16 07:47:29 UTC
Description of problem:
When ksc is run on a RHEL 6.7 system, it produces the following error:

Traceback (most recent call last):
  File "/usr/share/ksc/ksc.py", line 449, in <module>
    k.main()
  File "/usr/share/ksc/ksc.py", line 130, in main
    self.releasedir = choices['rhel{0}'.format(get_release_name())]
KeyError: 'rhel6.7'

Version-Release number of selected component (if applicable):
ksc-0.9.14-1.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Run ksc on RHEL 6.7
2.
3.

Actual results:
See above

Expected results:
No error

Additional info:

Comment 1 Akemi Yagi 2015-10-16 07:49:21 UTC
Created attachment 1083531 [details]
Patch to add rheh67 to ksc

Comment 2 Akemi Yagi 2015-10-16 07:50:16 UTC
A patch submitted.

Comment 4 Stanislav Kozina 2016-04-28 09:41:29 UTC
Akemi,

Thank you for your report. This happens with ksc version 0.9.14 on both rhel-6 and rhel-7. I'm fixing this in upcoming release of ksc-0.9.15.

Comment 5 Stanislav Kozina 2016-04-28 09:44:47 UTC
*** Bug 1318914 has been marked as a duplicate of this bug. ***

Comment 9 errata-xmlrpc 2016-11-04 03:54:34 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-2016-2334.html


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