Debian Bug report logs - #802501
init script failures during postinst and related scripts

Package: debian-policy; Maintainer for debian-policy is Debian Policy Editors <[email protected]>; Source for debian-policy is src:debian-policy (PTS, buildd, popcon).

Reported by: Daniel Pocock <[email protected]>

Date: Tue, 20 Oct 2015 16:09:01 UTC

Severity: normal

Tags: wontfix

Merged with 780403

Full log


Message #23 received at [email protected] (full text, mbox, reply):

Received: (at 802501-quiet) by bugs.debian.org; 23 Oct 2015 16:24:25 +0000
From [email protected] Fri Oct 23 16:24:25 2015
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-9.0 required=4.0 tests=BAYES_00,FROMDEVELOPER,
	HAS_BUG_NUMBER autolearn=ham autolearn_force=no
	version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 148; neutral, 54; spammy,
	2. spammytokens:0.952-+--our, 0.929-+--today hammytokens:0.000-+--systemd,
	0.000-+--H*i:message, 0.000-+--H*i:0200, 0.000-+--H*u:Gnus, 0.000-+--H*u:linux
Return-path: <[email protected]>
Received: from mail.painless-security.com ([23.30.188.241])
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.84)
	(envelope-from <[email protected]>)
	id 1Zpf8j-0002wW-0N
	for [email protected]; Fri, 23 Oct 2015 16:24:25 +0000
Received: from localhost (localhost [127.0.0.1])
	by mail.painless-security.com (Postfix) with ESMTP id 1B7F420872;
	Fri, 23 Oct 2015 12:22:32 -0400 (EDT)
Received: from mail.painless-security.com ([127.0.0.1])
	by localhost (mail.suchdamage.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id TVtOLUi601on; Fri, 23 Oct 2015 12:22:31 -0400 (EDT)
Received: from carter-zimmerman.suchdamage.org (unknown [10.1.10.104])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "laptop", Issuer "laptop" (not verified))
	by mail.painless-security.com (Postfix) with ESMTPS;
	Fri, 23 Oct 2015 12:22:31 -0400 (EDT)
Received: by carter-zimmerman.suchdamage.org (Postfix, from userid 8042)
	id 2815B88E93; Fri, 23 Oct 2015 12:24:22 -0400 (EDT)
From: Sam Hartman <[email protected]>
To: Daniel Pocock <[email protected]>
Cc: Henrique de Moraes Holschuh <[email protected]>,  [email protected],  [email protected]
Subject: Re: Bug#802501: init script failures during postinst and related scripts
References: <[email protected]>
	<1445509617.1740336.417210377.5AC9CD79@webmail.messagingengine.com>
	<[email protected]>
Date: Fri, 23 Oct 2015 12:24:22 -0400
In-Reply-To: <[email protected]> (Daniel Pocock's message of "Fri,
	23 Oct 2015 18:02:17 +0200")
Message-ID: <[email protected]>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
>>>>> "Daniel" == Daniel Pocock <[email protected]> writes:


I agree.
I think Henrique's advice is correct as far as it goes.
However as a distribution, I think we should explicitly encourage people
to consider the consequences on dist-upgrade and other operations.
For some daemons, where the system is likely to be totally broken,
having the installation break is probably the right answer.
If  the postinst is reasonably convinced that the problem is going to
make additional installation difficult (for example root partition or
/usr full) then failing also make sense.

However, for the vast majority of daemons, breaking installation is far
worse than a silent failure to restart.

I believe that this is a significant problem in Debian today andsystemd
makes this  a
significant regression of jessie over wheezy.
(Here I'm not saying systemd is bad; it does a better job of reporting
errors to postinst.; it just gives us behavior that sucks for our users)

--Sam



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 13:10:30 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.