Your message dated Fri, 20 Mar 2015 22:34:17 +0000 with message-id <e1yz5uf-0003z4...@franck.debian.org> and subject line Bug#747863: fixed in nut 2.7.2-4 has caused the Debian Bug report #747863, regarding systemd service fails by default and causes package install failure 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 ow...@bugs.debian.org immediately.) -- 747863: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747863 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: nut-client Version: 2.7.1-1 Hello, nut-client's current systemd unit for upsmon is missing the init.d script's check for the unconfigured "MODE=none" in /etc/nut/nut.conf. This leads to a failed unit: | Apr 27 10:41:43 laptop upsmon[2856]: Fatal error: insufficient power configured! | Apr 27 10:41:43 laptop upsmon[2856]: Sum of power values........: 0 | Apr 27 10:41:43 laptop upsmon[2856]: Minimum value (MINSUPPLIES): 1 | Apr 27 10:41:43 laptop upsmon[2856]: Edit your upsmon.conf and change the values. | Apr 27 10:41:43 laptop systemd[1]: nut-monitor.service: control process exited, code=exited status=1 | Apr 27 10:41:43 laptop systemd[1]: Failed to start Network UPS Tools - power device monitor and shutdown controller. | -- Subject: Unit nut-monitor.service has failed Unfortunately due to that the package installation also fails as the autogenerated postinsts assume invoke-rc.d to succeed. In other words, a clean install of nut-client under systemd fails. I see the following options: * Somehow add that startup condition to the .service. There is no "ConditionCommand" or similar which could hold that though, and putting the test into ExecStartPre= or similar wouldn't work either. So it would need to be something which doesn't cause the unit to fail (due to non-running daemon or non-zero exit). * In the postinst, only enable the unit if the service is configured, otherwise leave it as disabled; and add instructions how to enable it (with update-rc.d?) to nut.conf. * Drop the systemd unit entirely and continue using the init.d script for the time being (that's what I just did to the Ubuntu package for simplicity, for the record). Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---Source: nut Source-Version: 2.7.2-4 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. 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 747...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Laurent Bigonville <bi...@debian.org> (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 ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 20 Mar 2015 23:12:53 +0100 Source: nut Binary: nut nut-server nut-client nut-cgi nut-snmp nut-ipmi nut-xml nut-powerman-pdu nut-doc libupsclient4 libupsclient-dev python-nut nut-monitor libups-nut-perl Architecture: source all amd64 Version: 2.7.2-4 Distribution: unstable Urgency: medium Maintainer: Arnaud Quette <aque...@debian.org> Changed-By: Laurent Bigonville <bi...@debian.org> Description: libups-nut-perl - network UPS tools - Perl bindings for NUT server libupsclient-dev - network UPS tools - development files libupsclient4 - network UPS tools - client library nut - network UPS tools - metapackage nut-cgi - network UPS tools - web interface nut-client - network UPS tools - clients nut-doc - network UPS tools - documentation nut-ipmi - network UPS tools - IPMI driver nut-monitor - network UPS tools - GUI application to monitor UPS status nut-powerman-pdu - network UPS tools - PowerMan PDU driver nut-server - network UPS tools - core system nut-snmp - network UPS tools - SNMP driver nut-xml - network UPS tools - XML/HTTP driver python-nut - network UPS tools - Python bindings for NUT server Closes: 747863 Changes: nut (2.7.2-4) unstable; urgency=medium . * Really fix package initial installation when PID1 is systemd (Closes: #747863) Checksums-Sha1: ad0debbfc8d62624dfd1e6f777e5407a929dbb76 2710 nut_2.7.2-4.dsc f79d319e24c04c41bae0ac0c3dba9a63318566c0 53664 nut_2.7.2-4.debian.tar.xz 65cb56571c7faafb594d6ba6afb0233e537fec79 207228 nut_2.7.2-4_all.deb cfccdf9a367ec374b2aa71c780b578724c2d375d 1958828 nut-doc_2.7.2-4_all.deb 082276819b2a14a58f80eb93795eb71d9703ed73 132256 python-nut_2.7.2-4_all.deb 30b235d7e4b45349c12982f47fd77158cd147211 158148 nut-monitor_2.7.2-4_all.deb 53939d3a7ba2aa4c8c2ca41b28d73f9a67a3e23f 136956 libups-nut-perl_2.7.2-4_all.deb feba8dd8acfd1912d9976a2e921a5b2eeec75b01 750660 nut-server_2.7.2-4_amd64.deb 585a6fb6f0023b7bf487f46beb8bb6a703b4192d 215226 nut-client_2.7.2-4_amd64.deb 031f76bcc7cc8ca0da60919592c4de7891b9a6d2 175336 nut-cgi_2.7.2-4_amd64.deb 0cefd446b375dfd7b7776eaa85e07ec58807692b 167240 nut-snmp_2.7.2-4_amd64.deb 29c645ba87cf780cbf7af2187b8ff14cca03fe75 156166 nut-ipmi_2.7.2-4_amd64.deb 8cf77474ae14136432090605225dab50368274cb 162062 nut-xml_2.7.2-4_amd64.deb 64c5f60b6b6f297febcc761f0a2f91873a9af518 151858 nut-powerman-pdu_2.7.2-4_amd64.deb 8b26a803ebb82a605ed9d9d9732d3a2c0c8324f3 148346 libupsclient4_2.7.2-4_amd64.deb 7b1015d2117ab40a7d16b3f5179c238f5a404e68 187450 libupsclient-dev_2.7.2-4_amd64.deb Checksums-Sha256: 9a541e8fb639bc6a5bf0658486762ff778c088e73fe022fe4d1cf4b743948bf8 2710 nut_2.7.2-4.dsc f533e42280ff80b348c6c8c9540c9d9aa9df4fb0188642617d5e0ecce84e0cd4 53664 nut_2.7.2-4.debian.tar.xz 2ccdef393726a529273f9df77004469fcc4e8b81b61196c4c5de3f7a6dfea0bf 207228 nut_2.7.2-4_all.deb 7d348dae9333a061fde364758dcc81fdd6f00c5ba66d303f9b97d9b8a143d60a 1958828 nut-doc_2.7.2-4_all.deb 03eda85e246c439891a090ec6fc5c962d72610ef39db8701945f1d41571586a1 132256 python-nut_2.7.2-4_all.deb 103017199a8206a802918e96d8548cc71173c8c669fd9f75a4e2a7a63947daab 158148 nut-monitor_2.7.2-4_all.deb 35fa6c3934407a699259b5517d1fd7289f69997d7b5d4e95a255cf22283c7878 136956 libups-nut-perl_2.7.2-4_all.deb 05a578a75e1794c0857b4c5bb01944a0dadf5215f3a6cd04f5df76770df172bb 750660 nut-server_2.7.2-4_amd64.deb 4a976e6d8862c04ff9572f831fead95e2a24fcc48694dba139c54fe4a518c874 215226 nut-client_2.7.2-4_amd64.deb 277da11ae875a75c6671eb4460170925cb527c686c69f7080a7ed366188ed6d6 175336 nut-cgi_2.7.2-4_amd64.deb b612b701b165f34e19edc73039cbdf7e23666d6eaf1e01c7c845e85e30dedb6a 167240 nut-snmp_2.7.2-4_amd64.deb 6e1045aa8caeae72a2ac41e2be2436b49eba5603ba0fa197b22de58eb1dd5287 156166 nut-ipmi_2.7.2-4_amd64.deb 8193223ef360d3bd8ce1086e70ba49544bc74451ada64d8d0e69a7ce34e8900f 162062 nut-xml_2.7.2-4_amd64.deb b5b363a223a439e7a4bd0e725154acd1c5d9d2fc9a834c904986de9367713a3b 151858 nut-powerman-pdu_2.7.2-4_amd64.deb 97814189d796bf52628300bb4eff8ad436afb252fecece301b292da15c61d0db 148346 libupsclient4_2.7.2-4_amd64.deb 14532f004684790bf351d7900153e4978da7e21453f529584820f9fb5ef65464 187450 libupsclient-dev_2.7.2-4_amd64.deb Files: ba4fd1059c60310c309e3045e2c07745 2710 admin optional nut_2.7.2-4.dsc 1bc61bedf6e2492f2bdcaa5da47c7b1b 53664 admin optional nut_2.7.2-4.debian.tar.xz 8f5eb6d14536cf328e168c8235a8b825 207228 metapackages optional nut_2.7.2-4_all.deb 438f643e2ca885f513b62e31850063a8 1958828 doc optional nut-doc_2.7.2-4_all.deb 07a96a3f1c4dfd5728e8c5d0c7b4d0c8 132256 python optional python-nut_2.7.2-4_all.deb f7762199c8ddbcf10ed56e6a391ad094 158148 admin optional nut-monitor_2.7.2-4_all.deb a5f157024d9457bdfc874eaab9e6351f 136956 perl optional libups-nut-perl_2.7.2-4_all.deb 6b50fbdbde626899ee57f5f4fd377ce0 750660 admin optional nut-server_2.7.2-4_amd64.deb 05a21795a778529cc5278938b10ea62f 215226 admin optional nut-client_2.7.2-4_amd64.deb d75ec402dae23b716f6ee7077b53b6e0 175336 admin optional nut-cgi_2.7.2-4_amd64.deb e2d78caa9dc26fdea4eca98715de5376 167240 admin optional nut-snmp_2.7.2-4_amd64.deb c84e2ecaf72ab818f2e8afa7de435dc4 156166 admin optional nut-ipmi_2.7.2-4_amd64.deb e2b1965d1b61be5a8cf115aa593d0057 162062 admin optional nut-xml_2.7.2-4_amd64.deb ffcde3abfe6b181b48a25ba9f2a1ea5d 151858 admin extra nut-powerman-pdu_2.7.2-4_amd64.deb 39b70d711355563f448d432c87310b05 148346 libs optional libupsclient4_2.7.2-4_amd64.deb 53e5fbe352496bba3d2a7e822d233a31 187450 libdevel optional libupsclient-dev_2.7.2-4_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCAAGBQJVDJ4kAAoJEB/FiR66sEPVoasH/RLZncMgyNj5rTc/K3Ds4gGT kAscadDEu4cqIGHLt7yQLRJ6yvIXmy5kGl7rM8IhsGyC8fxGvfdNQGLtJ9LydmNG /he9QMfDzAtKPjqr5Nmhgv1fENLW4W/jRwGXtY6ETTeHXTlFr96pCH6hQKaa2Ult 10yFwNEc5OG30Orbo6HvXaWIZ/OUTSLANP9+qs312O7jECtOJd/SVpFyIMyvY9bz 63P3gFcEA98Xgqo/ilGIuI/X5VCc/EYzysAfdV5F9Yf42THJYbKm7ZNwQ0BbXrcB 5eND2kdKvvG7sSYjauo2nv1ehVCkdkAG5zG+QOjP4btTIAS3lDJVJH7XP2iN4rE= =ZWJY -----END PGP SIGNATURE-----
--- End Message ---