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 1189394

Summary: radiusd segfaults after update
Product: Red Hat Enterprise Linux 6 Reporter: David Spurek <dspurek>
Component: freeradiusAssignee: Nikolai Kondrashov <nikolai.kondrashov>
Status: CLOSED ERRATA QA Contact: Jaroslav Aster <jaster>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.7CC: dpal, ebenes, jaster, pkis
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: freeradius-2.2.6-4.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-22 06:17:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
core dump file none

Description David Spurek 2015-02-05 08:21:59 UTC
Description of problem:
radiusd segfaults. freeradius-mysql has to be installed

Version-Release number of selected component (if applicable):
freeradius-2.2.6-3.el6
freeradius-mysql-2.2.6-3.el6

How reproducible:
always

Steps to Reproduce:
1.install freeradius and freeradius-mysql
2.
3.

Actual results:
segfault

Expected results:
radiusd is started

Additional info:
radiusd -X
...
 Module: Instantiating eap-tls
   tls {
   	rsa_key_exchange = no
   	dh_key_exchange = yes
   	rsa_key_length = 512
   	dh_key_length = 512
   	verify_depth = 0
   	CA_path = "/etc/raddb/certs"
   	pem_file_type = yes
   	private_key_file = "/etc/raddb/certs/server.pem"
   	certificate_file = "/etc/raddb/certs/server.pem"
   	CA_file = "/etc/raddb/certs/ca.pem"
   	private_key_password = "whatever"
   	dh_file = "/etc/raddb/certs/dh"
   	fragment_size = 1024
   	include_length = yes
   	check_crl = no
   	cipher_list = "DEFAULT"
   	ecdh_curve = "prime256v1"
    cache {
    	enable = no
    	lifetime = 24
    	max_entries = 255
    }
    verify {
    }
    ocsp {
    	enable = no
    	override_cert_url = yes
    	url = "http://127.0.0.1/ocsp/"
    	use_nonce = yes
    	timeout = 0
    	softfail = no
    }
   }
Segmentation fault

Comment 1 David Spurek 2015-02-05 08:22:34 UTC
Created attachment 988438 [details]
core dump file

Comment 2 Nikolai Kondrashov 2015-02-05 13:18:55 UTC
It seems SSL context creation fails, returning NULL context, FreeRADIUS doesn't verify that and tries to use it.

Comment 3 Nikolai Kondrashov 2015-02-11 13:49:41 UTC
This happens because SSL_library_init is not called due to my fix to OpenSSL version checking and a confusing function name.

Comment 4 Nikolai Kondrashov 2015-02-11 16:14:25 UTC
Fix accepted upstream: https://github.com/FreeRADIUS/freeradius-server/pull/906

Comment 8 Nikolai Kondrashov 2015-04-17 12:27:59 UTC
This is an inter-release packaging-related issue, doc text is not necessary.

Comment 10 errata-xmlrpc 2015-07-22 06:17:07 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/RHSA-2015-1287.html