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

Bug#684596: marked as done (udhcpc avoid default.script dependency on net-tools)



Your message dated Sat, 07 Dec 2013 16:35:16 +0000
with message-id <E1VpKqa-0002QR-LD@franck.debian.org>
and subject line Bug#684596: fixed in busybox 1:1.21.0-2exp
has caused the Debian Bug report #684596,
regarding udhcpc avoid default.script dependency on net-tools
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 owner@bugs.debian.org
immediately.)


-- 
684596: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684596
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: udhcpc
Version: 1:1.20.0-6
Severity: normal
Tags: patch

If I remove net-tools from my system, udhcpc breaks because its
default.script relies on ifconfig and route, but udhcpc doesn't depend
on net-tools.

Since versions of these are built into busybox, the attached
quick-and-dirty patch just uses those.  A better approach might be to
use the "ip" command, either by depending on iproute2 or using the one
built into busybox.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages udhcpc depends on:
ii  busybox  1:1.20.0-6

udhcpc recommends no packages.

udhcpc suggests no packages.

-- Configuration Files:
/etc/udhcpc/default.script changed [not included]

-- no debconf information
--- /etc/udhcpc/default.script.orig	2012-04-11 15:04:56.000000000 -0400
+++ /etc/udhcpc/default.script	2012-08-11 11:56:13.000000000 -0400
@@ -11,15 +11,15 @@
 	[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast"
 	[ -n "$subnet" ] && NETMASK="netmask $subnet"
 
-	/sbin/ifconfig $interface $ip $BROADCAST $NETMASK
+	/bin/busybox ifconfig $interface $ip $BROADCAST $NETMASK
 
 	if [ -n "$router" ]; then
 	    echo "$0: Resetting default routes"
-	    while /sbin/route del default gw 0.0.0.0 dev $interface; do :; done
+	    while /bin/busybox route del default gw 0.0.0.0 dev $interface; do :; done
 
 	    metric=0
 	    for i in $router; do
-		/sbin/route add default gw $i dev $interface metric $metric
+		/bin/busybox route add default gw $i dev $interface metric $metric
 		metric=$(($metric + 1))
 	    done
 	fi
@@ -45,7 +45,7 @@
 	if [ -x /sbin/resolvconf ]; then
 	    resolvconf -d "${interface}.udhcpc"
 	fi
-	/sbin/ifconfig $interface 0.0.0.0
+	/bin/busybox ifconfig $interface 0.0.0.0
 	;;
 
     leasefail)

--- End Message ---
--- Begin Message ---
Source: busybox
Source-Version: 1:1.21.0-2exp

