touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #77666
[Bug 1448690] Re: /sbin/dhclient-script has bashisms
** Changed in: isc-dhcp (Ubuntu)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1448690
Title:
/sbin/dhclient-script has bashisms
Status in isc-dhcp package in Ubuntu:
Confirmed
Bug description:
/sbin/dhclient-script calls /bin/sh, which is of course dash, but
contains bash-specific functions:
root@mystic:~# ifup br0
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/br0/00:1d:92:d7:ad:8a
Sending on LPF/br0/00:1d:92:d7:ad:8a
Sending on Socket/fallback
DHCPREQUEST of 172.31.3.6 on br0 to 255.255.255.255 port 67 (xid=0x7488da46)
DHCPACK of 172.31.3.6 from 172.31.3.4
RTNETLINK answers: File exists
bound to 172.31.3.6 -- renewal in 38988 seconds.
/sbin/dhclient-script: 55: /sbin/dhclient-script: shopt: not found
/sbin/dhclient-script: 60: /sbin/dhclient-script: [[: not found
/sbin/dhclient-script: 60: /sbin/dhclient-script: [[: not found
/sbin/dhclient-script: 68: /sbin/dhclient-script: shopt: not found
root@mystic:~# head -n1 /sbin/dhclient-script
#!/bin/sh
root@mystic:~#
Shebang line needs to be /bin/bash, or the script needs to be
rewritten.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: isc-dhcp-client 4.3.1-5ubuntu2
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
Date: Sun Apr 26 10:29:56 2015
EcryptfsInUse: Yes
ProcEnviron:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: isc-dhcp
UpgradeStatus: Upgraded to vivid on 2015-04-24 (1 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1448690/+subscriptions
References