The BTS ate my comments, but it processed the commands ...

Andreas

-------- Original Message --------
Subject: Re: Bug#619007: otrs2: fails to install
Date: Fri, 23 Mar 2012 10:23:27 +0100
From: Andreas Beckmann <deb...@abeckmann.de>
To: 619...@bugs.debian.org, cont...@bugs.debian.org

reopen 619007
found 619007 2.4.9+dfsg1-3+squeeze1
fixed 619007 2.4.9+dfsg1-5
tag 619007 squeeze
retitle 619007 otrs2: fails to install - otrs.RebuildConfig.pl fails
thanks

On Wednesday, 23. March 2011 00:01:34 Holger Levsen wrote:
> On Dienstag, 22. März 2011, Patrick Matthäi wrote:
> > Hmm what's wrong with calling:
> >     invoke-rc.d apache2 force-reload
> > in postinst?
> >
> || true

Thats a bogus fix that was done in 2.4.9+dfsg1-5.
invoke-rc.d does not produce that error, it just produced the last line of
output before the error. Therefore that || true should be removed again (if
it's still there).

Running the postinst script (from the version currently in stable) with
set -x
reveals:

...
+ setup_apache
+
[ -e /etc/otrs/apache2-httpd.include.conf -a ! -e
/etc/apache2/conf.d/otrs2 ]
+
ucf --three-way --debconf-ok
/usr/share/otrs/scripts/apache2-httpd-new.include.conf
/etc/apache2/conf.d/otrs2
+ [ -f /etc/apache2/mods-available/perl.load ]
+ a2enmod perl
Module perl already enabled
+ a2enmod rewrite
Module rewrite already enabled
+ db_stop
+ echo STOP
+ invoke-rc.d apache2 force-reload
invoke-rc.d: policy-rc.d denied execution of force-reload.
+ setup_ZZZ
+ [ ! -f /var/lib/otrs/Config/ZZZAuto.pm ]
+ [ -f /etc/otrs/database.pm ]
+ /usr/share/otrs/bin/otrs.RebuildConfig.pl
dpkg: error processing otrs2 (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 otrs2

So it's otrs.RebuildConfig.pl that fails (silently).

I'm reopening the bug for squeeze (-3+s1), keeping the old fixed version
(-5,
which is probably incorrect but I don't want to bisect it) as the
problem is
fixed in the versions in wheezy+sid.

Andreas



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to