[Bug 306703] Re: typo in /usr/lib/pm-utils/sleep.d/95dhcp3-server prevents it operating
No, I can't; the sort of response I got here had me give up on Ubuntu quite some time ago and head back to Debian. This bug report includes a detailed analysis and the explicit solution to the problem, which is a faulty script. Having y'all ignore that for, oh, nine months, then ask me to redo the diagnosis is pretty insulting, really. Perhaps you can glance at the script that is explicitly named, go to the line that is explicitly named, and check to see if the explicitly named bug is still present yourself, eh? -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 306703] [NEW] typo in /usr/lib/pm-utils/sleep.d/95dhcp3-server prevents it operating
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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 306703] Re: typo in /usr/lib/pm-utils/sleep.d/95dhcp3-server prevents it operating
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/20331731/Dependencies.txt -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 306706] [NEW] bind9 should flush the DNS cache on suspend / resume to avoid stale records
Public bug reported: Binary package hint: bind9 I use bind9 on my laptop as the primary source of DNS information for several reasons: first, it provides reasonable independence of the local network infrastructure, which is useful when my job is working out why a client network doesn't have working DNS, and secondly, because it allows me much greater flexibility in, for example, always forwarding lookups to our internal DNS servers via VPN, rather than to the client network DNS servers. The one problem that I have hit with this is that bind will cache results over suspend/resume, which can lead to situations where split- view DNS on a client network causes the private IP rather than the public IP to be visible to my applications. (eg: service.example.com returns 192.168.1.1 while inside my clients network, but a real Internet IP while outside it.) It would be reasonably easy to address this issue by including a pm- utils suspend/resume script to flush the DNS cache; this, to me, seems a reasonable behaviour since a potentially unlimited period of time passes between the two events. I have attached the private script I use for implementing this, which does address my own issues. Regards, Daniel Description:Ubuntu 8.04.1 Release:8.04 bind9: Installed: 1:9.4.2.dfsg.P2-2 Candidate: 1:9.4.2.dfsg.P2-2 Version table: *** 1:9.4.2.dfsg.P2-2 0 500 http://mirror.internode.on.net hardy-updates/main Packages 500 http://mirrors.kernel.org hardy-updates/main Packages 100 /var/lib/dpkg/status 1:9.4.2-10ubuntu0.1 0 500 http://security.ubuntu.com hardy-security/main Packages 1:9.4.2-10 0 500 http://mirror.internode.on.net hardy/main Packages 500 http://mirrors.kernel.org hardy/main Packages ProblemType: Bug Architecture: amd64 Date: Wed Dec 10 10:51:10 2008 DistroRelease: Ubuntu 8.04 NonfreeKernelModules: nvidia Package: bind9 1:9.4.2.dfsg.P2-2 [modified: usr/sbin/named usr/sbin/rndc usr/sbin/rndc-confgen usr/sbin/dnssec-keygen usr/sbin/dnssec-signzone usr/sbin/named-checkconf usr/sbin/named-checkzone] 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: bind9 Uname: Linux 2.6.24-22-openvz x86_64 ** Affects: bind9 (Ubuntu) Importance: Undecided Status: New ** Affects: bind9 (Debian) Importance: Undecided Status: New ** Tags: apport-bug -- bind9 should flush the DNS cache on suspend / resume to avoid stale records https://bugs.launchpad.net/bugs/306706 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 306706] Re: bind9 should flush the DNS cache on suspend / resume to avoid stale records
** Attachment added: script to flush bind9 DNS cache on suspend and resume http://launchpadlibrarian.net/20331825/95local-bind9 ** Attachment added: Dependencies.txt http://launchpadlibrarian.net/20331826/Dependencies.txt ** Also affects: bind9 (Debian) Importance: Undecided Status: New -- bind9 should flush the DNS cache on suspend / resume to avoid stale records https://bugs.launchpad.net/bugs/306706 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bind9 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs