Thread View: linux.debian.devel.release
1 messages
1 total messages
Started by Debian Bug Tracking System
Sat, 21 Nov 2026 09:40
Bug#1148073: marked as done (trixie-pu: package nut/2.8.1-5+deb13u1)
Author: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 09:40
Date: Sat, 21 Nov 2026 09:40
259 lines
12982 bytes
12982 bytes
This is a multi-part message in MIME format...
------------=_1795253363-3308750-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your message dated Sat, 21 Nov 2026 09:28:03 +0000
with message-id <E1xUhO7-00000008t1L-1uot@coccia.debian.org>
and subject line Released in 13.8
has caused the Debian Bug report #1148073,
regarding trixie-pu: package nut/2.8.1-5+deb13u1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--=20
1148073: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1148073
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1795253363-3308750-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 16 Sep 2026 18:02:54 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-132.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
HAS_PACKAGE,MD5_SHA1_SUM,SPF_HELO_NONE,SPF_PASS,
USER_IN_DKIM_WELCOMELIST,WORD_WITHOUT_VOWELS,XMAILER_REPORTBUG
autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 53; hammy, 150; neutral, 176; spammy,
0. spammytokens:
hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <bigon@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:58908)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <bigon@debian.org>)
id 1x6ty9-00Ci5D-2s
for submit@bugs.debian.org;
Wed, 16 Sep 2026 18:02:54 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
s=smtpauto.stravinsky; h=X-Debian-User:Date:Message-ID:Subject:To:From:
MIME-Version:Content-Type:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
Content-Description:In-Reply-To:References;
bh=EkhspI8sVA1hYm2KPVXYw6tNv3QVOvhtyJkI9hjn7CU=; b=BJxfpGWb+G7FFxRx7VVXzatlkn
wyy8vp/ecBKlBfoisGqjtC8DKstldqGPptroGDFtA6P7+aecZPW6DJETL5HhJIiU4TiB4MniBFjFE
THV8cuIY7Ms434f49r9lwaNbakIsQ98FZvvQaNBDesHxDptRDwNC/Dy/Vs9EJ4mThmxh9vKzUd4Kv
A/T08Laj5UzeUIbpDtpEqxk+AkvtZd8BJy65I06Pv2cGoKNA13IwWAitdGmaeak+kZOHoiyhoI+h+
PS4EGZG5EtfiFgCHR4VwVZU4mJSc30E4DWUrj50pnNXdOupOCRYFh21LG1txgUtdxZvF4xvXf2erP
89buo+UQ==;
Received: from authenticated-user
by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <bigon@debian.org>)
id 1x6ty7-005LZw-2J;
Wed, 16 Sep 2026 18:02:52 +0000
Content-Type: multipart/mixed; boundary="===============1497008819158280009=="
MIME-Version: 1.0
From: Laurent Bigonville <bigon@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: trixie-pu: package nut/2.8.1-5+deb13u1
Message-ID: <178958177079.45772.4052643445292387390.reportbug@eriador.bigon.be>
X-Mailer: reportbug 13.2.0+nmu1
Date: Wed, 16 Sep 2026 20:02:50 +0200
X-Debian-User: bigon
Delivered-To: submit@bugs.debian.org
This is a multi-part MIME message sent by reportbug.
--===============1497008819158280009==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: nut@packages.debian.org
Control: affects -1 + src:nut
User: release.debian.org@packages.debian.org
Usertags: pu
[ Reason ]
When an UPS is running a calibration, nut will set its calibration flag,
but that flag was never cleared, this seems to completely break the
state machine.
[ Impact ]
There are two different bug reports with opposite symptoms. In one the
machine was not shutdown even when the UPS was low on battery. On the
other one, the machine was randomly shutdown, causing a DOS
[ Tests ]
It's difficult to reproduce on my UPS at home, it doesn't support
calibration
[ Risks ]
The patch is trivial and already released in testing and unstable for
months.
[ Checklist ]
[X] *all* changes are documented in the d/changelog
[X] I reviewed all changes and I approve them
[X] attach debdiff against the package in (old)stable
[X] the issue is verified as fixed in unstable
[ Changes ]
The flag is being cleared when the UPS is not in calibration state.
--===============1497008819158280009==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="1056190.patch"
diff -Nru nut-2.8.1/debian/changelog nut-2.8.1/debian/changelog
--- nut-2.8.1/debian/changelog 2025-06-27 23:04:07.000000000 +0200
+++ nut-2.8.1/debian/changelog 2026-09-16 15:25:21.000000000 +0200
@@ -1,3 +1,12 @@
+nut (2.8.1-5+deb13u1) trixie; urgency=medium
+
+ * d/p/upsmon-clear-CAL-flag.patch: Clear the CAL flag in upsmon once
+ the UPS has finished its calibration, otherwise a critical (OB+LB)
+ state following a self-test is never acted upon and the shutdown is
+ not triggered. (Closes: #1056190)
+
+ -- Laurent Bigonville <bigon@debian.org> Wed, 16 Sep 2026 15:25:21 +0200
+
nut (2.8.1-5) unstable; urgency=medium
* d/p/fixsoname.patch: Fix name of the dynamicly loaded libraties in
diff -Nru nut-2.8.1/debian/patches/series nut-2.8.1/debian/patches/series
--- nut-2.8.1/debian/patches/series 2025-06-27 23:04:07.000000000 +0200
+++ nut-2.8.1/debian/patches/series 2026-09-16 15:25:21.000000000 +0200
@@ -8,3 +8,4 @@
0005-Set-the-DesktopFileName-in-scripts-python-app-NUT-Mo.patch
NoDisplay-nut-monitor-py3qt5.patch
fixsoname.patch
+upsmon-clear-CAL-flag.patch
diff -Nru nut-2.8.1/debian/patches/upsmon-clear-CAL-flag.patch nut-2.8.1/debian/patches/upsmon-clear-CAL-flag.patch
--- nut-2.8.1/debian/patches/upsmon-clear-CAL-flag.patch 1970-01-01 01:00:00.000000000 +0100
+++ nut-2.8.1/debian/patches/upsmon-clear-CAL-flag.patch 2026-09-16 15:25:21.000000000 +0200
@@ -0,0 +1,31 @@
+From: Laurent Bigonville <bigon@debian.org>
+Date: Wed, 16 Sep 2026 15:24:15 +0200
+Subject: upsmon: clear the CAL flag when calibration is over
+
+The ST_CAL flag was raised when "CAL" showed up in the UPS status, but it
+was never cleared again once the hardware finished its calibration.
+is_ups_critical() then kept refusing to declare a critical state ("seems
+that UPS [...] is OB+LB now, but it is also calibrating - not declaring a
+critical state"), so upsmon never triggered the shutdown when the UPS went
+OB+LB after a self-test. Restarting upsmon was the only workaround.
+
+Origin: upstream, https://github.com/networkupstools/nut/commit/b606d757660b85ba9123757609e6ac70a1684cbf
+Bug: https://github.com/networkupstools/nut/issues/2168
+Applied-Upstream: 2.8.2
+---
+ clients/upsmon.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/clients/upsmon.c b/clients/upsmon.c
+index bcdbba5..b518c58 100644
+--- a/clients/upsmon.c
++++ b/clients/upsmon.c
+@@ -2130,6 +2130,8 @@ static void parse_status(utype_t *ups, char *status)
+ clearflag(&ups->status, ST_LOWBATT);
+ if (!strstr(status, "FSD"))
+ clearflag(&ups->status, ST_FSD);
++ if (!strstr(status, "CAL"))
++ clearflag(&ups->status, ST_CAL);
+ if (!strstr(status, "OFF"))
+ ups_is_notoff(ups);
+ if (!strstr(status, "BYPASS"))
--===============1497008819158280009==--
------------=_1795253363-3308750-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1148073-done) by bugs.debian.org; 21 Nov 2026 09:28:06 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-106.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,
SPF_PASS,USER_IN_DKIM_WELCOMELIST,VERSION autolearn=ham
autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 6; hammy, 74; neutral, 16; spammy, 0.
spammytokens: hammytokens:0.000-+--H*r:sk:coccia.,
0.000-+--H*MI:coccia, 0.000-+--H*m:coccia, 0.000-+--H*r:submission,
0.000-+--H*F:U*jmw
Return-path: <jmw@coccia.debian.org>
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:41362)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <jmw@coccia.debian.org>)
id 1xUhOA-00DrsO-2l
for 1148073-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:06 +0000
Received: via submission
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=coccia.debian.org,EMAIL=hostmaster@coccia.debian.org (verified)
by mailly.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <jmw@coccia.debian.org>)
id 1xUhO8-004hwe-2J
for 1148073-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:04 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=coccia.debian.org; s=smtpauto.coccia; h=Date:From:Message-Id:
Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To:Reply-To:Cc:
Content-ID:Content-Description:In-Reply-To:References;
bh=j3C+QfqZhEAyGCz+F5Nny7uVPSJTnuL2JF6zBnHyDlM=; b=q4vLz+OBnjSrvzBFockuWK7OfW
Hg2DzrzOh5GnB5adFH8r8V2o5MlUTrqM/LPhZtpZowZvu35r40owA4SUX2ubolSiAKP/tnVqw/joM
AeGPIpjZkAtAzhkEg02TkN7a0+SfNj0Hr6zWRRQIzj+/bVyG4BLS5XxqR1PJqQ5oPCewx1wAis+27
Uzx0WFRQwgl0m7IFNcvoNC4LtT+Hb6+8qnQTgmhORvEiG4mKRD/XTICHblwlhIEJFf8zhq0cCV7mk
irh07RqpDSp/gMHyPiMlZhR9iDf4ALhv5rC0+V3qSfeHRALHGpz81KIMc08KoBAfqnHXCbYVt8zFR
8AdGjGDA==;
Received: from jmw by coccia.debian.org with local (Exim 4.98.2)
(envelope-from <jmw@coccia.debian.org>)
id 1xUhO7-00000008t1L-1uot
for 1148073-done@bugs.debian.org;
Sat, 21 Nov 2026 09:28:03 +0000
To: 1148073-done@bugs.debian.org
Subject: Released in 13.8
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Message-Id: <E1xUhO7-00000008t1L-1uot@coccia.debian.org>
From: Jonathan Wiltshire <jmw@coccia.debian.org>
Date: Sat, 21 Nov 2026 09:28:03 +0000
X-CrossAssassin-Score: 78
Version: 13.8
This update was released as part of 13.8.
------------=_1795253363-3308750-0--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads