logo       

Bug#522703: marked as done (logrotate postrotate script causes errors when: msg#03650

debian-bugs-closed

Subject: Bug#522703: marked as done (logrotate postrotate script causes errors when icecast2 not running)


Your message dated Fri, 31 Jul 2009 01:47:04 +0000
with message-id <E1MWhD6-0001GN-FF@xxxxxxxxxxxxxxx>
and subject line Bug#522703: fixed in icecast2 2.3.2-3
has caused the Debian Bug report #522703,
regarding logrotate postrotate script causes errors when icecast2 not running
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 owner@xxxxxxxxxxxxxxx
immediately.)


--
522703: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522703
Debian Bug Tracking System
Contact owner@xxxxxxxxxxxxxxx with problems
--- Begin Message ---
Subject: logrotate postrotate script causes errors when icecast2 not running
Package: icecast2
Version: 2.3.2-2
Severity: normal

icecast2's logrotate postrotate script tries to do the right thing when the
daemon isn't running:

pgrep icecast2 >/dev/null && invoke-rc.d --quiet icecast2 reload > /dev/null

However, since shell lists return the exitcode of the last executed portion,
pgrep(1)'s exit code of 1 is returned and causes logrotate output:

/etc/cron.daily/logrotate:
error: error running postrotate script for /var/log/icecast2/error.log
run-parts: /etc/cron.daily/logrotate exited with return code 1

This uglier version fixes this:

! pgrep icecast2 >/dev/null || invoke-rc.d --quiet icecast2 reload > /dev/null

but is logically unwieldy. Might be better to use a full-blown if statement.

-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: alpha

Kernel: Linux 2.6.18-6-alpha-smp (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages icecast2 depends on:
ii adduser 3.110 add and remove users and groups
ii libc6.1 2.7-18 GNU C Library: Shared libraries
ii libcurl3-gnutls 7.18.2-8lenny2 Multi-protocol file transfer libra
ii libogg0 1.1.3-4 Ogg Bitstream Library
ii libspeex1 1.2~rc1-1 The Speex codec runtime library
ii libtheora0 1.0~beta3-1 The Theora Video Compression Codec
ii libvorbis0a 1.2.0.dfsg-3.1 The Vorbis General Audio Compressi
ii libxml2 2.6.32.dfsg-5 GNOME XML library
ii libxslt1.1 1.1.24-2 XSLT processing library - runtime

Versions of packages icecast2 recommends:
pn ices2 <none> (no description available)

icecast2 suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Subject: Bug#522703: fixed in icecast2 2.3.2-3
Source: icecast2
Source-Version: 2.3.2-3

We believe that the bug you reported is fixed in the latest version of
icecast2, which is due to be installed in the Debian FTP archive:

icecast2_2.3.2-3.diff.gz
to pool/main/i/icecast2/icecast2_2.3.2-3.diff.gz
icecast2_2.3.2-3.dsc
to pool/main/i/icecast2/icecast2_2.3.2-3.dsc
icecast2_2.3.2-3_amd64.deb
to pool/main/i/icecast2/icecast2_2.3.2-3_amd64.deb



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 522703@xxxxxxxxxxxxxxx,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Romain Beauxis <toots@xxxxxxxxxxxxxx> (supplier of updated icecast2 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 ftpmaster@xxxxxxxxxx)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 31 Jul 2009 02:50:37 +0200
Source: icecast2
Binary: icecast2
Architecture: source amd64
Version: 2.3.2-3
Distribution: unstable
Urgency: low
Maintainer: Debian Icecast team <pkg-icecast-devel@xxxxxxxxxxxxxxxxxxxxxxx>
Changed-By: Romain Beauxis <toots@xxxxxxxxxxxxxx>
Description:
icecast2 - Ogg Vorbis and MP3 streaming media server
Closes: 513398 519486 522703 533182
Changes:
icecast2 (2.3.2-3) unstable; urgency=low
.
[ Jonas Smedegaard ]
* Cosmetic changes to debian/rules.
.
[ Romain Beauxis ]
* Bumped standards version to 3.8.2
* Bumped compat to 7
* Removed inactive uploader.
* Added missing xspf.xsl. This file is missing
from upstream's 2.3.2 tarball.
Closes: #513398
* Added test for icecast2 running process in
logrotate's postrotate script.
Closes: #522703
* Relaxed non-config file permissions in /etc/icecast2
Closes: #519486
* Added retry option for icecast2's init.d restart action.
Closes: #533182
* Changed recommends on ices2 to suggests now that
recommended packages are installed by default.
* Removed path in postrm script commands, see lintian
warning 'command-with-path-in-maintainer-script'.
Checksums-Sha1:
1dac94e70388f22b4eb2301cf879d3c5c91e1d0d 1842 icecast2_2.3.2-3.dsc
2cc587f72ed30e029589adb86dc5d4cf0d3eb965 22387 icecast2_2.3.2-3.diff.gz
9c501ed7761497600b00251cba43ff13d3b056c5 310504 icecast2_2.3.2-3_amd64.deb
Checksums-Sha256:
0e63b542279a1ed7541fda5632bc13c3d89828f63fa04fa3c67b29a55c98654d 1842
icecast2_2.3.2-3.dsc
c8ccb75a13657bd9582cd0f9d0cea186207c782b88f73ffdb09b6c95fd2af5d7 22387
icecast2_2.3.2-3.diff.gz
7bb91e17473a55c97ebd42609759a772a87c31bcc8d8c1bc501f9ea730f64df7 310504
icecast2_2.3.2-3_amd64.deb
Files:
ca14a7ffd257c354e6c7ec6430a4541f 1842 sound optional icecast2_2.3.2-3.dsc
c098b395c9ca9126141e8c5097be0e47 22387 sound optional icecast2_2.3.2-3.diff.gz
6b6ad57bac805f0db50a14f52854eb2a 310504 sound optional
icecast2_2.3.2-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQEcBAEBAgAGBQJKcks6AAoJEAC5aaocqV0ZW5IH/2QZawDTlGLD+ScQKJypqSG0
kZLdXldagZ5BovjTI0hNC9RLGISnvzmOzOBG48bxM3JhJCX0HUEV4UR10F196HAd
kH1Y3d6zC9ux1ptu10DOiw7jqcr7sj5akqBfxIdGCLknCKbUO1kDQrcnMzYy2Jtf
59eZi2CEEjLlSEmGtRBUsPiJzbUtMSYFNyC8e42lRhB8FyflYPawAKOvY3mhft7H
XwhR5Ux3jrs5avzRIJrSJiDjTo2wFurMmuS/1PpInwXU5IDs1gJyB90jTrJEaQho
NUNXJQ0qLa2n61SiSEeAryUVhZP/iIu9mfhSC+5IoL18GkxMQhtPHOoAmoHJaN0=
=XLYl
-----END PGP SIGNATURE-----



--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise