[ANN] Version 3.0.0-rc0

Stefan Winter stefan.winter at restena.lu
Wed Jul 17 09:14:18 CEST 2013


Hi,

(siwtching to -devel)

> If you are planning on deploying 3.0 and have an existing 2.x.x
> configuration you were planning to migrate when the 3.0 is released,
> now would be a good time to try that, and to report any issues or
> problematic behaviour changes you notice.

In recent days, it seems to be my sisyphos' job to try and shutdown
FreeRADIUS cleanly.

After falling into SEGVs on 2.x.x repeatedly, I thought I'd try 3.0
because all is shiny, new, better and different. Look what I got:

Ready to process requests.

Program received signal SIGTERM, Terminated.
0x00007ffff5d84623 in select () from /lib64/libc.so.6
(gdb) c
Continuing.
Signalled to terminate
Exiting normally.
rlm_sql (sql-dialup-hash): Removing connection pool
rlm_sql (sql-dialup-hash): Closing connection (4)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-dialup-hash): Closing connection (3)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-dialup-hash): Closing connection (2)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-dialup-hash): Closing connection (1)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-dialup-hash): Closing connection (0)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-aai-hash): Removing connection pool
rlm_sql (sql-aai-hash): Closing connection (4)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-aai-hash): Closing connection (3)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-aai-hash): Closing connection (2)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-aai-hash): Closing connection (1)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-aai-hash): Closing connection (0)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-null-acct-cops): Removing connection pool
rlm_sql (sql-null-acct-cops): Closing connection (2)
rlm_sql (sql-null-acct-cops): Closing connection (1)
rlm_sql (sql-null-acct-cops): Closing connection (0)
rlm_sql (sql-imap-hash): Removing connection pool
rlm_sql (sql-imap-hash): Closing connection (4)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-imap-hash): Closing connection (3)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-imap-hash): Closing connection (2)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-imap-hash): Closing connection (1)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-imap-hash): Closing connection (0)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-null-acct-eduroam): Removing connection pool
rlm_sql (sql-null-acct-eduroam): Closing connection (2)
rlm_sql (sql-null-acct-eduroam): Closing connection (1)
rlm_sql (sql-null-acct-eduroam): Closing connection (0)
rlm_sql (sql-null-acct-erx): Removing connection pool
rlm_sql (sql-null-acct-erx): Closing connection (2)
rlm_sql (sql-null-acct-erx): Closing connection (1)
rlm_sql (sql-null-acct-erx): Closing connection (0)
rlm_sql (sql-null-acct-dialup): Removing connection pool
rlm_sql (sql-null-acct-dialup): Closing connection (2)
rlm_sql (sql-null-acct-dialup): Closing connection (1)
rlm_sql (sql-null-acct-dialup): Closing connection (0)
rlm_sql (sql-null-lastusage): Removing connection pool
rlm_sql (sql-null-lastusage): Closing connection (2)
rlm_sql (sql-null-lastusage): Closing connection (1)
rlm_sql (sql-null-lastusage): Closing connection (0)
rlm_sql (sql-null-postauth): Removing connection pool
rlm_sql (sql-null-postauth): Closing connection (2)
rlm_sql (sql-null-postauth): Closing connection (1)
rlm_sql (sql-null-postauth): Closing connection (0)
rlm_sql (sql-userjabber-hash): Removing connection pool
rlm_sql (sql-userjabber-hash): Closing connection (4)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-userjabber-hash): Closing connection (3)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-userjabber-hash): Closing connection (2)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-userjabber-hash): Closing connection (1)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-userjabber-hash): Closing connection (0)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-smtp-hash): Removing connection pool
rlm_sql (sql-smtp-hash): Closing connection (4)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-smtp-hash): Closing connection (3)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-smtp-hash): Closing connection (2)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-smtp-hash): Closing connection (1)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-smtp-hash): Closing connection (0)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-null-staff-tacacsaccounting): Removing connection pool
rlm_sql (sql-null-staff-tacacsaccounting): Closing connection (2)
rlm_sql (sql-null-staff-tacacsaccounting): Closing connection (1)
rlm_sql (sql-null-staff-tacacsaccounting): Closing connection (0)
rlm_sql (sql-null-acct-vpn): Removing connection pool
rlm_sql (sql-null-acct-vpn): Closing connection (2)
rlm_sql (sql-null-acct-vpn): Closing connection (1)
rlm_sql (sql-null-acct-vpn): Closing connection (0)
rlm_sql (sql-webmailsso): Removing connection pool
rlm_sql (sql-webmailsso): Closing connection (4)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-webmailsso): Closing connection (3)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-webmailsso): Closing connection (2)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-webmailsso): Closing connection (1)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-webmailsso): Closing connection (0)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-webmailsso-users): Removing connection pool
rlm_sql (sql-webmailsso-users): Closing connection (4)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-webmailsso-users): Closing connection (3)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-webmailsso-users): Closing connection (2)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-webmailsso-users): Closing connection (1)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-webmailsso-users): Closing connection (0)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-vpn-hash): Removing connection pool
rlm_sql (sql-vpn-hash): Closing connection (4)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-vpn-hash): Closing connection (3)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-vpn-hash): Closing connection (2)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-vpn-hash): Closing connection (1)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-vpn-hash): Closing connection (0)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-eduroam-hash): Removing connection pool
rlm_sql (sql-eduroam-hash): Closing connection (4)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-eduroam-hash): Closing connection (3)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-eduroam-hash): Closing connection (2)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-eduroam-hash): Closing connection (1)
rlm_sql_mysql: Socket destructor called, closing socket
rlm_sql (sql-eduroam-hash): Closing connection (0)
rlm_sql_mysql: Socket destructor called, closing socket

