MIME-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) X-Spam-Status: No, score=-0.0 required=5.0 tests=RP_MATCHES_RCVD autolearn=unavailable autolearn_force=no version=3.4.1 Date: Fri, 5 Jan 2018 12:01:17 +1100 Subject: Please use shell instead of bash in dhclient-script From: "Andrew Stuart" Delivered-To: dhcp-public@bugs.isc.org From andrew.stuart@supercoders.com.au Fri Jan 5 01:01:32 2018 Message-ID: Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.pao1.isc.org", Issuer "COMODO RSA Organization Validation Secure Server CA" (not verified)) by bugs.isc.org (Postfix) with ESMTPS id 3701DD78B0E for ; Fri, 5 Jan 2018 01:01:32 +0000 (UTC) Received: from mail.supercoders.com.au (mail.supercoders.com.au [54.215.13.78]) by mx.pao1.isc.org (Postfix) with ESMTP id 8328D3AEC2E for ; Fri, 5 Jan 2018 01:01:21 +0000 (UTC) Received: from [192.168.1.126] (CPE-144-136-188-55.sa.bigpond.net.au [144.136.188.55]) by mail.supercoders.com.au (Postfix) with ESMTPS id 9C9EA60311 for ; Fri, 5 Jan 2018 01:01:20 +0000 (UTC) Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mx.pao1.isc.org content-type: text/plain; charset="utf-8" To: dhcp-suggest@isc.org X-Mailer: Apple Mail (2.3273) Content-Transfer-Encoding: quoted-printable X-RT-Incoming-Encryption: Not encrypted X-Original-To: dhcp-public@bugs.isc.org X-RT-Original-Encoding: ascii X-RT-Interface: Email Content-Length: 477 I was getting strange errors saying: execve (/sbin/dhclient-script, ...): No such file or directory eventually I tracked the problem down to find that it is cased because the dhclient-script uses bash in ints shebang #!/bin/bash This is disappointing because I am using dhclient on a minimal system that does not have bash installed, nor need bash for any other purpose. It would be good if the dhclient-script used shell as a lowest common denominator. thanks Andrew