On Fri, 20 Aug 2010 13:51:24 +0200 Julien Valroff <jul...@kirya.net> wrote:
> Le vendredi 20 août 2010 à 12:09:01 (+0200), Stevan Bajić a écrit : > > Date: Fri, 20 Aug 2010 12:09:01 +0200 > > From: Stevan Bajić <ste...@bajic.ch> > > To: dspam-user@lists.sourceforge.net > > Subject: Re: [Dspam-user] dspam on debian lenny > > > > On Fri, 20 Aug 2010 09:13:58 +0200 > > Julien Valroff <jul...@kirya.net> wrote: > > > > [...] > > > For completeness, I had the following errors in my logs: > > > > > > Aug 20 08:27:41 nix dspam[16296]: Unable to open file for reading: > > > /etc/dspam/dspam.d//mysql.conf: Permission denied > > > Aug 20 08:27:41 nix dspam[16296]: Unable to open file for reading: > > > /etc/dspam/dspam.d//hash.conf: Permission denied > > > > > I can not reproduce that segmentation fault on my end but anyway... looking > > at the code that does the split config stuff I see a bunch of issues that > > could > > be fixed. I have attached to this mail a patch that IMHO should fix the > > issue. Can you apply the patch and test if you still have that crash? > > I confirm the patch fixes the issue: > > jul...@nix:~$ ls -l /etc/dspam/ > total 100 > -rw-r--r-- 1 root root 17 aoû 18 2009 admins > -rw-r--r-- 1 root root 1453 aoû 18 2009 dspam-apache2.conf > -rw-r----- 1 dspam julien 37020 aoû 20 11:42 dspam.conf > drwxr-xr-x 2 root root 4096 aoû 20 13:46 dspam.d > -rw-r--r-- 1 root root 943 aoû 18 14:32 dspam_notify.conf > -rwx------ 1 dspam dspam 648 jui 31 15:04 extlookup > -rw-r--r-- 1 root root 17168 aoû 15 2009 rgb.txt > -rw-r--r-- 1 root root 564 jan 18 2010 subadmins > drwxr-xr-x 10 root root 4096 aoû 20 13:46 templates > drwxr-xr-x 2 root root 4096 aoû 20 13:46 txt > -rw-r--r-- 1 root root 7027 avr 25 16:11 webfrontend.conf > jul...@nix:~$ ls -l /etc/dspam/dspam.d > total 12 > -rw-r----- 1 dspam dspam 2494 jui 31 19:30 extlookup.conf > -rw-r----- 1 dspam dspam 2923 aoû 7 07:51 hash.conf > -rw-r----- 1 dspam dspam 2078 déc 30 2009 mysql.conf > jul...@nix:~$ dspam_stats > Unable to read dspam.conf > > Tested with the www-data user as well with success. > > Thanks once again for your help. > No problem. > Sebastian: I have uploaded packages included Stevan's patch to: > http://alioth.debian.org/~julien-guest/dspam/ > Would you please also test them? > > Cheers, > Julien > > -- > Julien Valroff <jul...@kirya.net> > http://www.kirya.net > GPG key: 4096R/290D20C5 > 092F 4CB5 5F19 E006 1CFD B489 D32B 8D66 290D 20C5 > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Dspam-user mailing list > Dspam-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspam-user ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user