• install/logrotate.d/sbbs

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue Nov 10 22:33:54 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/246db6b4ed843d76cc9123d5
    Modified Files:
    install/logrotate.d/sbbs
    Log Message:
    logrotate sample: signal rsyslogd to reopen sbbs.log after rotation

    Without a postrotate step, rsyslogd keeps its file descriptor on the
    renamed sbbs.log.1 and keeps writing there, while the newly created
    sbbs.log stays empty, until something else (e.g. the distro's own weekly rsyslog rotation) happens to make it reopen its files. Meanwhile
    notifempty skips sbbs.log, so "maxsize 1G" never applies: rotated files
    of 2-5 GB were the symptom.

    Use Debian's /usr/lib/rsyslog/rsyslog-rotate helper when present,
    otherwise send SIGHUP to rsyslogd directly.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue Nov 10 22:33:54 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/0bdefcd9d796c8e90465b870
    Modified Files:
    install/logrotate.d/sbbs
    Log Message:
    logrotate sample: gzip rotated sbbs.log files

    A busy BBS writes several GB of syslog output a week, and the ten
    uncompressed weekly rotations kept by this config can add up to tens of
    GB. Compress them, but use delaycompress so the most recent rotated log (sbbs.log.1) stays plain text for grep.

    Compressed logs can be searched with zgrep, or ugrep -z.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thu Dec 3 19:26:29 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/0c305d320c592a5bd2956c07
    Modified Files:
    install/logrotate.d/sbbs
    Log Message:
    logrotate sample: copy it into /etc/logrotate.d, don't symlink it

    The header said to "symlink or copy" the file. A symlink only works if the
    file it points to is owned by root, and in a git checkout it never is: logrotate checks the link target's owner, logs "Ignoring sbbs because the
    file owner is wrong", and fails logrotate.service. Say to copy it, show the install command, and explain why a symlink fails.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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