Nsprupdate

This page shows how to update NSPR to the latest version in Ubuntu guru "fta" PPA in Hardy. This new version might fix the /dev/random issue when multiple users launch Firefox 3 at the same time, causing server entropy to run out and unexpected behavior to ensue.

0) It would be the best idea to remove/rename users' ~/.mozilla profiles so new ones can be created, as this issue is partially to do with /dev/random access when a profile is being created. If you can't do this, though, its not a HUGE deal (but preferred).

1) Add the following to /etc/apt/sources.list :

deb http://ppa.launchpad.net/fta/ubuntu hardy main

2) Applications -> Accessories -> Terminal :

sudo apt-get update
sudo apt-get install libnspr4-0d

3) Remove the PPA lines from your sources.list so it doesnt pull anything else down from fta's PPA (we want to ONLY upgrade nspr to make sure this is what fixed the issue). Do another 'apt-get update' to get the list of packages back to a 'normal' state.

4) Test by restarting Firefox 3 on as many thin clients as possible, within as short of time as possible (all at the same time is strongly recommended if possible). This will really test the fact that launching multiple instances of FF3 simultaneously does, indeed, fix the server entropy issue with the newest nspr packages that we just upgraded. If all FF3 apps launch in a reasonable amount of time (2-6 seconds, depending on your server), we can probably assume this bug is fixed!

5) Report your findings in the following bug report: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/269188 so we can get an SRU into Hardy!

Cheers,
Jordan/Lns

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License