Package: nut-server
Version: 2.8.1-5
Followup-For: Bug #1072225

Dear Maintainer,

It does not fail to start, but simply doesn't listen on the IP address (since 
it's not there yet). It seems to be a deliberate choice from upstream since the 
service file has a comment saying:

# The `upsd` is a networked service (even if bound to a `localhost`)
# so it requires that the OS has some notion of networking already.
# Extending the unit does not require *this* file to be edited, you
# can instead drop in an additional piece of configuration, e.g. to
# require that NUT data server only starts after external networking
# is configured (usable IP addresses appear in the system) you can
# add a `/etc/systemd/system/nut-server.service.d/network.conf` with:
#   [Unit]
#   Requires=network-online.target
#   After=network-online.target

But this still feels like a bug here since that suggested configuration is 
required for the LISTEN configuration to be respected.


-- 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