Bug#347852: [Pkg-dspam-misc] Bug#347852: dspam: shouldn't SEGV when it gets "permission denied" from a command

2006-01-13 Thread SR, ESC
Le ven 2006-01-13 a 03:39:49 -0500, Matthijs Mohlmann <[EMAIL PROTECTED]> a dit:
> 
> Hi,
> 
> This needs idd a bit investigation :) Well you need to chown the
> configuration in /etc/dspam/dspam.d/* to the user dspam and then it
> don't give a segfault anymore.

ok.

> If /etc/dspam/dspam.conf has wrong permissions then dspam refuses to
> start up without a segfault, when one of the included files has wrong
> permissions then it dspam segfaults. There is a bug in the
> add-config-dir patch that needs to be addressed. The bug doesn't hurt
> that much and I'll try to fix this.

ok. thanks

> Regards,
> 
> Matthijs Mohlmann

see you,
sr/

-- 
http://www.nuit.ca/ http://pentangle.nuit.ca/ezine/vol_x/x0305.html
http://simonraven.nuit.ca/
ARA: http://www.antiracistaction.ca/
Heathens Against Hate: http://home.earthlink.net/~wodensharrow/hah.html


pgpVKbCMoghPO.pgp
Description: PGP signature


Bug#347852: [Pkg-dspam-misc] Bug#347852: dspam: shouldn't SEGV when it gets "permission denied" from a command

2006-01-13 Thread Matthijs Mohlmann
simon raven wrote:
> Package: dspam
> Version: 3.6.2-2
> Severity: normal
> Tags: experimental
> 
> =
> Xsome_msg_idX: dspam_spamcheck transport output: 19157: [01/13/2006 
> 00:34:55] Unable to open file for reading: /etc/dspam/dspam.conf: Permission 
> denied
> 2006-01-13 00:34:55 Xexim_msg_idX ** [EMAIL PROTECTED] F=<[EMAIL 
> PROTECTED]> P=<[EMAIL PROTECTED]> R=dspam_router T=dspam_spamcheck:
>  Child process of dspam_spamcheck transport (running command "/usr/bin/dspam 
> --deliver=innocent --user ${lc:[EMAIL PROTECTED] -f '$sender_
> address' -- %u") was terminated by signal 11 (Segmentation fault)
> =
> 
> sure i have config issues, i'm working on it right at this moment, but it 
> shouldn't segfault when it gets that error, either ;).
> 
> simon
> 

Hi,

This needs idd a bit investigation :) Well you need to chown the
configuration in /etc/dspam/dspam.d/* to the user dspam and then it
don't give a segfault anymore.

If /etc/dspam/dspam.conf has wrong permissions then dspam refuses to
start up without a segfault, when one of the included files has wrong
permissions then it dspam segfaults. There is a bug in the
add-config-dir patch that needs to be addressed. The bug doesn't hurt
that much and I'll try to fix this.

Regards,

Matthijs Mohlmann


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]