3.0.4 release candidate 2
Stefan Winter
stefan.winter at restena.lu
Thu Aug 28 08:58:18 CEST 2014
Hi again,
looking a the code inside rad_mkdir, it realises that the directory
exists, but then tries a chmod() with hard-wired permissions to 0700
(rlm_linelog.c harwired this value) (why?) which fails (why, I don't
know, I'm root after all).
That chmod() wasn't done in earlier versions; used stat() and returned 0
without making a fuss.
Greetings,
Stefan Winter
On 28.08.2014 08:35, Stefan Winter wrote:
> Hi,
>
>> ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-3.0.4rc2.tar.gz
>>
>> After a few months of hard work, this should be the final release
>> candidate. Please test it.
>>
>> We don't want any last-minute "oops" marring the release.
>>
>> The list of changed items is long. A number of small bug fixes, and a
>> number of useful new features. We've also added more tests, to be sure
>> that future releases don't go "backwards" in functionality and stability.
>
> Hm, this doesn't work so well when it comes to my invocation of rlm_linelog:
>
> (24) linelog : EXPAND
> %{%{Acct-Status-Type}:-%{%{reply:Packet-Type}:-format}}
> (24) linelog : --> Access-Reject
> (24) linelog : EXPAND /var/log/radius/activity.log
> (24) linelog : --> /var/log/radius/activity.log
> (24) ERROR: linelog : rlm_linelog: Failed to create directory
> /var/log/radius: Operation not permitted
> (24) [linelog] = fail
>
> This was running as root with -X.
>
> /var/log/radius exists (since months) and does not need to be created.
> Trying to do so is bound to fail.
>
> Reverting to my current production version (which is a 3.0.2 with custom
> patches) does not have the same behaviour, it logs to
> /var/log/radius/activity.log as it should.
>
> Greetings,
>
> Stefan Winter
>
>
>
> -
> 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
PGP key updated to 4096 Bit RSA - I will encrypt all mails if the
recipient's key is known to me
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC0DE6A358A39DC66
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x8A39DC66.asc
Type: application/pgp-keys
Size: 3243 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140828/25136a86/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140828/25136a86/attachment.pgp>
More information about the Freeradius-Users
mailing list