#524691 sporadically fails to detect that a wireless interface is already UP

Package:
network-manager
Source:
network-manager
Description:
network management framework (daemon and userspace tools)
Submitter:
Anton Ivanov
Date:
2010-01-30 08:42:06 UTC
Severity:
normal
#524691#5
Date:
2009-04-19 07:27:09 UTC
From:
To:
Package: network-manager
Version: 0.6.6-3
Severity: normal
address when connecting to a wireless network. Progress bar in KDE sits
at about halfway, no address is shown in the system tray. However,
address is actually obtained correctly, can be seen using /sbin/ifconfig
and apps can connect. After 20-30 seconds in this state drops the interface.

Happens from time to time with two different laptops (both running Lenny).

#524691#10
Date:
2010-01-30 08:14:38 UTC
From:
To:
This is a race which occurs when a laptop is using NIS or other
non-local name service and there are temporary failures in getpw* family
of functions due to it being unavailable until the network is up.

This occurs even if groups like powerdev, etc are local as long as the
user is served by the network based name service.

The workarounds are:

1. Configure caching in nscd to ensure that it does not expire relevant
information.
2. If using a NIS slave on a laptop configure ypbind/ypserv to NOT use
hal and to be local only.

Some of these can be detected in postinst or even at startup and produce
warnings to the sysadmin/user.

Brgds,