On Fri, Dec 17, 2010 at 04:35:33PM +0100, Julien Cristau wrote:
@@ -45,6 +45,9 @@
# Tightened permissions for the config file
chmod -R ug=rw,o=,ug+X /etc/icecast2/icecast.xml
+# avoid to fail on invoke-rc.d icecast2 start when upgrading see Bug#605507
+sleep 3
+
What
upgrading see Bug#605507
+sleep 3
+
What is this supposed to achieve?
When upgrading icecast2, stop (in prerm) and start (in postinst) process.
In some case, icecast2 gets signal and stops after a while.
If icecast2 process still exists, start fails.
So it waits for process really stopping
:19.0
+0900
+++ icecast2-2.3.2/debian/icecast2.postinst 2010-12-06 18:52:07.0
+0900
@@ -45,6 +45,9 @@
# Tightened permissions for the config file
chmod -R ug=rw,o=,ug+X /etc/icecast2/icecast.xml
+# avoid to fail on invoke-rc.d icecast2 start when upgrading see Bug#605507
Still reproducible (on upgrade):
(sid_amd64)r...@debomatic64:/home/quadrispro# dpkg -i
icecast2_2.3.2-6~0_amd64.deb
(Reading database ... 48212 files and directories currently installed.)
Preparing to replace icecast2 2.3.2-5 (using icecast2_2.3.2-6~0_amd64.deb) ...
Stopping icecast2: icecast2.
:07.0
+0900
@@ -45,6 +45,9 @@
# Tightened permissions for the config file
chmod -R ug=rw,o=,ug+X /etc/icecast2/icecast.xml
+# avoid to fail on invoke-rc.d icecast2 start when upgrading see Bug#605507
+sleep 3
+
#DEBHELPER#
exit 0
--
Regards,
dai
GPG Fingerprint = 0B29 D88E 42E6 B765
tags 605507 + patch
thanks
I reproduced this bug.
And I confirmed to resolve it by henrich's second patch.
--
Regards,
dai
GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
signature.asc
Description: Digital signature
tags 605507 - patch
thanks
Hi,
unfortunately, this isn't the solution and the bug is still reproducible.
--
Alessio Treglia | www.alessiotreglia.com
Debian Developer | ales...@debian.org
Ubuntu Core Developer | quadris...@ubuntu.com
0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C
Package: icecast2
Version: 2.3.2-5
Severity: serious
Tags: sid squeeze
This bug was originally reported on Launchpad, see
https://launchpad.net/bugs/481060 for more information.
I've reproduced this in an AMD64 sid chroot, dpkg's terminal log follows:
---
8 matches
Mail list logo