-T option to actsync in INN 2.4.3 doesn't work

Jeffrey M. Vinocur jeff at litech.org
Mon Oct 16 18:31:36 UTC 2006


On Mon, 16 Oct 2006, Mike Brudenell wrote:

> There appears to be a problem with the "-T" option to actsync in INN  
> 2.4.3. [...]
> 
> In INN 2.1 the test to see if a new group was within an already  
> existing hierarchy on the local server was achieved by using chdir()  
> to move to the overview spool directory and then using stat() to  
> check for a directory named with the first component of the remote  
> newsgroup name being considered for synching.

Gosh, I don't think this was ever the right behavior.  I mean, if you 
wanted to use actsync with two local files, neither of which represented 
the local server, no amount of file system checking could answer the 
question about the hierarchies.

It's certainly a bug now, as you describe.

I think the correct implementation is to simply look at the host1 active 
file, make a list of the hierarchies used, and use that for the checking.  
This should be pretty straightforward with the existing libraries...let me 
have a look at it.


-- 
Jeffrey M. Vinocur
jeff at litech.org



More information about the inn-bugs mailing list