• sbbsecho overwrites/ignores PKT files when using ZIP

    From Anna Christina Na¿@VERT to GitLab issue in main/sbbs on Fri Jan 14 00:31:37 2022
    open https://gitlab.synchro.net/main/sbbs/-/issues/322

    Hi,

    Since the 3.19b update, it seems that sbbsecho misses to send some PKT files to downlinks.

    I think the problem can be seen here in this part of the log file:

    ```
    2022-01-13 11:19:19 Finalizing outbound packet from 2:240/5824 to 2:240/5824.1: /sbbs/temp/sbbsecho/61dffca8.pkt
    2022-01-13 11:19:19 Sending packet (/sbbs/temp/sbbsecho/61dffca8.pkt, 49.6KB) from 2:240/5824 to 2:240/5824.1
    2022-01-13 11:19:19 Moving packet for 2:240/5824.1: /sbbs/temp/sbbsecho/61dffca8.pkt to /sbbs/fido/topoint/61dffca8.pkt
    2022-01-13 11:19:19 Packing packet (/sbbs/fido/topoint/61dffca8.pkt) into bundle (/sbbs/fido/topoint/0000p001.TH0) for 2:240/5824.1 using ZIP
    2022-01-13 11:19:19 Deleting /sbbs/fido/topoint/61dffca8.pkt (from line 2611) 2022-01-13 11:19:19 Sending packet (/sbbs/temp/sbbsecho/61dffca7.pkt, 250.5KB) from 2:240/5824 to 2:240/5824.1
    2022-01-13 11:19:19 Moving packet for 2:240/5824.1: /sbbs/temp/sbbsecho/61dffca7.pkt to /sbbs/fido/topoint/61dffca8.pkt
    2022-01-13 11:19:19 Packing packet (/sbbs/fido/topoint/61dffca8.pkt) into bundle (/sbbs/fido/topoint/0000p001.TH0) for 2:240/5824.1 using ZIP
    2022-01-13 11:19:19 Deleting /sbbs/fido/topoint/61dffca8.pkt (from line 2611) 2022-01-13 11:19:19 Sending packet (/sbbs/temp/sbbsecho/61dffca6.pkt, 250.1KB) from 2:240/5824 to 2:240/5824.1
    2022-01-13 11:19:19 Moving packet for 2:240/5824.1: /sbbs/temp/sbbsecho/61dffca6.pkt to /sbbs/fido/topoint/61dffca6.pkt
    2022-01-13 11:19:19 Packing packet (/sbbs/fido/topoint/61dffca6.pkt) into bundle (/sbbs/fido/topoint/0000p001.TH0) for 2:240/5824.1 using ZIP
    2022-01-13 11:19:19 Deleting /sbbs/fido/topoint/61dffca6.pkt (from line 2611) ```

    If I see this correctly, I should get 3 .pkt files, but in the final ZIPped file, only one can be found (see below).

    Furthermore, maybe one file gets overwritten in this process (one line from above):

    ```
    2022-01-13 11:19:19 Moving packet for 2:240/5824.1: /sbbs/temp/sbbsecho/61dffca7.pkt to /sbbs/fido/topoint/61dffca8.pkt
    ```

    ```
    # unzip -l /sbbs/fido/topoint/0000p001.TH0

    Archive: 0000p001.TH0
    Length Date Time Name
    --------- ---------- ----- ----
    256098 2022-01-13 11:19 61dffca6.pkt
    --------- -------
    256098 1 file
    ```

    I've now disabled compression for my point system and seem to get all messages now again.

    Is this a configuration problem or a bug?

    Thank you!

    Regards,
    Anna

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab issue in main/sbbs on Fri Jan 14 00:34:28 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/322

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Fri Jan 14 00:34:28 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/322#note_2194

    This problem was already fixed (today) be disabling libarchive support for creating/updating bundles (it can't actually update existing archives), so the old behavior of requiring/using external archives (e.g. zip) will be used.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Anna Christina Na¿@VERT to GitLab note in main/sbbs on Fri Jan 14 00:36:14 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/322#note_2195

    Okay, thank you!

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net