Re: [Bug 571933] Re: dhclient3 hangs on shutdown

2010-05-07 Thread ody
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

2010-05-04 Thread ody

** 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
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

2010-05-04 Thread ody

** 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

2010-05-04 Thread ody

** 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

2010-05-04 Thread ody

** 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

2010-05-04 Thread ody
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


Re: [Bug 571933] Re: dhclient3 hangs on shutdown

2010-05-03 Thread ody
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

2010-04-30 Thread ody
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