Program received signal SIGSEGV, Segmentation fault.
modcallable_free (pc=pc at entry=0x7fffffffe3b8) at src/main/modcall.c:2343
2343                            next = loop->next;
(gdb) print loop
$1 = (modcallable *) 0x2527285345554c41
(gdb) print *loop
Cannot access memory at address 0x2527285345554c41
(gdb)

Note that this is the EXACT same error I get when trying to shut down
the most recent 2.x.x branch. Yes, the same invalid hex pointer.
Byte-by-byte.

So whatever the problem in 2.x.x is, it has survived the numerous
changes in the master branch.

Needless to say... anyone wanting to use FreeRADIUS 2.2.1 or 3.0.0 with
systemd will suffer from this. I think this is a bit of a showstopper
for a 3.0 release.

Greetings,

Stefan Winter

> 
> To provide a single point to test against, the release_3_0_0_rc0 tag has been created.
> 
> Features and behaviours changes since release_3_0_0_beta1:
> * Empty xlat expansions are no longer substituted with "_".
> * Empty string expansions are no longer treated as failures, though actual failures and invalid operations will continue to bubble up and be translated into return codes. This is a change from 2.x.x where they were ignored.
> * Update sections support both types of exec, those which use the output of the program to create an attribute value, and those which use the output to create multiple value pairs.
> * Config item names have now been unified. In most cases the server will tell you the new name of the config item.
> * rlm_ldap now only registers LDAP-Group for the default instance. It used to register it for every instance which caused inconsistent behaviour.
> * New raddb structure. See raddb/README.rst for details.
> * Support for ${.:instance} which returns the instance name of a section and ${.:name} which returns the name of a section. Useful when used with relative paths.
> * Add support for bulk loading dynamic clients from LDAP.
> * Don't re-add default symlinks in raddb/sites-enabled/ raddb/mods-enabled/
>  
> Bug fixes:
> * Attribute instance selection [<n>] [#] [*] have been re-added to the xlat parser.
> * PCRE headers and libraries are now detected in a wider range of locations.
> * Symbols for PCRE drop in functions are now used in preference to posix functions, previously they weren't and this caused segfaults.
> * Fixes in the FreeTDS driver to avoid double frees.
> * Fix list to list copies in update sections.
> * Fix exec in update statements.
> * Fix use of double quoted strings in radclient -f files.
> * Many packaging fixes and cleanups.
> * Send Access-Rejects when using radsec.
> * Various radsec fixes to avoid crashes.
> * -HUP now works again.
> * Don't wait on execs to finish if they're marked as wait = 'no'.
> * Remove support for ranges in comparisons with NAS-Port-ID, these were broken, duplicative, and caused crashes.
> * Don't crash when parsing 64bit integer values from text
> * Expand ${...} before parsing conditions
> * Fix foreach
> * Be more lenient about MS-CHAP identity mismatches.
> 
> The tarball is available here:
> https://github.com/FreeRADIUS/freeradius-server/archive/release_3_0_0_beta1.tar.gz
> 
> Arran Cudbard-Bell <a.cudbardb at freeradius.org>
> FreeRADIUS Development Team
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 


-- 
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et
de la Recherche
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

Tel: +352 424409 1
Fax: +352 422473

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20130717/ab5d4f03/attachment.pgp>


More information about the Freeradius-Devel mailing list