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

Bug#253101: Should check for /sbin/dhclient3, not /var/lib/dhcp3



On Mon, Jun 07, 2004 at 10:52:29AM +0200, Thomas Hood wrote:
>   if (access("/sbin/dhclient3", F_OK) == 0)
>     dhcp_client = DHCLIENT3;

$ dpkg -c dhcp3-client-udeb_3.0+3.0.1rc13-1_i386.udeb
drwxr-xr-x root/root         0 2004-02-24 09:49:51 ./
drwxr-xr-x root/root         0 2004-02-24 09:49:53 ./sbin/
-rwxr-xr-x root/root    413976 2004-02-24 09:49:53 ./sbin/dhclient
drwxr-xr-x root/root         0 2004-02-24 09:49:49 ./etc/
-rwxr-xr-x root/root      7101 2004-02-24 09:49:49 ./etc/dhcp3
drwxr-xr-x root/root         0 2004-02-24 09:49:48 ./var/
drwxr-xr-x root/root         0 2004-02-24 09:49:48 ./var/lib/
drwxr-xr-x root/root         0 2004-02-24 09:49:48 ./var/lib/dhcp3/

> 
> 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.

I guess if anything, you want to reassign this bug to dhcp3-client-udeb.
I don't want to rock the boat anymore though.

-- 
Joshua Kwan

Attachment: signature.asc
Description: Digital signature


Reply to: