[From nobody Sat Mar 21 14:55:04 2026
Received: (at submit) by bugs.debian.org; 8 Aug 2014 09:37:53 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2-bugs.debian.org_2005_01_02
 (2011-06-06) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-14.0 required=4.0 tests=BAYES_00,FROMDEVELOPER,
 HAS_PACKAGE,XMAILER_REPORTBUG autolearn=ham
 version=3.3.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 6; hammy, 103; neutral, 42; spammy, 0.
 spammytokens: hammytokens:0.000-+--H*M:reportbug,
 0.000-+--H*MI:reportbug, 
 0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug, 0.000-+--libssl100
Return-path: &lt;gaudenz@debian.org&gt;
Received: from vechigen.cirrax.com ([217.197.128.12] helo=mail.cirrax.com)
 by buxtehude.debian.org with esmtp (Exim 4.80)
 (envelope-from &lt;gaudenz@debian.org&gt;) id 1XFgcT-0005L7-DF
 for submit@bugs.debian.org; Fri, 08 Aug 2014 09:37:53 +0000
Received: from meteor.durcheinandertal.local
 (cust.static.84-253-30-238.cybernet.ch [84.253.30.238])
 by mail.cirrax.com (Postfix) with ESMTPSA id 8A74D40022;
 Fri,  8 Aug 2014 11:37:20 +0200 (CEST)
Received: by meteor.durcheinandertal.local (Postfix, from userid 1000)
 id 0A11CC0079; Fri,  8 Aug 2014 11:37:19 +0200 (CEST)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Gaudenz Steinlin &lt;gaudenz@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: libssl1.0.0: services are not restarted when upgrading
Message-ID: &lt;20140808093719.22140.18811.reportbug@moebius.durcheinandertal.local&gt;
X-Mailer: reportbug 6.5.0
Date: Fri, 08 Aug 2014 11:37:19 +0200
X-Virus-Scanned: clamav-milter 0.98.4 at vechigen.int.cirrax.com
X-Virus-Status: Clean
Delivered-To: submit@bugs.debian.org

Package: libssl1.0.0
Version: 1.0.1e-2+deb7u12
Severity: normal

When upgrading from 1.0.1e-2+deb7u11 to 1.0.1e-2+deb7u12 (current wheezy
to wheezy-security) the postinst script did not restart any services.

AFAICS this is due to the version checks present in the postinst scripts
around the code blocks that search for services to be restarted. I don't
quite understand what these checks are useful for. But as the $check
variable is empty because of this, no services will be restarted even if
the restart-services debconf entry contains some services to be
restarted.

Wouldn't it be better to remove the version checks altogether (or to
restrict them to updates that only contain packageing changes) and to
scan for relevant services on every upgrade?

Gaudenz
]