Your message dated Sun, 26 Jan 2003 12:40:18 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#178282: dpkg: environment variables should be added to
control starting of daemons
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 24 Jan 2003 23:04:24 +0000
>From [EMAIL PROTECTED] Fri Jan 24 17:04:23 2003
Return-path: <[EMAIL PROTECTED]>
Received: from iqs.fi (mauri.iqs.fi) [194.100.119.129] (root)
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 18cCs3-0000MZ-00; Fri, 24 Jan 2003 17:04:23 -0600
X-Envelope-From: [EMAIL PROTECTED]
Received: from mauri.iqs.fi ([EMAIL PROTECTED] [127.0.0.1])
by mauri.iqs.fi (8.12.7/8.12.7/Debian-2) with ESMTP id h0ON4JPT012561
(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO);
Sat, 25 Jan 2003 01:04:19 +0200
Received: (from [EMAIL PROTECTED])
by mauri.iqs.fi (8.12.7/8.12.7/Debian-2) id h0ON4Jc5012559;
Sat, 25 Jan 2003 01:04:19 +0200
Date: Sat, 25 Jan 2003 01:04:19 +0200
Message-Id: <[EMAIL PROTECTED]>
From: Sami Kuhmonen <[EMAIL PROTECTED]>
Subject: dpkg: environment variables should be added to control starting of
daemons
To: [EMAIL PROTECTED]
X-Mailer: bug 3.3.10.2
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-0.1 required=5.0
tests=SPAM_PHRASE_01_02
version=2.41
X-Spam-Level:
Package: dpkg
Version: 1.10.9
Severity: wishlist
It would be nice to have for example environment variables that would
allow the administrator to control the behaviour of the postinst scripts.
I know this is not entirely dpkg's business, but it would be quite hard to
send this request to all packages containing daemons.
There are several daemon packages that when installed are not intended to
be run until configured (like apache, sendmail, snmpd, sshd etc). The
postinst scripts nonetheless start these daemons after installation, which
in some cases can cause problems (like when you don't have a www-data user
on the system and want Apache2 to save a new configuration). It would be
easier if one could set something like DPKG_DONT_START=1 before running
dpkg or apt and not get this problem.
There are naturally other instructions, too, like DPKG_DONT_STOP=1 so that
if the admin is updating lots of packages with apt, the script could fail
if it really needs to stop/restart the daemon, or better yet, just do its
job and not restart. Of course it would output a warning stating that the
daemon has not been updated.
There may be others too, and I know it will take time until all the
packages would have this kind of checks in their scripts. But I think this
would help the administrators in their jobs.
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux mauri 2.4.20-xfs #1 Tue Dec 10 19:05:17 EET 2002 i686
unknown unknown GNU/Linux
Versions of the packages dpkg depends on:
ii dselect 1.10.9 a user tool to manage Debian packages
ii libc6 2.3.1-10 GNU C Library: Shared libraries and Timezone
---------------------------------------
Received: (at 178282-done) by bugs.debian.org; 26 Jan 2003 11:40:23 +0000
>From [EMAIL PROTECTED] Sun Jan 26 05:40:22 2003
Return-path: <[EMAIL PROTECTED]>
Received: from home.wiggy.net (mx1.wiggy.net) [213.84.101.140]
([hHh70gTB1wixtwiIZMMSHpbz4l7JB/Jm])
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 18cl9C-0007F8-00; Sun, 26 Jan 2003 05:40:22 -0600
Received: from wichert by mx1.wiggy.net with local (Exim 3.35 #1 (Debian))
id 18cl99-0007ZT-00; Sun, 26 Jan 2003 12:40:19 +0100
Date: Sun, 26 Jan 2003 12:40:18 +0100
From: Wichert Akkerman <[EMAIL PROTECTED]>
To: Sami Kuhmonen <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#178282: dpkg: environment variables should be added to control
starting of daemons
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.3.28i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-17.3 required=5.0
tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,
SIGNATURE_SHORT_DENSE,SPAM_PHRASE_02_03,USER_AGENT,
USER_AGENT_MUTT
version=2.41
X-Spam-Level:
Previously Sami Kuhmonen wrote:
> It would be nice to have for example environment variables that would
> allow the administrator to control the behaviour of the postinst scripts.
> I know this is not entirely dpkg's business, but it would be quite hard to
> send this request to all packages containing daemons.
This sounds like something that should be part of Debian policy; as you
said this is not something that should be done in dpkg itself.
> There may be others too, and I know it will take time until all the
> packages would have this kind of checks in their scripts. But I think this
> would help the administrators in their jobs.
If I remember correctly the move from update-rc.d to invoke-rc.d should
fix at least part of this.
Wichert.
--
Wichert Akkerman <[EMAIL PROTECTED]> http://www.wiggy.net/
A random hacker