Section One BBS

Welcome, Guest.


Subject: MakeNL bug with archived segments Date: Sat Aug 12 2017 01:43 pm
From: Vince Coen To: Andrew Leary

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)

Previous Message       Next Message
In Reply To: MakeNL bug with archived segments (Andrew Leary)