TIP: Click on subject to list as thread! ANSI
echo: makenl_ng
to: Andrew Leary
from: Vince Coen
date: 2017-08-12 13:43:22
subject: MakeNL bug with archived segments

Hello Andrew!

Friday August 11 2017 18:24, you wrote to All:

 > Hello everybody!

 > I have discovered an issue that can manifest itself when archived
 > segments are submitted to the next *C up the chain.  When archiving
 > the new segment prior to submission, MakeNL doesn't check to see if
 > the archive already exists.  The result is submission of an archive
 > containing the new segment, as well as an older one.

 > There are two solutions that I've come up with:

 > 1.  MakeNL check for an existing archive and remove it prior to
 > archiving the segment for submission. 2.  When uncompressing incoming
 > segment archives, compare file dates on all files unpacked and use the
 > most recent.

 > What do you think?  I'm leaning towards number 2 first, as that will
 > help in cases where the lower level *C hasn't upgraded his version of
 > MakeNL yet.

 > As a work around, the problem can be avoided by disabling the
 > compression of submitted segments by adding:

 > THReshold -1 -1

 > to your control file.

I just use a script that runs the program that deletes residual files in the
netmail and outbound areas prior to running makenl - see below :

----
#!/bin/sh

. . . removed rem. lines

export MBSE_ROOT=/home/mbse

# kill off old *.msg and net250.nnn / region25.nnn node segments

rm -f $MBSE_ROOT/etc/makenl/outbound/region25.*
rm -f $MBSE_ROOT/etc/makenl/outbound/region30.*
rm -f $MBSE_ROOT/etc/makenl/netmail/*.*


cd $MBSE_ROOT/etc/makenl
$MBSE_ROOT/bin/makenl region.ctl >> makenl.log 2>>makenl.err
$MBSE_ROOT/bin/makenl region-kees.ctl >> makenl.log 2>>makenl.err

$MBSE_ROOT/bin/makenl region30.ctl >> makenl30.log 2>>makenl30.err


# Send for region 25 fidonet
$MBSE_ROOT/bin/mbout a f5003.n280.z2 c ./outbound/region25K.* -q


$MBSE_ROOT/bin/mbout a f854.n292.z2 c ./outbound/region25.* -q

# Send for region 30 sportnet
$MBSE_ROOT/bin/mbout a f0.n24.z24 c ./outbound/region30.* -q

exit
----

Note that the ./outbound/   section remaps to /home/mbse/etc/makenl/outbound
prior to running the script and that my system root for mailer operations is
at /home/mbse.

I am running makenl v3.4.5  but show that latest is 3.4.6 in my files area.


Vince

--- Mageia Linux v5/Mbse v1.0.7.2/GoldED+/LNX 1.1.501-b20150715
* Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
SEEN-BY: 3/50 34/999 90/1 116/18 120/331 123/140 128/187 130/20 140/1 218/700
SEEN-BY: 220/60 230/150 240/1120 249/303 250/1 261/38 100 1466 266/404 267/155
SEEN-BY: 280/464 1027 282/1031 1056 320/119 219 340/400 393/68 396/45 633/267
SEEN-BY: 633/280 712/620 848 770/1 801/161 189 2320/100 3634/12 5020/1042
@PATH: 250/1 261/38 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.