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

Bug#253101: marked as done (Should check for /sbin/dhclient3, not /var/lib/dhcp3)



Your message dated Mon, 07 Jun 2004 16:31:20 +0200
with message-id <1086618680.15046.97.camel@localhost>
and subject line Bug#253101: Should check for /sbin/dhclient3, not /var/lib/dhcp3
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; 7 Jun 2004 08:52:31 +0000
>From jdthood@aglu.demon.nl Mon Jun 07 01:52:30 2004
Return-path: <jdthood@aglu.demon.nl>
Received: from post-21.mail.nl.demon.net [194.159.73.20] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BXFrq-0000hK-00; Mon, 07 Jun 2004 01:52:30 -0700
Received: from [82.161.38.140] (helo=localhost)
	by post-21.mail.nl.demon.net with esmtp (Exim 3.36 #2)
	id 1BXFrp-000Pn4-00; Mon, 07 Jun 2004 08:52:29 +0000
Received: by localhost (Postfix, from userid 1001)
	id 5621610D6EE; Mon,  7 Jun 2004 10:52:29 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Thomas Hood <jdthood@yahoo.co.uk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Should check for /sbin/dhclient3, not /var/lib/dhcp3
X-Mailer: reportbug 2.61
Date: Mon, 07 Jun 2004 10:52:29 +0200
Message-Id: <[🔎] 20040607085229.5621610D6EE@localhost>
Delivered-To: submit@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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: netcfg
Version: 0.67
Severity: minor

In dhcp.c it would be better to do:

  if (access("/sbin/dhclient3", F_OK) == 0)
    dhcp_client = DHCLIENT3;

than to do (as currently):

  if (access("/var/lib/dhcp3", F_OK) == 0)

at line 79.  Checking for the daemon executable is more or less
standard practice and it is what the code does for /sbin/dhclient
and for /sbin/pump.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro

---------------------------------------
Received: (at 253101-done) by bugs.debian.org; 7 Jun 2004 14:31:22 +0000
>From jdthood@yahoo.co.uk Mon Jun 07 07:31:22 2004
Return-path: <jdthood@yahoo.co.uk>
Received: from post-20.mail.nl.demon.net [194.159.73.1] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BXL9m-0002EX-00; Mon, 07 Jun 2004 07:31:22 -0700
Received: from [82.161.38.140] (helo=localhost)
	by post-20.mail.nl.demon.net with esmtp (Exim 3.36 #2)
	id 1BXL9l-0008Ap-00
	for 253101-done@bugs.debian.org; Mon, 07 Jun 2004 14:31:21 +0000
Received: from localhost.demon.nl (localhost [127.0.0.1])
	by localhost (Postfix) with ESMTP id EFCE510E13A
	for <253101-done@bugs.debian.org>; Mon,  7 Jun 2004 16:31:20 +0200 (CEST)
Subject: Re: Bug#253101: Should check for /sbin/dhclient3, not
	/var/lib/dhcp3
From: Thomas Hood <jdthood@yahoo.co.uk>
To: 253101-done@bugs.debian.org
In-Reply-To: <[🔎] 20040607142609.GB12135@triplehelix.org>
References: <[🔎] 20040607085229.5621610D6EE@localhost>
	 <[🔎] 20040607142609.GB12135@triplehelix.org>
Content-Type: text/plain
Message-Id: <1086618680.15046.97.camel@localhost>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Mon, 07 Jun 2004 16:31:20 +0200
Content-Transfer-Encoding: 7bit
Delivered-To: 253101-done@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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

On Mon, 2004-06-07 at 16:26, Joshua Kwan wrote:
> I don't want to rock the boat anymore though.

OK, I see why you checked /var/lib/dhcp3 instead of /sbin/dhclient3.
This also explains why killall.sh doesn't look for an executable named
'dhclient3'.  Sorry for the confusion.

--
Thomas



Reply to: