Bug#1059922: nut-server: upsd fails to start since version 2.8.1

2024-01-12 Thread Laurent Bigonville

severity  1059922 important
thanks

> Dear Laurent Bigonville,

Hello Jörg,

> with version 2.8.0-7 an EATON UPS connected to a debian computer via
> USB was working in standalone mode as expected. The only change in the
> config files was in /etc/nut/ups.conf where I added the following lines:
>
> [Eaton]
> driver = usbhid-ups
> port = auto
> vendorid = 0463
> pollfreq = 30
>
> After the upgrade to version 2.8.1-1 the upsd daemon would fail to
> start. The output in /var/log/syslog is
>
> upsd[12132]: not listening on ::1 port 3493
> upsd[12132]: listening on 127.0.0.1 port 3493
> upsd[12132]: no listening interface available
>
> instead of
>
> upsd[12553]: listening on 127.0.0.1 port 3493
> upsd[12553]: not listening on ::1 port 3493
> upsd[12553]: Connected to UPS [Eaton]: usbhid-ups-Eaton
> upsd[12555]: Startup successful
>
> for the working version 2.8.0.
> Any ideas?

Could you please attach the other configuration files here (please check 
for clear-text passwords)?


Do you have the loopback (127.0.0.1/::1) interface properly working?

I cannot reproduce this at home where I have also an EATON UPS

Kind regards,

Laurent Bigonville



Bug#1059922: nut-server: upsd fails to start since version 2.8.1

2024-01-03 Thread Jörg-Volker Peetz

Package: nut-server
Version: 2.8.1-1
Severity: grave

Dear Laurent Bigonville,

with version 2.8.0-7 an EATON UPS connected to a debian computer via
USB was working in standalone mode as expected. The only change in the
config files was in /etc/nut/ups.conf where I added the following lines:

[Eaton]
  driver = usbhid-ups
  port = auto
  vendorid = 0463
  pollfreq = 30

After the upgrade to version 2.8.1-1 the upsd daemon would fail to
start. The output in /var/log/syslog is

 upsd[12132]: not listening on ::1 port 3493
 upsd[12132]: listening on 127.0.0.1 port 3493
 upsd[12132]: no listening interface available

instead of

 upsd[12553]: listening on 127.0.0.1 port 3493
 upsd[12553]: not listening on ::1 port 3493
 upsd[12553]: Connected to UPS [Eaton]: usbhid-ups-Eaton
 upsd[12555]: Startup successful

for the working version 2.8.0.
Any ideas?

Regards,
Jörg.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable'), (5, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.9 (SMP w/16 CPU threads)
Locale: LANG=C.utf8, LC_CTYPE=C.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages nut-server depends on:
ii  adduser3.137
ii  init-system-helpers1.66
ii  libc6  2.37-12
ii  libmodbus5 3.1.10-1
ii  libnspr4   2:4.35-1.1
ii  libnss32:3.96.1-1
ii  libnutscan22.8.1-1
ii  libupsclient6  2.8.1-1
ii  libusb-1.0-0   2:1.0.26-1
ii  libwrap0   7.6.q-32
ii  nut-client 2.8.1-1
ii  sysvinit-utils [lsb-base]  3.08-5
ii  udev   255.2-2

nut-server recommends no packages.