Your message dated Tue, 02 Jun 2015 19:22:45 +0000 with message-id <[email protected]> and subject line Bug#763658: fixed in prosody 0.9.8-1 has caused the Debian Bug report #763658, regarding prosody: if prosody-daemon is turned off logrotation produces error-mails 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.) -- 763658: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763658 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: prosody Version: 0.9.4-1~wheezy1 Severity: minor Tags: patch Dear Maintainer, *** Please consider answering these questions, where appropriate *** * What led up to the situation? Turn of prosody and let cron do his daily logrotation. It triggers an error mail, because the postrotate includes a reload of prosody. So, because the daemon is off, the logrotation exits with 1 and triggers a cron error-mail like ------------- From: root@jabber-dev (Cron Daemon) To: root@jabber-dev Subject: Cron <root@jabber-dev> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) Date: Wed, 1 Oct 2014 06:25:55 +0200 (CEST) /etc/cron.daily/logrotate: error: error running shared postrotate script for '/var/log/prosody/prosody.log /var/log/prosody/prosody.err ' run-parts: /etc/cron.daily/logrotate exited with return code 1 ------------- * What exactly did you do (or not do) that was effective (or ineffective)? Turn off prosody * What was the outcome of this action? An error-mail from cron came in * What outcome did you expect instead? The logrotate script should check whether the pid-file of prosody exists and reload only in case the file exist proposal: diff --git a/debian/prosody.logrotate b/debian/prosody.logrotate index a4d6957..c13ccd7 100644 --- a/debian/prosody.logrotate +++ b/debian/prosody.logrotate @@ -5,7 +5,7 @@ delaycompress create 640 prosody adm postrotate - /etc/init.d/prosody reload > /dev/null + [ -e /var/run/prosody/prosody.pid ] && /etc/init.d/prosody reload > /dev/null endscript sharedscripts missingok -- System Information: Debian Release: 7.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-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
--- End Message ---
--- Begin Message ---Source: prosody Source-Version: 0.9.8-1 We believe that the bug you reported is fixed in the latest version of prosody, 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. Sergei Golovan <[email protected]> (supplier of updated prosody 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: Tue, 02 Jun 2015 18:27:08 +0300 Source: prosody Binary: prosody Architecture: source amd64 Version: 0.9.8-1 Distribution: unstable Urgency: medium Maintainer: Matthew James Wild <[email protected]> Changed-By: Sergei Golovan <[email protected]> Description: prosody - Lightweight Jabber/XMPP server Closes: 748721 763658 787070 Changes: prosody (0.9.8-1) unstable; urgency=medium . * New upstream release. * Remove the patch which validates UTF-8 strings before calling libidn because it's already applied upstream: - 0005-Validate-UTF-8-strings-before-calling-libidn.patch * Remove from the package two patches already removed from the patch series: - 0005-Disable-LuaExpat-buffering-if-possible.patch - 0006-Also-disable-CharacterData-merging-after-stream-rest.patch * Do not reload prosody configuration after its log is rotated if the daemon is not actually running (closes: #763658). * Rename the default snakeoil localhost certificate to localhost.crt to match its name in the config file (closes: #748721). * Apply upstream patch which fixes CNAME DNS record resolution (closes: #787070): - 0007-Fix-CNAME-DNS-lookup.patch * Remove quilt from the package build dependencies. * Bump the standards version to 3.9.6. Checksums-Sha1: 5b3187d06ce26c1e303d7cdea0cda874ba86f082 1941 prosody_0.9.8-1.dsc e338eb995f3c594ab6d1f03a7f36224e93c31c0b 268716 prosody_0.9.8.orig.tar.gz dd28ce09ea607d848dd60905379308f36a3f0fab 11996 prosody_0.9.8-1.debian.tar.xz 4317f622507f0232312093ff41c2dd02512113e0 203870 prosody_0.9.8-1_amd64.deb Checksums-Sha256: 9cf816b121b56cefc15a04a6b12009c9262d52b9397bdff41f500d72c61241f9 1941 prosody_0.9.8-1.dsc 9470415c56e0b847089b45fabd48bc1f8211cd525fba56967409d064f4257871 268716 prosody_0.9.8.orig.tar.gz f3364e08e31bb44edcc4eb2d9ed2f1120d56935e9b1f44a3bf1e92ac1404d248 11996 prosody_0.9.8-1.debian.tar.xz 2364e5ba5b7bd66d8f951f1a08a7e7ee5ec3431a3e8e726b2b415504bfbd5b3d 203870 prosody_0.9.8-1_amd64.deb Files: 5972853b29a2843e022b8834871c79e2 1941 net extra prosody_0.9.8-1.dsc 5144cd832a1860443e21e336dc560ee7 268716 net extra prosody_0.9.8.orig.tar.gz 7c43e7a598a4b60f87e06f8455452ed9 11996 net extra prosody_0.9.8-1.debian.tar.xz 998c19b3e250d26cd59af0810a4372f4 203870 net extra prosody_0.9.8-1_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIVAwUBVW39clfnxjJPgTkdAQg74A//fvyeigOVo6FrJrJuCUYUXG2mZ3uI2Lez dBrWpZuYZOq0mU856Yfxnn6ABcifn05TpbwrNDdZcAlTuewiLtpTLyqcNmiPjBso 3A4KWfdCTQEGArc38/GycHnybQidL5GQnYTnfppvDDkUKjH2gCPq86wcAjD3qMyZ nuSQ0c+nK1X+wdRFOQUJVpfEU9fyVHNsUxBkmoyP2LswRk8Re1Otn548VfcxY0ya 8RAHwpAvKeQY7MxJgLBnTSjomb/KmFAAxC8aWFvICsgJsRN64W358jEahq3uATZU 7cWA+QPBhRs5V6HJYqtqWM9s2DXEsONO9EZwYTVEZA1+FPV+APUYX4huN2yNUv8n XgWNamT9DT8npwR85MvmDz49BGGx9F7i/xQC6PAw2qFjTIEsBhgAbko+ZNzUNsoC kUMT4jzUKU4SwWQbrGjlaJ8xS5ECl70zRouAtQ1OhYrQYaJDz9/SmeJ4szTVM1N2 8lHucwr4Xqxs3YK7emWt1QZVbrSEi1r1XYmkGC4bJoN0ydaPrySH1+0RLmlYaxDi WkMSGPAp+wkP8UIlgWjtaMate/sAcpSi5UIEQwZrHLYHDCa/5zDR0QwDsTxZ6fcw 3aI2EXrMgRgSoRxYJGpnbKFjimJks7bZKOaqAgQlLCVv1128AxWmKjSNsYgvrYQy LxfpZ8HjJbg= =J7Wp -----END PGP SIGNATURE-----
--- End Message ---

