[Bug 571933] Re: dhclient3 hangs on shutdown
[Expired for dhcp3 (Ubuntu) because there has been no activity for 60 days.] ** Changed in: dhcp3 (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/571933 Title: dhclient3 hangs on shutdown -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 571933] Re: dhclient3 hangs on shutdown
Alright then mine is a different problem. However in the event of a reboot the dhcp client is not supposed to release the address, since it is going to ask one again in a minute. -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 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 571933] Re: dhclient3 hangs on shutdown
Alright then mine is a different problem. However in the event of a reboot the dhcp client is not supposed to release the address, since it is going to ask one again in a minute. -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 571933] Re: dhclient3 hangs on shutdown
It seems that the DHCP server does not reply to DHCPRELEASE so dhclient waits until timeout. My DSL modem does the same. My workaround is to remove /etc/rc0.d/S35networking and /etc/rc6.d/S35networking, but I would like to know if there is a way to configure dhclient to ignore release requests, without messing with init scripts. Also on reboots the client should NOT release the address according to the protocol, so maybe this is ALSO a bug in the init scripts. -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 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
Re: [Bug 571933] Re: dhclient3 hangs on shutdown
On 05/07/2010 10:19 AM, Andrea Ratto wrote: It seems that the DHCP server does not reply to DHCPRELEASE so dhclient waits until timeout. My DSL modem does the same. My workaround is to remove /etc/rc0.d/S35networking and /etc/rc6.d/S35networking, but I would like to know if there is a way to configure dhclient to ignore release requests, without messing with init scripts. Also on reboots the client should NOT release the address according to the protocol, so maybe this is ALSO a bug in the init scripts. The dhcp server in my case is isc-dhcpd and this doesn't happen for any Jaunty, Solaris, OSX, or Windows machines. Plus this is only on shutdown. Stopping or restarting the script while the machine is in a normal running state does what is expected of it and releases the IP. -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 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 571933] Re: dhclient3 hangs on shutdown
It seems that the DHCP server does not reply to DHCPRELEASE so dhclient waits until timeout. My DSL modem does the same. My workaround is to remove /etc/rc0.d/S35networking and /etc/rc6.d/S35networking, but I would like to know if there is a way to configure dhclient to ignore release requests, without messing with init scripts. Also on reboots the client should NOT release the address according to the protocol, so maybe this is ALSO a bug in the init scripts. -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 571933] Re: dhclient3 hangs on shutdown
On 05/07/2010 10:19 AM, Andrea Ratto wrote: It seems that the DHCP server does not reply to DHCPRELEASE so dhclient waits until timeout. My DSL modem does the same. My workaround is to remove /etc/rc0.d/S35networking and /etc/rc6.d/S35networking, but I would like to know if there is a way to configure dhclient to ignore release requests, without messing with init scripts. Also on reboots the client should NOT release the address according to the protocol, so maybe this is ALSO a bug in the init scripts. The dhcp server in my case is isc-dhcpd and this doesn't happen for any Jaunty, Solaris, OSX, or Windows machines. Plus this is only on shutdown. Stopping or restarting the script while the machine is in a normal running state does what is expected of it and releases the IP. -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 571933] Re: dhclient3 hangs on shutdown
Went ahead and modified /etc/init.d/networking to provide straces of the ifdown command that is runs on a stop action. running.png is a screen shot of my VM's normal output when running `/etc/init.d/networking stop shutdown.png is a screen shot of the same VM's shutdown logging. running.strace is a strace of the ifdown command that is being initiated by `/etc/init.d/networking stop` when ran while the system is in a normal up condition. shutdown.strace is the same strace but when the ifdown command is ran by `/etc/init.d/networking stop` during the normal shutdown procedures triggered by `/etc/rc6.d/S35networking`. -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 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 571933] Re: dhclient3 hangs on shutdown
** Attachment added: running.png http://launchpadlibrarian.net/47828206/running.png -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 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 571933] Re: dhclient3 hangs on shutdown
** Attachment added: shutdown.png http://launchpadlibrarian.net/47828219/shutdown.png -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 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 571933] Re: dhclient3 hangs on shutdown
** Attachment added: running.strace http://launchpadlibrarian.net/47828246/running.strace -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 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 571933] Re: dhclient3 hangs on shutdown
Went ahead and modified /etc/init.d/networking to provide straces of the ifdown command that is runs on a stop action. running.png is a screen shot of my VM's normal output when running `/etc/init.d/networking stop shutdown.png is a screen shot of the same VM's shutdown logging. running.strace is a strace of the ifdown command that is being initiated by `/etc/init.d/networking stop` when ran while the system is in a normal up condition. shutdown.strace is the same strace but when the ifdown command is ran by `/etc/init.d/networking stop` during the normal shutdown procedures triggered by `/etc/rc6.d/S35networking`. -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 571933] Re: dhclient3 hangs on shutdown
** Attachment added: running.png http://launchpadlibrarian.net/47828206/running.png -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 571933] Re: dhclient3 hangs on shutdown
** Attachment added: shutdown.png http://launchpadlibrarian.net/47828219/shutdown.png -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 571933] Re: dhclient3 hangs on shutdown
** Attachment added: running.strace http://launchpadlibrarian.net/47828246/running.strace -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 571933] Re: dhclient3 hangs on shutdown
** Attachment added: shutdown.strace http://launchpadlibrarian.net/47828259/shutdown.strace -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 571933] Re: dhclient3 hangs on shutdown
Thank you for opening this bug and helping make Ubuntu better. On Lucid network startup/shutdown should be done via upstart (/etc/init/), not via /etc/init.d. Could you please give us logs for a shutdown with this issue? ** Changed in: dhcp3 (Ubuntu) Status: New = Incomplete -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 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
Re: [Bug 571933] Re: dhclient3 hangs on shutdown
On 05/03/2010 07:23 AM, C de-Avillez wrote: Thank you for opening this bug and helping make Ubuntu better. On Lucid network startup/shutdown should be done via upstart (/etc/init/), not via /etc/init.d. Could you please give us logs for a shutdown with this issue? ** Changed in: dhcp3 (Ubuntu) Status: New = Incomplete Suggestions on how to get proper logging to a file on a shutdown? Thanks, -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 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 571933] Re: dhclient3 hangs on shutdown
Thank you for opening this bug and helping make Ubuntu better. On Lucid network startup/shutdown should be done via upstart (/etc/init/), not via /etc/init.d. Could you please give us logs for a shutdown with this issue? ** Changed in: dhcp3 (Ubuntu) Status: New = Incomplete -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 571933] Re: dhclient3 hangs on shutdown
On 05/03/2010 07:23 AM, C de-Avillez wrote: Thank you for opening this bug and helping make Ubuntu better. On Lucid network startup/shutdown should be done via upstart (/etc/init/), not via /etc/init.d. Could you please give us logs for a shutdown with this issue? ** Changed in: dhcp3 (Ubuntu) Status: New = Incomplete Suggestions on how to get proper logging to a file on a shutdown? Thanks, -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 571933] Re: dhclient3 hangs on shutdown
** Package changed: ubuntu = dhcp3 (Ubuntu) -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 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 571933] Re: dhclient3 hangs on shutdown
I think my previous two comments really have nothing to do with the actual problem. Me just grasping at straws trying to find some kind of information. The following patch is a hack and not anywhere close to a solution but does make the /etc/init.d/networking script complete during shutdown. ** Patch added: networking.patch http://launchpadlibrarian.net/46522420/networking.patch -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 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 571933] Re: dhclient3 hangs on shutdown
** Package changed: ubuntu = dhcp3 (Ubuntu) -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 571933] Re: dhclient3 hangs on shutdown
I think my previous two comments really have nothing to do with the actual problem. Me just grasping at straws trying to find some kind of information. The following patch is a hack and not anywhere close to a solution but does make the /etc/init.d/networking script complete during shutdown. ** Patch added: networking.patch http://launchpadlibrarian.net/46522420/networking.patch -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 571933] Re: dhclient3 hangs on shutdown
Something else I have noticed about this. During normal operation when dhclient3 is running the dhclient.eth0.pid file properly exists. In this weird state that I am reporting the file does not exist. -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 571933] Re: dhclient3 hangs on shutdown
Just found something else. After initiating reboot and then logging back in via ssh this is what is at the very end of dmesg. [ 590.532915] type=1503 audit(1272598521.696:18): operation=capable pid=2139 parent=2138 profile=/sbin/dhclient3 name=ipc_lock -- dhclient3 hangs on shutdown https://bugs.launchpad.net/bugs/571933 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs