Hi Pavel, I've just committed (upstream) the below patch. I'll close this bug when nut-2.6.3 hist unstable.
thanks for your report, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ ---------- Forwarded message ---------- From: Arnaud Quette <aque...@alioth.debian.org> Date: 2011/9/26 Subject: [nut-commits] svn commit r3260 - trunk/conf To: nut-comm...@lists.alioth.debian.org Author: aquette Date: Mon Sep 26 19:54:53 2011 New Revision: 3260 URL: http://trac.networkupstools.org/projects/nut/changeset/3260 Log: Complete LISTEN information, with regard to IP v4 or v6 disabled kernel (reported by Pavel Zubkou, Debian bug #598741) Modified: trunk/conf/upsd.conf.sample Modified: trunk/conf/upsd.conf.sample ============================================================================== --- trunk/conf/upsd.conf.sample Mon Sep 26 18:34:40 2011 (r3259) +++ trunk/conf/upsd.conf.sample Mon Sep 26 19:54:53 2011 (r3260) @@ -3,6 +3,8 @@ # This file contains access control data, you should keep it secure. # # It should only be readable by the user that upsd becomes. See the FAQ. +# +# Each entry below provides usage and default value. # ======================================================================= # MAXAGE <seconds> @@ -27,8 +29,9 @@ # ======================================================================= # LISTEN <address> [<port>] # LISTEN 127.0.0.1 3493 +# LISTEN ::1 3493 # -# This defaults to the localhost listening address and port 3493. You +# This defaults to the localhost listening addresses and port 3493. You # may specify each interface you want upsd to listen on for connections, # optionally with a port number. # @@ -36,6 +39,10 @@ # you don't want upsd to listen to all interfaces (for instance on a # firewall, you may not want to listen to the external interface). # +# You may also need this in case of IP v4 or v6 disabled kernel, to +# restrict listening to the type that is enabled. Otherwise, upsd will +# fail to start. +# # This will only be read at startup of upsd. If you make changes here, # you'll need to restart upsd, reload will have no effect. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org