We believe that the bug you reported is fixed in the latest version of
busybox, 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 684596@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Tokarev <mjt@tls.msk.ru> (supplier of updated busybox 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 07 Dec 2013 19:47:27 +0400
Source: busybox
Binary: busybox busybox-static busybox-udeb busybox-syslogd udhcpc udhcpd
Architecture: source amd64 all
Version: 1:1.21.0-2exp
Distribution: experimental
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Michael Tokarev <mjt@tls.msk.ru>
Description: 
 busybox    - Tiny utilities for small and embedded systems
 busybox-static - Standalone rescue shell with tons of builtin utilities
 busybox-syslogd - Provides syslogd and klogd using busybox
 busybox-udeb - Tiny utilities for the debian-installer (udeb)
 udhcpc     - Provides the busybox DHCP client implementation
 udhcpd     - Provides the busybox DHCP server implementation
Closes: 684596
Changes: 
 busybox (1:1.21.0-2exp) experimental; urgency=low
 .
   * set CONFIG_BUSYBOX_EXEC_PATH=/proc/self/exe on linux and kfreebsd,
     and set it to /bin/busybox on hurd since it does not have /proc/self/exe
     equivalent.
     This is needed to at least run the testsuite, because we really want to
     execute our just-built binary, not system /bin/busybox binary.  And this
     is needed in all other cases when our binary is not in /bin/busybox.
     This is the upstream default too.
     The original change were made at Mar-2008 when applet-fallback patch
     were introduced, in an attempt to fix #472653.  Without this change,
     busybox was useless in the very beginning of initramfs.  In order to
     fix this, we'll create applet links to busybox binary in /bin&Co.
   * add initramfs hook to install busybox properly in initramfs
   * apply testsuite-bashisms.patch, to enable running of testsuite with dash.
   * add ability to run testsuite (disabled for now, unicode tests fail on sid)
   * rewamp/simplify debian/rules
   * use busybox versions of ifconfig and route in udhcpc script
     (Closes: #684596)
Checksums-Sha1: 
 87fc7bcf7334e7833788ccb588d4a1e59b2cc71a 1637 busybox_1.21.0-2exp.dsc
 96fc9fb6c0e5f9dc90c614127e6e0abf3cb7919c 62777 busybox_1.21.0-2exp.debian.tar.gz
 01638ebd9c953f8b98635742db64f8a3d25a06f3 377784 busybox_1.21.0-2exp_amd64.deb
 decc7404eae710aa2f973303635c284fb824a280 826534 busybox-static_1.21.0-2exp_amd64.deb
 1f02cffe90ed155213a9c2d9ba56a7a814efeca6 170050 busybox-udeb_1.21.0-2exp_amd64.udeb
 35521410e6fe6b60349dfce85bfbc579ea427bdf 21140 busybox-syslogd_1.21.0-2exp_all.deb
 a41fcef240f0419e0668a9a3e8dde2a7b0362604 19000 udhcpc_1.21.0-2exp_amd64.deb
 9a66299a25ec18c29efcd2312204cbb30f422977 21990 udhcpd_1.21.0-2exp_amd64.deb
Checksums-Sha256: 
 a45e7302b51f609dc762cb2600cba6edcb1d24ea59d04476c47487610025d9d5 1637 busybox_1.21.0-2exp.dsc
 3220920151dd46b6f2950235ca87da2c0af81369168c17eb9592a49fdcdb8e14 62777 busybox_1.21.0-2exp.debian.tar.gz
 7bdcbd11ad91a4ec67596819959b926365ba95c431a28fc4f74496d9567bc8f9 377784 busybox_1.21.0-2exp_amd64.deb
 ccc3c3896904479b3530e7f5769087ecd8de2ef83070751c507e6568161defff 826534 busybox-static_1.21.0-2exp_amd64.deb
 96d55ba4d22cad66e7e1276dee089a69b7c53fdbc20bb4a78785ac6f21edc619 170050 busybox-udeb_1.21.0-2exp_amd64.udeb
 e5218862c075cbade2a1e320ab7ad730e30ee45ee8ddd4d3bff50563db7d81bb 21140 busybox-syslogd_1.21.0-2exp_all.deb
 cfdd857ec2310fc3456efaf7bb21548a47d224e08dbb3e61bf8ac72184d63656 19000 udhcpc_1.21.0-2exp_amd64.deb
 ff0d9b6386cf6d2625edba4994e4247b6700fb6702e334d8e738de08305df7bb 21990 udhcpd_1.21.0-2exp_amd64.deb
Files: 
 7be0c888fc7d263420b8f132380e43e6 1637 utils optional busybox_1.21.0-2exp.dsc
 9c353a208ffb829496414e27253b89ce 62777 utils optional busybox_1.21.0-2exp.debian.tar.gz
 2fb00fc78c57e33597f8271ca2817ab9 377784 utils optional busybox_1.21.0-2exp_amd64.deb
 139f8ba3a676a5a2b424634d8e53bfac 826534 shells extra busybox-static_1.21.0-2exp_amd64.deb
 22db1f357538b1a5eca3c7223dfdf418 170050 debian-installer extra busybox-udeb_1.21.0-2exp_amd64.udeb
 cca5a7d91b7c7fc95c747d67bb79f0ef 21140 utils optional busybox-syslogd_1.21.0-2exp_all.deb
 50be30e3162208e6965507ef6cbeda74 19000 net optional udhcpc_1.21.0-2exp_amd64.deb
 783b962fc1c5dd16ad32811b404e48e4 21990 net optional udhcpd_1.21.0-2exp_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iJwEAQECAAYFAlKjSXYACgkQUlPFrXTwyDhmvgP/ZZzJomTDV4QkedoMvU/10fzS
dTNtAZPo1APnO710EcFUVzwcogAzaxJXQ6SazUkqP6KSRzX3mxoxYOq61n5iOFiS
Z7jYJ06UiR0daPl+PwDvWiY5x63nyNOikAhKPmnUounzFGGZRnlxXsg1EhJAqCns
KkyEhOWtPeg0QzOntkM=
=MCkz
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: