Your message dated Mon, 11 Jan 2016 22:22:16 +0000 with message-id <[email protected]> and subject line Bug#365114: fixed in ifupdown 0.8.7 has caused the Debian Bug report #365114, regarding ifupdown: does not call dhcp clients with absolute path 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 365114: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365114 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: ifupdown Version: 0.6.7 Severity: wishlist Tags: patch The ifup and ifdown programs call the various dhcp clients with relative paths, for example, "dhclient -e -pf /var/run/..." On my university's network, they require a Cisco-supplied Java-based program to log on to the network. This tool requires controll of the dhclient to refresh the IP address at a specific time during the login process. This tool apparently looks in the output of a ps command for the names of various supported DHCP clients, but it uses an absolute path, "/sbin/dhclient" to find the process to communicate with, and thus cannot be used with the dhclient process spawned by ifupdown at boot. By making the various dhcp clients be called with absolute paths, this problem is resolved. I don't see where it would really be a problem because the ifup program locates the dhcp client to use by doing a command like is_execable("/sbin/dhclient") so it wouldn't work with a client not in that location anyway. A simple patch is below. Thanks, --matthew --- ifupdown-0.6.7-orig/ifupdown.nw 2006-04-27 13:52:37.000000000 -0500 +++ ifupdown-0.6.7/ifupdown.nw 2006-04-27 13:53:31.000000000 -0500 @@ -3920,29 +3920,29 @@ method dhcp up [[ifconfig %iface% hw %hwaddress%]] - dhclient3 -pf /var/run/dhclient.%iface%.pid -lf /var/run/dhclient.%iface%.leases %iface% \ + /sbin/dhclient3 -pf /var/run/dhclient.%iface%.pid -lf /var/run/dhclient.%iface%.leases %iface% \ if (execable("/sbin/dhclient3")) - dhclient -e -pf /var/run/dhclient.%iface%.pid -lf /var/run/dhclient.%iface%.leases %iface% \ + /sbin/dhclient -e -pf /var/run/dhclient.%iface%.pid -lf /var/run/dhclient.%iface%.leases %iface% \ elsif (execable("/sbin/dhclient")) - pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]] \ + /sbin/pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]] \ elsif (execable("/sbin/pump") && mylinuxver() >= mylinux(2,1,100)) - udhcpc -n -p /var/run/udhcpc.%iface%.pid -i %iface% [[-H %hostname%]] \ + /sbin/udhcpc -n -p /var/run/udhcpc.%iface%.pid -i %iface% [[-H %hostname%]] \ [[-c %clientid%]] \ elsif (execable("/sbin/udhcpc") && mylinuxver() >= mylinux(2,2,0)) - dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %clientid%]] \ + /sbin/dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %clientid%]] \ [[-l %leasetime%]] %iface% \ elsif (execable("/sbin/dhcpcd")) down - dhclient3 -r -pf /var/run/dhclient.%iface%.pid -lf /var/run/dhclient.%iface%.leases %iface% \ + /sbin/dhclient3 -r -pf /var/run/dhclient.%iface%.pid -lf /var/run/dhclient.%iface%.leases %iface% \ if (execable("/sbin/dhclient3")) cat /var/run/dhclient.%iface%.pid | xargs -i kill -TERM {} \ elsif (execable("/sbin/dhclient")) - pump -i %iface% -r \ + /sbin/pump -i %iface% -r \ elsif (execable("/sbin/pump") && mylinuxver() >= mylinux(2,1,100)) cat /var/run/udhcpc.%iface%.pid | xargs -i kill -TERM {} \ elsif (execable("/sbin/udhcpc")) - dhcpcd -k %iface% \ + /sbin/dhcpcd -k %iface% \ elsif (execable("/sbin/dhcpcd")) ifconfig %iface% down --- ifupdown-0.6.7-orig/inet.defn 2006-04-27 13:52:37.000000000 -0500 +++ ifupdown-0.6.7/inet.defn 2006-04-27 13:54:18.000000000 -0500 @@ -75,29 +75,29 @@ method dhcp up [[ifconfig %iface% hw %hwaddress%]] - dhclient3 -pf /var/run/dhclient.%iface%.pid -lf /var/run/dhclient.%iface%.leases %iface% \ + /sbin/dhclient3 -pf /var/run/dhclient.%iface%.pid -lf /var/run/dhclient.%iface%.leases %iface% \ if (execable("/sbin/dhclient3")) - dhclient -e -pf /var/run/dhclient.%iface%.pid -lf /var/run/dhclient.%iface%.leases %iface% \ + /sbin/dhclient -e -pf /var/run/dhclient.%iface%.pid -lf /var/run/dhclient.%iface%.leases %iface% \ elsif (execable("/sbin/dhclient")) - pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]] \ + /sbin/pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]] \ elsif (execable("/sbin/pump") && mylinuxver() >= mylinux(2,1,100)) - udhcpc -n -p /var/run/udhcpc.%iface%.pid -i %iface% [[-H %hostname%]] \ + /sbin/udhcpc -n -p /var/run/udhcpc.%iface%.pid -i %iface% [[-H %hostname%]] \ [[-c %clientid%]] \ elsif (execable("/sbin/udhcpc") && mylinuxver() >= mylinux(2,2,0)) - dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %clientid%]] \ + /sbin/dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %clientid%]] \ [[-l %leasetime%]] %iface% \ elsif (execable("/sbin/dhcpcd")) down - dhclient3 -r -pf /var/run/dhclient.%iface%.pid -lf /var/run/dhclient.%iface%.leases %iface% \ + /sbin/dhclient3 -r -pf /var/run/dhclient.%iface%.pid -lf /var/run/dhclient.%iface%.leases %iface% \ if (execable("/sbin/dhclient3")) cat /var/run/dhclient.%iface%.pid | xargs -i kill -TERM {} \ elsif (execable("/sbin/dhclient")) - pump -i %iface% -r \ + /sbin/pump -i %iface% -r \ elsif (execable("/sbin/pump") && mylinuxver() >= mylinux(2,1,100)) cat /var/run/udhcpc.%iface%.pid | xargs -i kill -TERM {} \ elsif (execable("/sbin/udhcpc")) - dhcpcd -k %iface% \ + /sbin/dhcpcd -k %iface% \ elsif (execable("/sbin/dhcpcd")) ifconfig %iface% down -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-mrm-20060427-1 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages ifupdown depends on: ii debconf [debconf-2.0] 1.5.0 Debian configuration management sy ii libc6 2.3.6-7 GNU C Library: Shared libraries ii net-tools 1.60-17 The NET-3 networking toolkit ifupdown recommends no packages. -- debconf information excluded
--- End Message ---
--- Begin Message ---Source: ifupdown Source-Version: 0.8.7 We believe that the bug you reported is fixed in the latest version of ifupdown, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Guus Sliepen <[email protected]> (supplier of updated ifupdown 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Mon, 11 Jan 2016 22:58:44 +0100 Source: ifupdown Binary: ifupdown Architecture: source amd64 Version: 0.8.7 Distribution: unstable Urgency: medium Maintainer: Guus Sliepen <[email protected]> Changed-By: Guus Sliepen <[email protected]> Description: ifupdown - high level tools to configure network interfaces Closes: 311054 318577 365114 378506 419139 471926 482405 488315 597274 810656 Changes: ifupdown (0.8.7) unstable; urgency=medium . * Impose a 5 minute timeout for starting network services. Closes: #318577, #810656 * Give an error when trying to up a dhcp interface when no DHCP client is installed. Closes: #471926, #419139 * Add a section in the manual about extensions provided by other packages. Closes: #482405, #597274 * Use absolute paths to binaries called by ifup/ifdown. Closes: #365114 * Return an error when trying to ifup/ifdown/ifquery an unknown interface (unless it is ignored due to --allow or --exclude). * Ignore SIGPIPE. Closes: #311054 * Update the bridge example. Closes: #488315 * Use the onlink option when adding a gateway route. Closes: #378506 * Also allow the metric option for tunnels and IPv6 interfaces. Checksums-Sha1: 2046256b81e023b2346392d9b22e16b032662bf3 1536 ifupdown_0.8.7.dsc 8d5b719cb0fde00c90738b6ec12c3a0600e0ef4d 71236 ifupdown_0.8.7.tar.xz e0a2c8d6ba3d147d48a50b30b6d158bbc8fd5c0a 60042 ifupdown-dbgsym_0.8.7_amd64.deb 237b25129f3b324b40904d421ee2bd6bffab1a27 72410 ifupdown_0.8.7_amd64.deb Checksums-Sha256: 42a38cf1a646f1a393f273c10c04376f8589e906ca0a5303d95b04199fe6f07a 1536 ifupdown_0.8.7.dsc 1ace4054ceeb64b4987c3bf99b9317ea6c4ae89da4a58ce5e33a0cbc218b8058 71236 ifupdown_0.8.7.tar.xz 14ccc723e89e08fccd170b2182a43059aaeddb37ad20e739e475c00ed8e8fc8d 60042 ifupdown-dbgsym_0.8.7_amd64.deb d37cac4b9346f7a171d6fb329b93cd872f25080226224061af2692d3d17cee7f 72410 ifupdown_0.8.7_amd64.deb Files: 4e2bb9404c3346de4948d4d4bea823f2 1536 admin important ifupdown_0.8.7.dsc 0160c6c6b2cc627758fd8909a8139f9d 71236 admin important ifupdown_0.8.7.tar.xz 3d7ba6cba423fcfd26a0bf9a092de6ff 60042 debug extra ifupdown-dbgsym_0.8.7_amd64.deb fc4e3c0d95bcd6429b5fecacc2281ad0 72410 admin important ifupdown_0.8.7_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWlCW6AAoJED9JDeuHHvn6w7MP+gMR8R3FC/2FDoDjcwV72ZKe wY9qz+j9OsHAA8MNCVcTbqoBkf3PfvfaWRhBSUwbMRgW4jWMYqx0XzAIy4ite4Az 1D68hmd7dOr9CRWsFDk1EkYUzXWwfRwHNQ6QIbBnf+NnpfQkS7apXaNtw7iLqOPQ EhpYxoQoRwY7X0jF/8azWYD0BLWWFpph636+wHcPN93eLNu6orJ7AfyTxVSKOHwV 4Qup/yDO17Eku4m0Uma1XZqQaNUNcjEhgIEc+cAxEhOYIXuQdNNdk9jpOpjmpqDM iZF/jBqTrfsEWcM3siY4FkXW9bpM3pzbCby2nhS+OirQMK3UNT9dn5SJaqHhgamO i/8aha5Fv4YlmrLKjne87N+R8PHtSGHqAYE8nWJqd4GjYAq96f8l+T9ltiVBdJ7D nLYok1AyjZlrI0+I9z9dxry+/b/TvH7+1HYvtkgWycSMXt37e5+kaGLg5oT6zooR 1JxogSP5fcZ2LdM9e4cXgV+zy7iBEmk0KIsV2ZHstFu3ZpF3PK3vMYV0xrLLIWlY MIhWYTV+moQK44XXVlLeroeHdK5pa4VPFNsnb5OvfuOOtRVUEAGZ0zJ2J1zRVtBU 9r8Z/9A0JX+HLkpiLrXjMTvDndQyyyZCXTvHg7yxL4CHGc1iEBeuHoTdGI6vk/N9 j1YGmlEi6+0L8iFB4Jm/ =xXoW -----END PGP SIGNATURE-----
--- End Message ---

