Bug 21902

Summary: NFS Client file access problem firefox
Product: File System Reporter: Hans de Bruin (jmdebruin)
Component: NFSAssignee: Trond Myklebust (trondmy)
Status: CLOSED CODE_FIX    
Severity: normal CC: rjw
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.37-rc1 Subsystem:
Regression: Yes Bisected commit-id:
Bug Depends on:    
Bug Blocks: 21782    
Attachments: NLM: Fix a regression in lockd

Description Hans de Bruin 2010-11-03 14:13:02 UTC
After startup Firefox reports:

The bookmarks and history system will not be functional because one of Firefox's files is in use by another application. Some security software can cause this problem.

There an info button which points to:
http://support.mozilla.com/en-US/kb/The+bookmarks+and+history+system+will+not+be+functional?style_mode=inproduct&as=u
Comment 1 Hans de Bruin 2010-11-03 14:16:28 UTC
First-Bad-Commit : 9247685088398cf21bcb513bd2832b4cd42516c4
Comment 2 Trond Myklebust 2010-11-03 14:36:18 UTC
Yes. This is a known problem. A fix has already been posted to the mailing
lists, and is currently queued up in my 'bugfixes' branch on git.linux-nfs.org.
Comment 3 Trond Myklebust 2010-11-03 14:37:51 UTC
Created attachment 36032 [details]
NLM: Fix a regression in lockd

Apparently, removing the 'transport->srcaddr.ss_family = family' from
xs_create_sock() triggers this due to nlmclnt_lookup_host() incorrectly
initialising the srcaddr family to AF_UNSPEC.
Comment 4 Hans de Bruin 2010-11-03 20:11:28 UTC
Ok, the patch works for me too. I will close the bug when the fix appears in mainline.
Comment 5 Rafael J. Wysocki 2010-11-18 23:11:54 UTC
Fixed by commit 8e35f8e7c61c88f9a979a4e6f7f4ffd4c158a88a .