Michael Loßin on Wed, 6 Feb 2002 19:31:05 +0100 (CET)(envelope-from owner-apsfilter-current@apsfilter.org)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Bug in FreeBSD apsfilter-7.2.1--/etc/apsfilter/basedir point


On 06-Feb-02 John Merryweather Cooper wrote:
> Subject says it all.  :)  Even if I change the basedir symlink to point 
> to ${LOCALBASE}/share/apsfilter, on the very next invocation of SETUP 
> the basedir symlink is set to point to itself.  :)

That's not a bug, that's a feature :)

No really, SETUP re-creates the link to point to the correct
directory, and if that messes up your particular setup, I guess
you've done a mistake during configuration.

You're not supposed to change the link by hand, since the
respective directories are determined by ./configure:

./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man

is what I use on my Linux box, so I use /usr/share/apsfilter
as the base directory.

Every time SETUP is called, the link /etc/apsfilter/basedir
will be forced to point to /usr/share/apsfilter (which is the
correct destination).

I don't know why there's any need for you to change that behaviour,
and if the link turns out to point to itself, there's something
seriously wrong anyway.

Which configure options do you use to create such a mess? :)


Michael