Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 600670

Summary: genkey segfaults
Product: Red Hat Enterprise Linux 6 Reporter: Joe Orton <jorton>
Component: perl-NewtAssignee: Joe Orton <jorton>
Status: CLOSED CURRENTRELEASE QA Contact: Radek Bíba <rbiba>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: emaldona, jorton, redhat-bugzilla
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: perl-Newt-1.08-26.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 598160 Environment:
Last Closed: 2010-11-10 22:13:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 598160    
Bug Blocks:    
Attachments:
Description Flags
simpler script that segfaults none

Description Joe Orton 2010-06-05 14:42:16 UTC
+++ This bug was initially created as a clone of Bug #598160 +++

Description of problem:
I received an email with the following:


  Certificate for hostname 'iridium', in file (or by nickname):
     /etc/pki/tls/certs/localhost.crt

  The certificate needs to be renewed; this can be done
  using the 'genkey' program.

When attempting to run genkey --days 365 localhost (this is a workstation using a self signed key) I get an error about a /etc/pki/tls/private/localhost.key existing, to remove it first and then re-run genkey. Once removed if I re-run genkey I get an immediate segfault. I just ran this on a CentOS 5.4 box moments before without a problem.

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


How reproducible:
Always

Steps to Reproduce:
1. genkey --days 365 servername
2.
3.
  
Actual results:
segfault

Expected results:
New cert

Additional info:

--- Additional comment from nathanael on 2010-06-01 11:19:52 EDT ---

Also, genkey --gdb servername is of no help as it just segfaults anyway before getting into gdb

Comment 2 RHEL Program Management 2010-06-05 15:02:55 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Elio Maldonado Batiz 2010-06-06 19:59:16 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=598160#c3

Comment 4 Elio Maldonado Batiz 2010-06-11 17:57:32 UTC
Created attachment 423352 [details]
simpler script that segfaults

This is not a bug on genkey.  This script is basically a HelloWorld that uses perl_Newt and when I run it, 'perl ./hello.pl elio', it segfaults on F-13 and not on F-12. I looked at perl_newt in F-12 &F-13 and the code is identical expect that it was rebuilt with a slighly newer version of perl in F-13.

Comment 5 Elio Maldonado Batiz 2010-06-11 18:00:04 UTC
My perl skills are a bit limited and knowledge of perl_newt more so.
Joe, do you see anything wrong with hello.pl?

Comment 6 Joe Orton 2010-06-16 13:52:31 UTC
Ah, sorry for blaming you for this unnecessarily, my bad :(

Yes this is clearly a perl-Newt issue.

Comment 11 releng-rhel@redhat.com 2010-11-10 22:13:37 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.