On Tue, Nov 9, 2010 at 20:46:11 +0100, Patrick Matthäi wrote:
> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: unblock
>
>
> Please unblock package otrs2
>
> unblock otrs2/2.4.9+dfsg1-2
>
>
> Updating otrs2 fixes one RC bug with new installations (upgrades are not
> affected).
> On debugging this issue I have also find out, that the postgres part failed
> with dbconfig-common, because it calls postinst with install (?!?), but okay..
Is there a bug for this?
>
> full debdiff:
>
> --- otrs2-2.4.9+dfsg1/debian/changelog 2010-10-26 18:27:04.000000000 +0200
> +++ otrs2-2.4.9+dfsg1/debian/changelog 2010-11-08 20:19:19.000000000 +0100
> @@ -1,3 +1,14 @@
> +otrs2 (2.4.9+dfsg1-2) unstable; urgency=high
> +
> + * Fix an error (unknown command in postinst) with initial installations, if
> + postgres is used as backend. Thanks to Munroe Sollog for providing
> + additional information.
> + * ZZZAuto.pm is not available with new installations, where OTRS later fails.
> + Again much thanks to Munroe Sollog for helping to debug and test it!
> + Closes: #601734
> +
> + -- Patrick Matthäi <pmatthaei@debian.org> Mon, 08 Nov 2010 19:42:47 +0100
> +
> otrs2 (2.4.9+dfsg1-1) unstable; urgency=high
>
> * New upstream release.
> diff -Nru otrs2-2.4.9+dfsg1/debian/postinst otrs2-2.4.9+dfsg1/debian/postinst
> --- otrs2-2.4.9+dfsg1/debian/postinst 2010-10-26 18:27:04.000000000 +0200
> +++ otrs2-2.4.9+dfsg1/debian/postinst 2010-11-08 20:19:19.000000000 +0100
> @@ -15,6 +15,19 @@
> dbc_go otrs2 "$@"
> }
>
> +setup_ZZZ()
> +{
> + # Create the needed ZZZAuto package, if it is not available.
> + if [ ! -f /var/lib/otrs/Config/ZZZAuto.pm ]; then
> + echo 'package Kernel::Config::Files::ZZZAuto;
> +sub Load {}
> +1;' \
> + > /var/lib/otrs/Config/ZZZAuto.pm
> + chown root:www-data /var/lib/otrs/Config/ZZZAuto.pm
> + chmod g+w /var/lib/otrs/Config/ZZZAuto.pm
This should set the desired mode explicitly rather than relying on
umask.
> + fi
> +}
> +
> setup_cron()
> {
> # save old cron config to new file /etc/otrs/cron before removing it
> @@ -63,6 +76,7 @@
> if [ -x /usr/sbin/a2enmod ]; then
> setup_apache
> fi
> + setup_ZZZ
> if [ -f /etc/otrs/database.pm ]; then
> /usr/share/otrs/bin/otrs.RebuildConfig.pl > /dev/null 2>&1
> fi
> @@ -76,6 +90,9 @@
> chmod 0775 /var/spool/otrs
> ;;
>
> + install)
> + ;;
> +
> *)
> echo "postinst called with unknown argument \`$1'" 1>&2
> exit 1
Cheers,
Julien
Attachment:
signature.asc
Description: Digital signature