Package: distcc
Version: 3.1-5
Severity: normal
Tags: patch

The postinst script is missing a exit statement in the triggered case,
which leads to distcc being needlessly restarted after a gcc update.

Thanks,
Daniel Schaal

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (103, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.4.1 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages distcc depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.43
ii  libavahi-client3       0.6.31-1
ii  libavahi-common3       0.6.31-1
ii  libc6                  2.13-33
ii  libpopt0               1.16-7
ii  lsb-base               4.1+Debian7
ii  netbase                5.0

distcc recommends no packages.

Versions of packages distcc suggests:
ii  ccache           3.1.7-1
ii  dbus             1.6.0-1
pn  distcc-pump      <none>
pn  distccmon-gnome  <none>

-- debconf information excluded
>From 4ae28e35c9ae80df711fe7b0746d760e3ba74234 Mon Sep 17 00:00:00 2001
From: Daniel Schaal <farb...@web.de>
Date: Tue, 12 Jun 2012 19:35:36 +0200
Subject: [PATCH] add exit 0 to triggered case in postinst

---
 debian/distcc.postinst |    1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/distcc.postinst b/debian/distcc.postinst
index 45a13dd..18848c9 100644
--- a/debian/distcc.postinst
+++ b/debian/distcc.postinst
@@ -117,6 +117,7 @@ EOF
 		;;
 	triggered)
 		update_symlinks
+		exit 0
 		;;
         abort-upgrade|abort-remove|abort-deconfigure)
         ;;
-- 
1.7.10

Reply via email to