Your message dated Thu, 26 Jan 2006 21:46:07 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#326724: dpkg: Configurable command line for daemons used
with start-stop-daemon in /etc/init.d/*
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; 5 Sep 2005 11:09:01 +0000
>From [EMAIL PROTECTED] Mon Sep 05 04:09:01 2005
Return-path: <[EMAIL PROTECTED]>
Received: from pri-dns.cs.iitm.ernet.in (pridns.cs.iitm.ernet.in)
[202.141.25.89]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1ECEqP-0001Zq-00; Mon, 05 Sep 2005 04:09:00 -0700
Received: from cse.iitm.ernet.in (cse.cs.iitm.ernet.in [10.6.5.215])
by pridns.cs.iitm.ernet.in (8.12.10/8.12.10) with ESMTP id
j85BBpRo025990
for <[EMAIL PROTECTED]>; Mon, 5 Sep 2005 16:41:51 +0530
Received: from cse.iitm.ernet.in (cse.iitm.ernet.in [127.0.0.1])
by cse.iitm.ernet.in (8.12.11/8.12.10) with ESMTP id j85B6crf006409
for <[EMAIL PROTECTED]>; Mon, 5 Sep 2005 16:36:38 +0530
Received: from localhost (localhost [[UNIX: localhost]])
by cse.iitm.ernet.in (8.12.11/8.12.11/Submit) id j85B6XrM006401;
Mon, 5 Sep 2005 16:36:33 +0530
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: dpkg: Configurable command line for daemons used with
start-stop-daemon in /etc/init.d/*
From: "R.Ramkumar" <[EMAIL PROTECTED]>
Organization: Indian Institute of Technology Madras
Date: Mon, 05 Sep 2005 16:35:38 +0530
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Package: dpkg
Version: 1.13.11
Severity: wishlist
Currently, a change in the command line given as the --exec argument for
start-stop-daemon within /etc/init.d/ scripts requires the user to edit the
init script itself. For example, if I want to run smbd as `schedtool -B smbd`,
in order to preserve my system resources, I would have to change the
/etc/init.d/samba script. Now, this is not a good thing to do as the init
scripts in many cases do much work, and being a config file, changes will not
preserved across upgrades, and the user cannot make use of possible enhancements
to the init script. An alternative would be to provide each start-stop-daemon
a 'tag name' and a default command line for the exec. start-stop-daemon then can
look up a global config file and check if the user has chosen to override the
command name for the given tag, and behave appropriately.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (101, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-rc4-ck1-inotify-custom.1
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Versions of packages dpkg depends on:
ii coreutils [textutils] 5.2.1-2 The GNU core utilities
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
dpkg recommends no packages.
-- no debconf information
---------------------------------------
Received: (at 326724-done) by bugs.debian.org; 26 Jan 2006 19:45:33 +0000
>From [EMAIL PROTECTED] Thu Jan 26 11:45:33 2006
Return-path: <[EMAIL PROTECTED]>
Received: from master.debian.org ([146.82.138.7])
by spohr.debian.org with esmtp (Exim 4.50)
id 1F2D3l-0005vD-Ld
for [EMAIL PROTECTED]; Thu, 26 Jan 2006 11:45:33 -0800
Received: from guillem by master.debian.org with local (Exim 4.50)
id 1F2D3k-00043g-Pa
for [EMAIL PROTECTED]; Thu, 26 Jan 2006 13:45:33 -0600
Date: Thu, 26 Jan 2006 21:46:07 +0200
From: Guillem Jover <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Bug#326724: dpkg: Configurable command line for daemons used with
start-stop-daemon in /etc/init.d/*
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.11
Sender: Guillem Jover <[EMAIL PROTECTED]>
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Hi,
On Mon 05 Sep 2005 16:35:38 +0530, R. Ramkumar wrote:
> Package: dpkg
> Version: 1.13.11
> Severity: wishlist
> Currently, a change in the command line given as the --exec argument for
> start-stop-daemon within /etc/init.d/ scripts requires the user to edit
> the init script itself. For example, if I want to run smbd as
> `schedtool -B smbd`, in order to preserve my system resources, I would
> have to change the /etc/init.d/samba script.
Right, your options are, changing the init script, ask the maintainers of
such package to provide a configurable option in a file under /etc/default/,
or ask them to change the default (asking the maintainers only if it really
makes sense, not only because it's useful in a small particular case).
> Now, this is not a good thing to do as the init scripts in many cases do
> much work,
I don't see the relation between doing much work and modifying the file to
add an option.
> and being a config file, changes will not preserved across upgrades,
> and the user cannot make use of possible enhancements to the init script.
Err, being a config file means that the changes should be preserved on
upgrades.
> An alternative would be to provide each start-stop-daemon a 'tag name' and
> a default command line for the exec. start-stop-daemon then can look up a
> global config file and check if the user has chosen to override the
> command name for the given tag, and behave appropriately.
I think that's a unneeded overcomplication.
Closing this non-bug.
regards,
guillem
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]