Your message dated Sun, 12 Aug 2007 22:15:20 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#420020: fixed in nut 2.2.0-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: nut
Version: 2.0.5-3
Severity: wishlist
Tags: patch
The attached patch incorporates the ability to set option flags for
upsd in /etc/default/nut which are then used in /etc/init.d/nut when
starting upsd. In particular, I've used it to bind upsd to the local
network interface instead of all interfaces, which I think should be
considered for use as the default.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages nut depends on:
ii adduser 3.102 Add and remove users and groups
ii debconf [debconf-2.0] 1.5.13 Debian configuration management sy
ii libc6 2.5-2 GNU C Library: Shared libraries
ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init scrip
nut recommends no packages.
-- debconf information:
nut/major_conf_changes:
nut/2_0_upstream_changes:
nut/change_system_user:
nut/major_upstream_changes:
nut/remove_debian_conf:
diff -urN etc.orig/default/nut etc/default/nut
--- etc.orig/default/nut 2007-04-19 09:47:27.000000000 -0400
+++ etc/default/nut 2007-04-19 09:46:39.000000000 -0400
@@ -6,6 +6,10 @@
#START_UPSMON=no
START_UPSMON=yes
+# upsd options
+# "-i 127.0.0.1" will bind to the local interface
+upsd_opts="-i 127.0.0.1"
+
# At the end of an emergency system halt, the upsmon master will signal the
# UPS to switch off. This may fail for any number of reasons, however, most
# notably if line power returns during the shutdown process. (See the
diff -urN etc.orig/init.d/nut etc/init.d/nut
--- etc.orig/init.d/nut 2007-04-19 09:47:42.000000000 -0400
+++ etc/init.d/nut 2007-04-19 09:46:48.000000000 -0400
@@ -43,7 +43,8 @@
start)
! /sbin/upsdrvctl start >/dev/null 2>&1 && \
log_progress_msg "(upsdrvctl failed)" || log_progress_msg
"upsdrvctl"
- start-stop-daemon -S -q -p $upsd_pid -x $upsd >/dev/null 2>&1
+ start-stop-daemon -S -q -p $upsd_pid -x $upsd \
+ -- $upsd_opts >/dev/null 2>&1
;;
stop)
start-stop-daemon -K -o -q -p $upsd_pid -n upsd >/dev/null 2>&1
--- End Message ---
--- Begin Message ---
Source: nut
Source-Version: 2.2.0-1
We believe that the bug you reported is fixed in the latest version of
nut, which is due to be installed in the Debian FTP archive:
nut-cgi_2.2.0-1_i386.deb
to pool/main/n/nut/nut-cgi_2.2.0-1_i386.deb
nut-dev_2.2.0-1_i386.deb
to pool/main/n/nut/nut-dev_2.2.0-1_i386.deb
nut-hal-drivers_2.2.0-1_i386.deb
to pool/main/n/nut/nut-hal-drivers_2.2.0-1_i386.deb
nut-snmp_2.2.0-1_i386.deb
to pool/main/n/nut/nut-snmp_2.2.0-1_i386.deb
nut_2.2.0-1.diff.gz
to pool/main/n/nut/nut_2.2.0-1.diff.gz
nut_2.2.0-1.dsc
to pool/main/n/nut/nut_2.2.0-1.dsc
nut_2.2.0-1_i386.deb
to pool/main/n/nut/nut_2.2.0-1_i386.deb
nut_2.2.0.orig.tar.gz
to pool/main/n/nut/nut_2.2.0.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Arnaud Quette <[EMAIL PROTECTED]> (supplier of updated nut package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 17 Jul 2007 09:14:11 +0200
Source: nut
Binary: nut-hal-drivers nut nut-dev nut-snmp nut-cgi
Architecture: source i386
Version: 2.2.0-1
Distribution: unstable
Urgency: low
Maintainer: Arnaud Quette <[EMAIL PROTECTED]>
Changed-By: Arnaud Quette <[EMAIL PROTECTED]>
Description:
nut - The core system of the nut - Network UPS Tools
nut-cgi - A web interface sub system for the nut - Network UPS Tools
nut-dev - Development files for NUT - Network UPS Tools
nut-hal-drivers - HAL interface for NUT - Network UPS Tools
nut-snmp - A meta SNMP Driver subsystem for the nut - Network UPS Tools
Closes: 385694 414756 415189 420016 420020 426033 432909 434503
Changes:
nut (2.2.0-1) unstable; urgency=low
.
* New upstream release (Closes: #432909, #420016, #426033)
* debian/control:
- merge the nut-usb package into nut, and update the various needed
fields (Depends, Provides, Conflicts, Suggests and Description)
- requires at least libhal-dev 0.5.8
- complete the nut-hal-drivers Description (Homepage)
- update to policy 3.7.2
- add po-debconf to Build-Depends
* debian/rules:
- general rewrite since the upstream now use automake
- force the evaluation of DEB_HOST_ARCH_OS for dh_gencontrol
- force udev to empty on non Linux system, for dh_gencontrol
- remove the DH_COMPAT export
- update the nut-usb specifics, not needed anymore
- nut-hal-drivers also needs the udev rules
- call debconf-updatepo to clean debconf translations
* debian/compat: creation
* debian/nut-usb.*: remove these files, and put the content in the
matching nut.* files
* debian/nut.preinst: remove the old udev rule file (025_nut...) which
was manually installed, and now addressed upstream and called 52_nut.
* debian/nut.postinst: restart udev to apply the USB rules to the
already plugged devices
* debian/nut-hal-drivers.preinst: created to add the HAL user to
the nut group
* debian/po/nl.po: added Dutch po-debconf translation (Closes: #414756)
* debian/po/pt.po: added Portuguese po-debconf translation (Closes: #415189)
* debian/patches/01_udev_rules_subsystem_usb.dpatch: update the patch
* debian/patches/02_libupsclient.dpatch: patch for the missing FLAGS
* debian/nut.templates: rewrite and simplification
* debian/nut.config: rewrite and simplification
* debian/rules: call dh_installinit with the priority set to 50 to (Closes:
#385694)
* debian/nut.default, debian/nut.init: allow to specify options for upsd and
upsmon (Closes: #420020, #434503)
Files:
8ecf050e8e9d42ccfb6de388d31d7e5e 844 admin optional nut_2.2.0-1.dsc
a3570515d80804051d4e7631e8a3eb12 1173801 admin optional nut_2.2.0.orig.tar.gz
1ab08a6e914c4cb5897a5c7fe0790811 36507 admin optional nut_2.2.0-1.diff.gz
e70a579001e6801286d2938cb0832731 1166702 admin optional nut_2.2.0-1_i386.deb
d62638ec2e2f133d8253dff51c7af92c 136658 admin optional nut-cgi_2.2.0-1_i386.deb
7de6cb09ae9b1f85e9d9ef3cc5034442 108126 admin optional
nut-snmp_2.2.0-1_i386.deb
51eed5c723ad4ce0e0c91f61f383fb2f 121772 admin optional nut-dev_2.2.0-1_i386.deb
d54c96e0a46629da89ab6866df74f3fb 184970 admin optional
nut-hal-drivers_2.2.0-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGs6Pn22QUyiBN3xsRAqa/AJ44qkK+3lH4mpsl/7WVhXInOADNcwCgqihz
8xfFtstmje8OxInUYCpY+50=
=fIvC
-----END PGP SIGNATURE-----
--- End Message ---