🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5214

Bug#1154567: ircd-hybrid: default ircd.conf names the xline log "ircd-hybrid-xline.lo"

#5214
From: Dominic Hargreaves
Date: Fri, 20 Nov 2026 13:50
40 lines
2800 bytes
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;
 	};
Technical Details
Message-ID: <O1xa1-d5w7-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Dominic Hargreaves <dom@earth.li>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154567: ircd-hybrid: default ircd.conf names the xline log "ircd-hybrid-xline.lo"
Date: Fri, 20 Nov 2026 14:50:01 +0100
Message-ID: <O1xa1-d5w7-3@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Nov 20 13:45:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Dominic Hargreaves <dom@earth.li>, 1154567@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: dom@earth.li
X-Debian-Pr-Message: report 1154567
X-Debian-Pr-Package: ircd-hybrid
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: ircd-hybrid
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003709
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 40
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 20 Nov 2026 13:43:06 +0000
X-Original-Message-ID: <awBOaleYZbSiEN5t@urchin.earth.li>