Your message dated Wed, 29 Jun 2016 10:19:23 +0000 with message-id <[email protected]> and subject line Bug#624155: fixed in apcupsd 3.14.12-1.3 has caused the Debian Bug report #624155, regarding /sbin/smtp: /sbin/smtp undocumented and redundant? 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 624155: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624155 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apcupsd Version: 3.14.8-2 Severity: normal File: /sbin/smtp apcupsd installs /sbin/smtp without documentation. It should have a manual page or something. Currently the package installs a symlink to the apcupsd manual page. Looking at the usage output, this binary sure looks redundant to mailx, so maybe it should not exist at all on Debian. kenyon@grunt ~ % /sbin/smtp 0.000 apcupsd: smtp.c:230 Fatal error: no recipient given. Usage: smtp [-f from] [-h mailhost] [-s subject] [-c copy] [recepient ...] -c set the Cc: field -dnn set debug level to nn -f set the From: field -h use mailhost:port as the SMTP server -s set the Subject: field -? print this message. kenyon@grunt ~ % dpkg-query --listfiles apcupsd | grep smtp /sbin/smtp /usr/share/man/man1/smtp.1.gz kenyon@grunt ~ % ls -l /usr/share/man/man1/smtp.1.gz lrwxrwxrwx 1 root root 20 Mar 5 2010 /usr/share/man/man1/smtp.1.gz -> ../man8/apcupsd.8.gz kenyon@grunt ~ % dpkg-query --search /sbin/smtp apcupsd: /sbin/smtp kenyon@grunt ~ % file /sbin/smtp /sbin/smtp: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped -- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (990, 'stable'), (500, 'stable-updates'), (400, 'testing'), (300, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (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/dash Versions of packages apcupsd depends on: ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.5-8 GCC support library ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra Versions of packages apcupsd recommends: ii apcupsd-doc 3.14.8-2 APC UPS Power Management (document Versions of packages apcupsd suggests: ii apcupsd-cgi 3.14.8-2 APC UPS Power Management (web inte ii hal 0.5.14-3 Hardware Abstraction Layer ii udev 164-3 /dev/ and hotplug management daemo -- Configuration Files: /etc/apcupsd/apccontrol changed: prefix=/usr exec_prefix=${prefix} APCPID=/var/run/apcupsd.pid APCUPSD=/sbin/apcupsd SHUTDOWN=/sbin/shutdown SCRIPTSHELL=/bin/sh SCRIPTDIR=/etc/apcupsd WALL=true if [ -f ${SCRIPTDIR}/${1} -a -x ${SCRIPTDIR}/${1} ] then ${SCRIPTDIR}/${1} ${2} ${3} ${4} # exit code 99 means he does not want us to do default action if [ $? = 99 ] ; then exit 0 fi fi case "$1" in killpower) echo "Apccontrol doing: ${APCUPSD} --killpower on UPS ${2}" | ${WALL} sleep 10 ${APCUPSD} --killpower echo "Apccontrol has done: ${APCUPSD} --killpower on UPS ${2}" | ${WALL} ;; commfailure) echo "Warning communications lost with UPS ${2}" | ${WALL} ;; commok) echo "Communications restored with UPS ${2}" | ${WALL} ;; powerout) ;; onbattery) echo "Power failure on UPS ${2}. Running on batteries." | ${WALL} ;; offbattery) echo "Power has returned on UPS ${2}..." | ${WALL} ;; mainsback) if [ -f /etc/apcupsd/powerfail ] ; then printf "Continuing with shutdown." | ${WALL} fi ;; failing) echo "Battery power exhaused on UPS ${2}. Doing shutdown." | ${WALL} ;; timeout) echo "Battery time limit exceeded on UPS ${2}. Doing shutdown." | ${WALL} ;; loadlimit) echo "Remaining battery charge below limit on UPS ${2}. Doing shutdown." | ${WALL} ;; runlimit) echo "Remaining battery runtime below limit on UPS ${2}. Doing shutdown." | ${WALL} ;; doreboot) echo "UPS ${2} initiating Reboot Sequence" | ${WALL} ${SHUTDOWN} -r now "apcupsd UPS ${2} initiated reboot" ;; doshutdown) echo "UPS ${2} initiated Shutdown Sequence" | ${WALL} ${SHUTDOWN} -h now "apcupsd UPS ${2} initiated shutdown" ;; annoyme) echo "Power problems with UPS ${2}. Please logoff." | ${WALL} ;; emergency) echo "Emergency Shutdown. Possible battery failure on UPS ${2}." | ${WALL} ;; changeme) echo "Emergency! Batteries have failed on UPS ${2}. Change them NOW" | ${WALL} ;; remotedown) echo "Remote Shutdown. Beginning Shutdown Sequence." | ${WALL} ;; startselftest) ;; endselftest) ;; battdetach) ;; battattach) ;; *) echo "Usage: ${0##*/} command" echo " warning: this script is intended to be launched by" echo " apcupsd and should never be launched by users." exit 1 ;; esac /etc/apcupsd/apcupsd.conf changed: UPSNAME watt UPSCABLE usb UPSTYPE usb DEVICE LOCKFILE /var/lock SCRIPTDIR /etc/apcupsd PWRFAILDIR /etc/apcupsd NOLOGINDIR /etc ONBATTERYDELAY 6 BATTERYLEVEL 5 MINUTES 3 TIMEOUT 0 ANNOY 300 ANNOYDELAY 60 NOLOGON disable KILLDELAY 0 NETSERVER on NISIP 0.0.0.0 NISPORT 3551 EVENTSFILE /var/log/apcupsd.events EVENTSFILEMAX 10 UPSCLASS standalone UPSMODE disable STATTIME 0 STATFILE /var/log/apcupsd.status LOGSTATS off DATATIME 0 /etc/apcupsd/hosts.conf changed: MONITOR localhost "Local Host" /etc/default/apcupsd changed: APCACCESS=/sbin/apcaccess ISCONFIGURED=yes -- no debconf information
--- End Message ---
--- Begin Message ---Source: apcupsd Source-Version: 3.14.12-1.3 We believe that the bug you reported is fixed in the latest version of apcupsd, which is due to be installed in the Debian FTP archive. 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. Paul Slootman <[email protected]> (supplier of updated apcupsd 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: SHA256 Format: 1.8 Date: Wed, 29 Jun 2016 11:15:14 +0200 Source: apcupsd Binary: apcupsd apcupsd-cgi apcupsd-doc Architecture: source amd64 all Version: 3.14.12-1.3 Distribution: unstable Urgency: medium Maintainer: Giuseppe Iuculano <[email protected]> Changed-By: Paul Slootman <[email protected]> Description: apcupsd - APC UPS Power Management (daemon) apcupsd-cgi - APC UPS Power Management (web interface) apcupsd-doc - APC UPS Power Management (documentation/examples) Closes: 610429 624155 655241 731497 808280 822352 Changes: apcupsd (3.14.12-1.3) unstable; urgency=medium . * Non-maintainer upload. * Don't create the /etc/nologin file if apcupsd.conf contains "NOLOGON disable". closes:#731497 * Change log levels for a number of messages to more logical levels. closes:#808280 * Don't pass parameters to update-rc.d. closes:#822352,#610429 * Remove Subject: lines in the body of email messages. closes:#655241 * Don't build and install /sbin/smtp, it's not used. closes:#624155 * In the init.d script, check for a /etc/nologin file that apcupsd created (i.e. contains "POWER FAILURE") and if found, delete it; upon reboot there isn't any reason to keep apcupsd's /etc/nologin file. * In the init.d script, source /lib/lsb/init-functions . * Remove sourceforge logo from HTML pages in apcupsd-doc package (lintian privacy-breach-logo error). * Use "command -v invoke-rc.d" instead of "[ -x /usr/sbin/invoke-rc.d ]" in postrm to appease lintian. * Bumped Standards-Version to 3.9.8 (no additional changes necessary). Checksums-Sha1: 3c35e96516dc50fbedb3ff1eed5fdeb4e677b5b7 2025 apcupsd_3.14.12-1.3.dsc f2d6b50020b974d3e2706db2a4e408bbaac83116 19577 apcupsd_3.14.12-1.3.diff.gz 85a1e6bba34a8974b74f1c99935992bf6decfa1b 106784 apcupsd-cgi-dbgsym_3.14.12-1.3_amd64.deb ae347db4c19a82a41b50feb574ae5d361321b0db 74058 apcupsd-cgi_3.14.12-1.3_amd64.deb dc603e08b8ca6662c64030baee9d31d65cb49f4e 690678 apcupsd-dbgsym_3.14.12-1.3_amd64.deb d28fc002cc25ce49c20cc99b17dae6f294e3022e 386046 apcupsd-doc_3.14.12-1.3_all.deb 0f3539361e2fac31680682e1669e347c1c312152 230800 apcupsd_3.14.12-1.3_amd64.deb Checksums-Sha256: 7bc90a7cc1f63c3beb8315f101699b9057bbceccbcbe204129b2f2d326a7de7f 2025 apcupsd_3.14.12-1.3.dsc d92aa0bd6697697657661f69adffca60f21c70923047b0cb1fc0bafe1dac6890 19577 apcupsd_3.14.12-1.3.diff.gz a578371b2195b71f99db502707faa3ee9a80308125593c3d88a6fe3fa4dbd2af 106784 apcupsd-cgi-dbgsym_3.14.12-1.3_amd64.deb 2ad0594bc2f5ebd9d8acc6eef11e1efb17bac4b781ec63ce6ced67fafcfce957 74058 apcupsd-cgi_3.14.12-1.3_amd64.deb d14a3126981d45522abdd06a1f0ba2c00908bd31dbb1890c92988cd6f6f60bb9 690678 apcupsd-dbgsym_3.14.12-1.3_amd64.deb 2f8d2d4d0fe135afee312321fe5068c2cca5d8c02eaeda5c2c6ebbabcddad1d5 386046 apcupsd-doc_3.14.12-1.3_all.deb c99f325ceff8bd89d0d1a81dc2604365d8285b83751a1629d2228da8c416dd8b 230800 apcupsd_3.14.12-1.3_amd64.deb Files: 93a62ac79bb51e636196f105eaf173de 2025 admin extra apcupsd_3.14.12-1.3.dsc df5a592cd157ffcee836946f505e363f 19577 admin extra apcupsd_3.14.12-1.3.diff.gz 250538241fbea030aa9f36e68cbc2447 106784 debug extra apcupsd-cgi-dbgsym_3.14.12-1.3_amd64.deb 4d2671027338f9b923fd5475c2e1137c 74058 web extra apcupsd-cgi_3.14.12-1.3_amd64.deb bda85b3c63189ebe71a668ae06ed4677 690678 debug extra apcupsd-dbgsym_3.14.12-1.3_amd64.deb e293c9934f88be5465765bf9b94ea926 386046 doc extra apcupsd-doc_3.14.12-1.3_all.deb 29d6a33f2d5396a4863890c7031bb0d4 230800 admin extra apcupsd_3.14.12-1.3_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXc5HlAAoJEDL3jc6tETuLsAUQAIeY/AedBA7/w2+zJirmDpSg kae2Cp8I3BG7V9xkDHFXUMLLSqgcwJ090ieyHgSr3vYKIGCYfC/UKgEPT2wOk9xi fcr0Pkeh/f8bQgPwD5aYk6q3Xllr9mmg0/YcGz5RkfbHNe/pP+HHS7RtB1SRjU0I NPxAt1GLbEj9CLlwauxY7nWvm1EJKhci7zm8ChmyJi86qFerVwGlekWNujc9ZVAF FQ8z6M/R02Uw9y85A8lIkaGPmN1bU1UhKJUWqa7cME6Fcuf+UvQA9ia7guXcHiLz dLiTuHLDoiNdA0h8OfOAueCAhSNkciZyp7MhRgRdcaRBCJv2DlWI7mjY6MWd6y+g Gjp9h41Rfm3L3hcJBjXFpvmct3K9MRAxtERDj9Uorj6T8j3A59RAvBtt8AMx6WZY 49myUGLRAtYKnhr0KgSQkKiYTy95eUd1ID9xdrgpe6wuCKwfTF/MqHj+UDipJn0r 6aDb6Mg50EO42VLh3a+R4hvPxnJMsitGp4atLsESR6IrISLIg1j02gv3IwoleBWZ bzApHCi5ENGYcivd43GMw3Ufe9kbWI/KFC/OaeudUmB+gHH+SrUosT0xEzRMTHxb t251Jntfyuxt0dIYo+67TJTaIyBv03rbPPrIo0wmZSPyUEHre/W5Bxf92pOzOs3w YYIzzw6V4no5Qt6jRdLs =/vj5 -----END PGP SIGNATURE-----
--- End Message ---

