Package: ircd-hybrid
Version: 1:8.2.46+dfsg.1-1
Severity: minor
Tags: patch

The ircd.conf shipped in 1:8.2.46+dfsg.1-1 (debian/ircd.conf) gives the
xline log file a truncated name:

    file {
            type = xline;
            name = "/var/log/ircd/ircd-hybrid-xline.lo";
            size = 50 megabytes;
    };

Every other log in that block ends in ".log", and the 8.2.43 packaging
had "/var/log/ircd/ircd-hybrid-xline.log". Upstream's reference.conf
also has "xline.log", so this crept in when debian/ircd.conf was
refreshed from the new reference for 8.2.46.

Effect: a fresh install writes xline entries to ircd-hybrid-xline.lo.
An upgraded system that takes the new conffile starts a second file
beside its existing ircd-hybrid-xline.log, so history is split
across two files. Nothing breaks: these logs are capped by "size",
and the logrotate config only rotates ircd-hybrid.log.

But we may want to handle this gracefully to avoid stale logs persisting
forever.

This affects trixie (1:8.2.46+dfsg.1-1) and unstable.

--- a/debian/ircd.conf
+++ b/debian/ircd.conf
@@ -1428,7 +1428,7 @@ log {
 
        file {
                type = xline;
-               name = "/var/log/ircd/ircd-hybrid-xline.lo";
+               name = "/var/log/ircd/ircd-hybrid-xline.log";
                size = 50 megabytes;
        };

Reply via email to