[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#203305: marked as done (/etc/init.d/distributed-net fails to stop dnetc if run from non-interactive shell)

Your message dated Fri, 09 Jul 2004 10:17:05 -0400
with message-id <E1BiwBV-0000pz-00@newraff.debian.org>
and subject line Bug#203305: fixed in distributed-net 2.9008.490-1
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; 29 Jul 2003 09:35:46 +0000
>From henley@guided-naafi.org Tue Jul 29 04:35:36 2003
Return-path: <henley@guided-naafi.org>
Received: from public1-horn1-4-cust59.cosh.broadband.ntl.com (Apu.exley.net) [] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19hQtL-0002VA-00; Tue, 29 Jul 2003 04:35:36 -0500
Received: from exleym by Apu.exley.net with local (Exim 3.36 #1 (Debian))
	id 19hQtK-0001xL-00; Tue, 29 Jul 2003 10:35:34 +0100
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="ISO-8859-1"
From: Matthew Exley <henley@guided-naafi.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /etc/init.d/distributed-net fails to stop dnetc if run from non-interactive
X-Mailer: reportbug 2.20
Date: Tue, 29 Jul 2003 10:35:34 +0100
Message-Id: <E19hQtK-0001xL-00@Apu.exley.net>
Sender: Matthew Exley <henley@guided-naafi.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_07_20 (

Package: distributed-net
Version: 2.9001.478-2
Severity: minor
Tags: patch

/etc/init.d/distributed-net fails to stop the client if run from a
non-interactive shell, e.g. if run from a cron job (where the client is
only scheduled to run overnight, for example), then the output of:
"/etc/init.d/distributed-net stop" will be "not running".

This appears to be because the test for running command uses stop-start-daemon
to check, which resides in /sbin which isn't in the path for
non-interactive shells.

So, a fix is to add:
...before the "case" statement in /etc/init.d/distributed-net

and a non-intrusive work-around is to change all calls to the script in
cron or at jobs to:
	PATH=/sbin:$PATH /etc/init.d/distributed-net [start|stop]

I'd have thought that the first option would be less intrusive for all
debian users (since it doesn't require any special operation from
anyone) but I'm not sure of any security / policy implications. 

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux Apu 2.4.21.dsc-u10.apu2.120703 #1 Sun Jul 13 01:06:55 BST 2003 i686
Locale: LANG=en_GB, LC_CTYPE=en_GB (ignored: LC_ALL set)

Versions of packages distributed-net depends on:
ii  host                          20000331-9 utility for querying DNS servers
ii  libc6                         2.3.1-17   GNU C Library: Shared libraries an

-- no debconf information

Received: (at 203305-close) by bugs.debian.org; 9 Jul 2004 14:19:32 +0000
>From katie@ftp-master.debian.org Fri Jul 09 07:19:32 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BiwDs-00062p-00; Fri, 09 Jul 2004 07:19:32 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BiwBV-0000pz-00; Fri, 09 Jul 2004 10:17:05 -0400
From: Stephen Stafford <bagpuss@debian.org>
To: 203305-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#203305: fixed in distributed-net 2.9008.490-1
Message-Id: <E1BiwBV-0000pz-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Fri, 09 Jul 2004 10:17:05 -0400
Delivered-To: 203305-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,DATING,
	HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-CrossAssassin-Score: 3

Source: distributed-net
Source-Version: 2.9008.490-1

We believe that the bug you reported is fixed in the latest version of
distributed-net, which is due to be installed in the Debian FTP archive:

  to pool/non-free/d/distributed-net/distributed-net_2.9008.490-1.diff.gz
  to pool/non-free/d/distributed-net/distributed-net_2.9008.490-1.dsc
  to pool/non-free/d/distributed-net/distributed-net_2.9008.490-1_i386.deb
  to pool/non-free/d/distributed-net/distributed-net_2.9008.490.orig.tar.gz

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 203305@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Stephen Stafford <bagpuss@debian.org> (supplier of updated distributed-net package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Fri,  9 Jul 2004 14:58:19 +0100
Source: distributed-net
Binary: distributed-net
Architecture: source i386
Version: 2.9008.490-1
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Stephen Stafford <bagpuss@debian.org>
 distributed-net - donate unused CPU cycles - client for distributed.net
Closes: 177360 186795 203305 231481 250244 251760
 distributed-net (2.9008.490-1) unstable; urgency=low
   * QA Upload
   * updating to latest upstream (Closes: #251760, #250244)
   * add /sbin to $PATH so that stopping the client works in
     non-interactive shells.  As per suggestion from Colin Watson
     I believe this to be the cause of #231481 as well, or at least, now that
     I've added /sbin to path I cannot reproduce it. (Closes: #203305, #231481)
   * On upgrade, you will need to flush your old buffers and get new ones.
     This is due to an upstream decision. It is not a bug.  Sorry if this
     makes anyone lose any work.  There is absolutely nothing that Debian
     can do about it.  For more details, please see the first entry in
     /usr/share/doc/distributed-net/readme.1st (Closes: #177360)
   * remove /etc/distributed-net.conf on purge (Closes: #186795)
   * Remove m68k version completely.  It's too old to support the current
     distributed.net infrastructure and upstream no longer support it as an
   * Remove build dependency on debianutils (which is Essential: Yes)
   * Alter distributed-net-config.8 so the .TH section matches the filename.
   * Update description to reflect that OGR-24 and RC5-64 have been finished
 edcb109a3972f7bec68067cce6df61b0 659 non-free/misc optional distributed-net_2.9008.490-1.dsc
 2f9c1c177884cdf4c78bf585aa1cf0c4 2170353 non-free/misc optional distributed-net_2.9008.490.orig.tar.gz
 33aad00cfea2e534d156cc55c5273977 13606 non-free/misc optional distributed-net_2.9008.490-1.diff.gz
 5ecbd5e8f27a4432a87b094cb697c09c 259290 non-free/misc optional distributed-net_2.9008.490-1_i386.deb

Version: GnuPG v1.2.4 (GNU/Linux)


Reply to: