#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-02-20 11:37:02 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,