#1128488 nut-server uses pidof instead of invoke-rc.d to check for udevd status

Package:
nut-server
Source:
nut-server
Description:
network UPS tools - core system
Submitter:
Gioele Barabucci
Date:
2026-09-09 00:07:03 UTC
Severity:
normal
Tags:
#1128488#5
Date:
2026-02-20 11:36:29 UTC
From:
To:
Dear nut-server maintainer,

the postinst maintscript uses pidof to check whether the udevd is
running. This is not safe in chroots and similar environments. pidof
will also be made non-essential shortly.

`invoke-rc.d status` should be used instead.

You can find a fix for this issue at part of the following MR (which
contains also various improvements to the maintscripts):

https://salsa.debian.org/debian/nut/-/merge_requests/10

Regards,

#1128488#10
Date:
2026-09-09 00:04:30 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
nut, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1128488@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laurent Bigonville <bigon@debian.org> (supplier of updated nut package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 09 Sep 2026 01:47:02 +0200
Source: nut
Architecture: source
Version: 2.8.5-1
Distribution: unstable
Urgency: medium
Maintainer: Laurent Bigonville <bigon@debian.org>
Changed-By: Laurent Bigonville <bigon@debian.org>
Closes: 1128488 1130468
Changes:
 nut (2.8.5-1) unstable; urgency=medium
 .
   [ Laurent Bigonville ]
   * New upstream version 2.8.5
     - debian/patches/0008-drop-w3c-icons.patch: Refreshed.
       Also add the new HTML files that contain the same external image
     - debian/nut-cgi.docs: Fix the path of the README file
     - debian/nut-server.manpages: Renamed nutdrv_siemens_sitop.8 to
       nutdrv_siemens-sitop.8
     - debian/*.symbols: Add newly exported symbols
     - debian/nut-cgi.install: Add new "modern" upsstats pages
     - Install new meanwell_ntu and must_ep2000pro drivers
     - debian/libnutclient-dev.manpages: Add new manpages
   * nut-monitor: Switch to Qt6 (Closes: #1130468)
   * debian/control: Bump Standards-Version to 4.7.4 (no further changes)
   * debian/patches: Fix NUT-monitor when using Qt6
   * debian/not-installed: Silence dh_missing about html-man files
   * Drop debian/local/nut-monitor.{svg,png}, use the one included upstream
 .
   [ Luca Boccassi ]
   * Stop handling /run/ in maintainer scripts
   * Drop protective diversions for libnutclient2t64
   * Remove shlibs:Depends from -dev packages
   * Use invoke-rc.d to check udev status (Closes: #1128488)
Checksums-Sha1:
 d0e0f11ba3472bfecc5c474ac0a1667311e28256 3517 nut_2.8.5-1.dsc
 be2a4b425cd65fd029a8a14a4fcdc1d7f8ed4896 7362259 nut_2.8.5.orig.tar.gz
 6e6ded7fd7a9227e2820062552cdd3eaade6e25d 228 nut_2.8.5.orig.tar.gz.asc
 f55d5cbfd3bbf54d08ae13e8248bece22f5d9c10 64184 nut_2.8.5-1.debian.tar.xz
 c6b3b05d8d0d1a744421a87357d4af00e65b790b 22619 nut_2.8.5-1_amd64.buildinfo
Checksums-Sha256:
 eb86d8fa10341d8d032391f4cc037b0a4043b25242904bfaf624d4bd834fdb97 3517 nut_2.8.5-1.dsc
 18bf32e59eb764b13da3c4fa70384926d7fa584cb31d2fe7f137a570633eeec1 7362259 nut_2.8.5.orig.tar.gz
 86069bcfa527452063eefe657b65c1297a9b25d77c3f5623332ef375ba1f554d 228 nut_2.8.5.orig.tar.gz.asc
 1ed6194ce63ab1d1a0802a6549618ae83f41ad0431accc16dc161c4e9e79a5e2 64184 nut_2.8.5-1.debian.tar.xz
 3e8fbb6f7706a592c13ea41a0042c849737213a5ac913ce0ec5d77cfd843234b 22619 nut_2.8.5-1_amd64.buildinfo
Files:
 41463393d0a6862301062d86dccc5de0 3517 admin optional nut_2.8.5-1.dsc
 5ad8ce61a788caf85cf62f301ba60e9f 7362259 admin optional nut_2.8.5.orig.tar.gz
 bb878f3864b0cf39c14080dbbb40937c 228 admin optional nut_2.8.5.orig.tar.gz.asc
 91aabae5f2ea27a19c57f7c8911b37e5 64184 admin optional nut_2.8.5-1.debian.tar.xz
 071398cae8dd12b3b40bf41f083ea5e0 22619 admin optional nut_2.8.5-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQFFBAEBCgAvFiEEmRrdqQAhuF2x31DwH8WJHrqwQ9UFAmqgoCMRHGJpZ29uQGRl
Ymlhbi5vcmcACgkQH8WJHrqwQ9Xt/Qf7BGktVNyU0+v0dZ6cpr42CL2b0MjV9aO2
ZvvmwVGcVTO++XNKyUdHsA6QGowTpcySpnEf54YqwuHH3gaAEn/qicdJlQYfD/rM
8bZD181WN2INfriI8G06pnGHHjE2DDOTTBLmsunxw1rw/7PP3siddPm9qHPc3MRV
UCJZR0z3a3QK/RERLLEFVpBFmHPYEretKB6rG5JIDlxazWuydPAUHUtLeJY2+BCG
69vW0E+fEHQANpemHUoCpFPvaiz7ITplhNXtLqPOn5hpjIeGfnOcs9hInCq2BudD
2EjyAhRrjwGOmHrqzuydRs4JaRfonHuXoFfG1WHxp8WjLjLv4nZ30A==
=YUvj
-----END PGP SIGNATURE-----