Public bug reported:

Binary package hint: network-manager

[Running NM 0.6.4 on feisty]

Since NM keeps /etc/resolv.conf between reboots, major slowdown can
happen to the whole desktop if the networks changes between reboots.

Consider the following scenario, at different locations:

1) At work using wireless network. NM generated /etc/resolv.conf
2) Shutdown computer. Went home
3) At home, computer boots with previous /etc/resolv.conf

Unfortunately it can take up to 5 minutes for NM authenticate and establish 
connection to the home network (i must keep repeating password for some unknown 
and annoying reason).
The thing is, until i'm connected to the home network, the whole desktop is 
UNUSABLE since applications take a few minutes to start.

If I add the following script to /etc/init.d (to be run on boot and on 
shutdown), the logging process is MUCH faster, and applications start instantly:
------
#!/bin/sh 
echo "nameserver 0.0.0.0" > /etc/resolv.conf
------

After a successful authentication NM generates a valid /etc/resolv.conf
and no slowdown is experienced launching applications or logging in
again.

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
[/etc/resolv.conf] Extra slow login / app launch
https://launchpad.net/bugs/78263

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to