Your message dated Wed, 21 Jan 2015 11:48:59 +0000 with message-id <e1ydtmn-0004ys...@franck.debian.org> and subject line Bug#747863: fixed in nut 2.7.2-1.1 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-1.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. 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. Neil Williams <codeh...@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: Sat, 17 Jan 2015 10:29:11 +0000 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-1.1 Distribution: unstable Urgency: medium Maintainer: Arnaud Quette <aque...@debian.org> Changed-By: Neil Williams <codeh...@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-1.1) unstable; urgency=medium . * Non-maintainer upload. * Port Ubuntu change to drop upstream systemd unit files to allow sysvinit files for Jessie. (Closes: #747863) Checksums-Sha1: 7ab0e33b2ba0d7a6cd29f08d39cbe0f0ece06575 3064 nut_2.7.2-1.1.dsc fcc195f3671cc34b4c88d4894578051afa734611 52264 nut_2.7.2-1.1.debian.tar.xz 1e22f453000a8d4ac039b546675d6421484532ca 206716 nut_2.7.2-1.1_all.deb 0fc0b9a3059f370f4bb4210e0d883d273aa6ccaf 1958310 nut-doc_2.7.2-1.1_all.deb ed85c17335829e983db4145916230ceef301c09a 131648 python-nut_2.7.2-1.1_all.deb a5ab997b05c9637f0df4b5eba6a882313aedd178 157412 nut-monitor_2.7.2-1.1_all.deb 85cc13c485c8f0168cdc2e59beb386482139f800 136382 libups-nut-perl_2.7.2-1.1_all.deb 09e8f33912edaa30cda25e0e22d199ef4ea01f83 749666 nut-server_2.7.2-1.1_amd64.deb d8c6c40596daee4af3209ee3e4c0b5b5582a41f6 212440 nut-client_2.7.2-1.1_amd64.deb 3f91c6969d9626e2145b1a824063fd0cd240534f 174580 nut-cgi_2.7.2-1.1_amd64.deb 6120326942faf272133defc9415e8006e5bcb764 166854 nut-snmp_2.7.2-1.1_amd64.deb 2171dc8b491b419f5586333d80ac453d4e1f556c 155590 nut-ipmi_2.7.2-1.1_amd64.deb 65c15c06e3932826f7dee17cbd09273aa3777059 161412 nut-xml_2.7.2-1.1_amd64.deb 6e89868214084c41b620b631b454e8aca04e88cf 151284 nut-powerman-pdu_2.7.2-1.1_amd64.deb ed2289951042b5d125874da8417d2a9478e95835 147886 libupsclient4_2.7.2-1.1_amd64.deb f447a1c56b74b73ab0fa67c3f9d589796f9a4d4f 186940 libupsclient-dev_2.7.2-1.1_amd64.deb Checksums-Sha256: 6f0a322e1bfbbe56915981ce80368f516e98b921d4162187ebd2fbaee7217bd4 3064 nut_2.7.2-1.1.dsc 5a6e1e1deadb7356860c0375da9ba764e50defe2a6511482b93266875075056e 52264 nut_2.7.2-1.1.debian.tar.xz 9cc3a8efeb42236c9b18d882a7746822b2380cfe81ef4c1ece72c172ba89cecd 206716 nut_2.7.2-1.1_all.deb 925baf32b356758715a6d0ae33b9e94c12c64901a83f537f127a8b0d71936172 1958310 nut-doc_2.7.2-1.1_all.deb ac8a2043823f072846fcadb7a68420cdf63a6a9447a26959d2ba84e7e53f0d5e 131648 python-nut_2.7.2-1.1_all.deb 16f26a7a8b2d73764cc0b3fdbc14ae5dd4a1ed8d37bc26a36c331e7d039e5291 157412 nut-monitor_2.7.2-1.1_all.deb 80b9d32d0b935a28bb5114c71429eb8f3455d8ef10d61a40c68d613d7351412c 136382 libups-nut-perl_2.7.2-1.1_all.deb 5d0063fd6f5f042d30f3cd1f0d029d5b83b609e0f96d5d004fdb67321fadb088 749666 nut-server_2.7.2-1.1_amd64.deb 55bf5c3cddaeb04dbd33049db1fc6896ee416683c753d50eccbccb71ad99aa57 212440 nut-client_2.7.2-1.1_amd64.deb febd81276929ecceaaa38b930b7c572addb7643d5f338d2b22403dc840534df8 174580 nut-cgi_2.7.2-1.1_amd64.deb 28af74db83ca1fcc12551ec68ef342e6c953a76f1b9049ce2d2c42ca4834b179 166854 nut-snmp_2.7.2-1.1_amd64.deb d3fd6d4c2ab316e28fa95e3c37d6b096d8ababcf67dfb98f7c2e3d67dac1a172 155590 nut-ipmi_2.7.2-1.1_amd64.deb c35815b1457a3f44f01e829b7d9270e6febad7316133321facc58b6862530b8b 161412 nut-xml_2.7.2-1.1_amd64.deb 09632ed65114450340ab406a5b18455aed528cd28b3eada19662e578e1d7b9f0 151284 nut-powerman-pdu_2.7.2-1.1_amd64.deb fa302e75e0e84305cd9e33baf1f7ea32eb8cfe0cd789767a47521fe706c04e94 147886 libupsclient4_2.7.2-1.1_amd64.deb 354c10f13893b8474a820d6797d873798e97518ef820dc58ee988521826a3963 186940 libupsclient-dev_2.7.2-1.1_amd64.deb Files: ab1dbff4ac0c1060e1cf09240bdd19b2 3064 admin optional nut_2.7.2-1.1.dsc 634d6f1b96497b07ad512b613140dc9a 52264 admin optional nut_2.7.2-1.1.debian.tar.xz 07f6df4281bca2835e91ab09b051c4cd 206716 metapackages optional nut_2.7.2-1.1_all.deb 9934575b1e6b31d7dc5a0fe2c5e1ca17 1958310 doc optional nut-doc_2.7.2-1.1_all.deb a303b1d0a050c2edb59d25a6cdbfbab7 131648 python optional python-nut_2.7.2-1.1_all.deb bee23c8cb303145c6ad0453b8b2400d3 157412 admin optional nut-monitor_2.7.2-1.1_all.deb fe2be5ac95f32c617f2b7633b7302785 136382 perl optional libups-nut-perl_2.7.2-1.1_all.deb 1a513677d3de4ffad9d474de4a9bec42 749666 admin optional nut-server_2.7.2-1.1_amd64.deb a4026705c992dbfc170385db2f107c9f 212440 admin optional nut-client_2.7.2-1.1_amd64.deb 8874cc25201c579b6b036b4a8264c253 174580 admin optional nut-cgi_2.7.2-1.1_amd64.deb ec42ee18fb05a50ad6503d07aabf7d81 166854 admin optional nut-snmp_2.7.2-1.1_amd64.deb bb2c97575e1e354c877c37e8b8e472c5 155590 admin optional nut-ipmi_2.7.2-1.1_amd64.deb 99f9243f41ce214f140139cdabf625d0 161412 admin optional nut-xml_2.7.2-1.1_amd64.deb 2b09de23406a6f43d81485c674f30f1d 151284 admin extra nut-powerman-pdu_2.7.2-1.1_amd64.deb bfcc55129576d984db37a20603c057d8 147886 libs optional libupsclient4_2.7.2-1.1_amd64.deb 343c47e2a35682d8c5599e3817108d9a 186940 libdevel optional libupsclient-dev_2.7.2-1.1_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJUukd8AAoJEPFn5DyBQ7aCYYYP/jOt69EzT7WZ+WgNFxZO+V7u yavgCmW4/A4VHV+r/6me1bXusAqpcyorEhuOODfmWQxaKPvXiruFp6FEfb+lM6Y+ 4N4+f5TECTMzx62cf2hYyfABtyTcw682WHN6YAruqZIvcn5UDOjFwRo5R94HTzlv oc0ojGHq3YNNCI2GZGCmkRpf7/4gQERcc3OPKEsoV1Je0lgjRZ7NW39zw9MV5E2a ZcxKXOTgaxfxg13UDhQNqBosEAusV6UQjWRT8RzLGWkzbOc/dFWmvepk3kdOlz8x /KUNEFcsylTKSZoy8ApG39jCEut0IWY9W0R0svhQsMdO5j5rtG9tCxNMv/vO5ARr Ejqe/fnrFOw5OgZXvTYTO2bWVcsiohRW7PMjKkpbZYt9pJidiASdrx6KFwFXoLLZ vihggnJ+aozIajVX5SlAyTsTbJka1gvuADPrDcZA0KO7+l9lf4LU3gd/Y5KAxAUL TdSDLrBrAS/6hSVjF3b2sijAm/4Nx/QzyCwfhllqwfNxKZu2zm5HfB7F22mUMRUW mAI2wiSXh+S26xubfXIXXkHMpNfSTKEmTGhJIy4D3Y4/1Oo1NaGc9SAHVfTee0Jg enOvhQ7vvr/hqXLdqPr8Hb2BR+EdS6N0zE8v9D+FNdyJUbNzXBforoYXDw8NWAsx ep/+5qVsJBp3qkphLVLR =RXJu -----END PGP SIGNATURE-----
--- End Message ---