[Bug 306703] [NEW] typo in /usr/lib/pm-utils/sleep.d/95dhcp3-server prevents it operating

Daniel Pittman daniel at rimspace.net
Tue Dec 9 23:49:23 GMT 2008


Public bug reported:

This may be a duplicate of bug #242020, but that isn't entirely clear to
me that the original reporter has the same root cause as what I have
discovered.  The symptoms I have encountered are more or less identical,
and restarting dhcp3-server manually does resolve the problem where my
DHCP server will not issue a lease until restarted.

(I use a number of VM systems for development purposes, which have DHCP
assigned IP information, for what it is worth.)

The dhcp3-server package includes the script /usr/lib/pm-
utils/sleep.d/95dhcp3-server, which is designed to stop the server
before suspend and to restart it afterwards.

This script has a typo which renders it ineffective: line 3 is 'case ""
in', where it should be 'case "$1" in'

The consequence of this is that the empty string, which triggers the
script to do nothing, is always considered to be the running case.  The
resolution would be to correct that typo, which should then stop and
start the DHCP server as expected.

Regards,
        Daniel

Description:    Ubuntu 8.04.1
Release:        8.04

dhcp3-server:
  Installed: 3.0.6.dfsg-1ubuntu9
  Candidate: 3.0.6.dfsg-1ubuntu9
  Version table:
 *** 3.0.6.dfsg-1ubuntu9 0
        500 http://mirror.internode.on.net hardy/main Packages
        500 http://mirrors.kernel.org hardy/main Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
Architecture: amd64
Date: Wed Dec 10 10:40:25 2008
DistroRelease: Ubuntu 8.04
NonfreeKernelModules: nvidia
Package: dhcp3-server 3.0.6.dfsg-1ubuntu9 [modified: usr/sbin/dhcpd3]
PackageArchitecture: amd64
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/games
 LANG=en_AU.UTF-8
SourcePackage: dhcp3
Uname: Linux 2.6.24-22-openvz x86_64

** Affects: dhcp3 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
typo in /usr/lib/pm-utils/sleep.d/95dhcp3-server prevents it operating
https://bugs.launchpad.net/bugs/306703
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.



More information about the Ubuntu-server-bugs mailing list