Package: nut-server
Version: 2.8.1-5
Severity: normal

Dear Maintainer,

I see these logs on my machine:

2026-10-04T23:19:51.166438+02:00 myhost nut-server[2378]: fopen 
/run/nut/upsd.pid: No such file or directory
2026-10-04T23:19:51.167112+02:00 myhost nut-server[2378]: Could not find PID 
file '/run/nut/upsd.pid' to see if previous upsd instance is already running!
2026-10-04T23:19:51.176560+02:00 myhost nut-server[2378]: Running as foreground 
process, not saving a PID file

And then I also see:

2026-10-04T23:19:51.177052+02:00 myhost nut-server[2378]: upsnotify: notify 
about state 2 with libsystemd: was requested, but not running as a service unit 
now, will not spam more about it
2026-10-04T23:19:51.177400+02:00 myhost nut-server[2378]: upsnotify: failed to 
notify about state 2: no notification tech defined, will not spam more about it
2026-10-04T23:19:51.177723+02:00 myhost nut-server[2378]: upsnotify: logged the 
systemd watchdog situation once, will not spam more about it

As far as I can tell, both are kind of related since the configure scripts 
determines whether Type=notify + the -FF option or Type=simple + the -F option 
are used in the service file. And we end up with Type=simple + the -F option, 
for some reason. Looking at the build log, I never see "if your systemd version 
supports Type=notify". I suspect systemd-analyze is not installed during the 
build, that would explain the issue (if my reading of configure.ac is correct).

Can we add the package that contains systemd-analyze as a build dep? Or patch 
the configure script to not depend on this check?

Thanks

-- System Information:
Debian Release: 13.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.111+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nut-server depends on:
ii  adduser              3.152
ii  init-system-helpers  1.69~deb13u1
ii  libc6                2.41-12+deb13u4
ii  libnspr4             2:4.36-1
ii  libnss3              2:3.110-1+deb13u4
ii  libnutscan2          2.8.1-5
ii  libsystemd0          257.13-1~deb13u1
ii  libupsclient6t64     2.8.1-5
ii  libusb-1.0-0         2:1.0.28-1
ii  nut-client           2.8.1-5
ii  udev                 257.13-1~deb13u1

nut-server recommends no packages.

Versions of packages nut-server suggests:
pn  nut-cgi     <none>
pn  nut-i2c     <none>
pn  nut-ipmi    <none>
pn  nut-modbus  <none>
pn  nut-snmp    <none>
pn  nut-xml     <none>

-- Configuration Files:
/etc/nut/ups.conf [Errno 13] Permission non accordée: '/etc/nut/ups.conf'
/etc/nut/upsd.conf [Errno 13] Permission non accordée: '/etc/nut/upsd.conf'
/etc/nut/upsd.users [Errno 13] Permission non accordée: '/etc/nut/upsd.users'

-- no debconf information

Reply via email to