[Bug 730896] Re: "/etc/init.d/udhcpd restart" doesn't

Bug Watch Updater 730896 at bugs.launchpad.net
Wed Aug 10 17:22:45 UTC 2011


** Changed in: busybox (Debian)
       Status: Unknown => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to busybox in Ubuntu.
https://bugs.launchpad.net/bugs/730896

Title:
  "/etc/init.d/udhcpd restart" doesn't

Status in “busybox” package in Ubuntu:
  Fix Released
Status in “busybox” source package in Maverick:
  Triaged
Status in “busybox” package in Debian:
  Fix Released

Bug description:
  Binary package hint: busybox

  If I do a restart of udhcpd:

  root at gw:~# /etc/init.d/udhcpd restart
  Starting very small Busybox based DHCP server: /usr/sbin/udhcpd already running.
  udhcpd.
  Stopping very small Busybox based DHCP server: Stopped /usr/sbin/udhcpd (pid 32766).
  udhcpd.

  
  Looks like it creates and then kills a udhcpd process - whereas it should kill the running one, and then start a new one.

  Doing

    /etc/init.d/udhcpd stop
    /etc/init.d/udhcpd start

  Works fine

  
  This is on Ubuntu 10.10

  Package details:
  udhcpd:
    Installed: 1:1.15.3-1ubuntu5
    Candidate: 1:1.15.3-1ubuntu5
    Version table:
   *** 1:1.15.3-1ubuntu5 0
          500 http://gb.archive.ubuntu.com/ubuntu/ maverick/universe amd64 Packages
          100 /var/lib/dpkg/status


  Looks like in the init.d script, restart is wrong:

  
    restart|force-reload)
          $0 start
          sleep 1
          $0 stop

  
  Shouldn't that be:

  
    restart|force-reload)
          $0 stop
          sleep 1
          $0 start

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: udhcpd 1:1.15.3-1ubuntu5
  ProcVersionSignature: Ubuntu 2.6.35-27.48-server 2.6.35.11
  Uname: Linux 2.6.35-27-server x86_64
  Architecture: amd64
  Date: Mon Mar  7 20:13:06 2011
  Dependencies:
   
  InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  PackageArchitecture: all
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
  SourcePackage: busybox

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/730896/+subscriptions




More information about the foundations-bugs mailing list