|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Olli Hauer (ohauer
gmx.de)
Date: Mon Mar 19 2007 - 17:30:20 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 2007-03-19 at 15:53 -0600, Bob Beck wrote:
> * Olli Hauer <ohauer
gmx.de> [2007-03-19 15:41]:
> > On Sun, 2007-03-18 at 23:38 -0400, jared r r spiegel wrote:
> > > On Sun, Mar 18, 2007 at 12:33:23PM -0600, Bob Beck wrote:
> > > > * Olli Hauer <ohauer
gmx.de> [2007-03-18 08:00]:
> > > > > I had some core dumps during convert from old 4.0 to new 4.1 db.
> > > > >
> > > > > This fixed the core dump during convert.
> > > > >
> > > > > --- /usr/src/libexec/spamd/grey.c-patch1 Sun Mar 18 13:24:13 2007
> > > > > +++ /usr/src/libexec/spamd/grey.c Sun Mar 18 13:27:11 2007
> > > > > 
-1088,7 +1088,7 
> > > > > exit(1);
> > > > > }
> > > > > memset(&hashinfo, 0, sizeof(hashinfo));
> > > > > - db2 = dbopen(sfn, O_EXLOCK|O_RDWR, 0600, DB_HASH, &hashinfo);
> > > > > + db2 = dbopen(sfn, O_EXLOCK|O_RDWR|O_CREAT, 0600, DB_HASH, &hashinfo);
> > >
> > > by any chance are you running spamd(8) on freebsd?
> > >
> > No, but the database i want convert was a copy from a freebsd system
> > running spamd from OpenBSD 4.0 plus some current code.
> > I want to port the very cool new features to freebsd, so i test current
> > at my soekris.
>
> Sounds terrifying. From what I've heard of freebsd's db_hash
> I really doubt it's compatible with the one we're using.
>
> -Bob
That is a possible reason, BTW. i notice some cosmetic
in-consistence at the parameters.
Except spamlogd all others use lower 'd' for debug mode.
Parameter 'r' is still present in code but removed from man pages
spamd(8)
-olli
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]