Bug 137394

Summary: firefox: libfam dependency missing
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Jan Engelhardt <jengelh>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: VERIFIED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: gnome-bugs
Version: RC 4   
Target Milestone: ---   
Hardware: x86   
OS: Linux   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Copy of ebay.de for test, if you need

Description Jan Engelhardt 2005-12-07 16:02:31 UTC
16:59 shanghai:~/bla > firefox ebay.de
GConf Error: Failed to launch configuration server: Failed to execute child process "/opt/gnome/lib/GConf/2/gconfd-2" (No such file or directory)
libfam.so.0: cannot open shared object file: No such file or directory


rpm did not complain when I removed fam the other day (`rpm -e fam fam-devel php5-fam` was everything, no --nodeps!)
Comment 1 Jan Engelhardt 2005-12-07 16:10:55 UTC
Created attachment 60017 [details]
Copy of ebay.de for test, if you need

I think this issue is largely some shared library thing. It is unrelated to
ebay.de; it just "crashed" on me too when hitting Bugzilla's [submit
attachment] button. So anyway, here's a copy of ebay.de.
Comment 2 Wolfgang Rosenauer 2005-12-07 16:15:57 UTC
Firefox has no dependency on libfam. So it seems that gconfd has one but Firefox shouldn't fail because of a not running gconfd.
So it didn't start for you with this error message?
Comment 3 Stanislav Brabec 2005-12-07 16:57:38 UTC
Firefox loads gconf library (probably dynamically). Gconf standard backend needs gnome-vfs file backend and it needs file alteration library for watching for changes.

It can be a duplicate of a bug 120314. Please install optional YaST Online Update for fam, which fixes dependencies and try again. This problem appers only if you are not installing KDE nor GNOME.

There is a wrapper, which requires fam or gamin library (depending on installed packages and fam daemon running). In RPM level, packages require file_alteration virtual. This virtual was assigned to fam-server, but fam-server did not depend on fam which provide the library.
Comment 4 Jan Engelhardt 2005-12-07 22:05:33 UTC
It's not the fam rpm. It must be the gnome rpms which are missing "Requires:
fam". Autoreqprov should have found that out, unless the gnome code uses
dlopen, of course.

Interesting what rpm -Va pops up, after _having installed_ the updated fam
(2.6.10-130.2):

Unsatisfied dependencies for gnome-vfs2-2.12.0-9.2: file_alteration

Here's the gist why:

23:05 shanghai:/ # rpm -q --provides fam
libfam.so.0
fam = 2.6.10-130.2

That's all. It simply does not provide file_alteration. (Is it supposed to be?
What other package does?) That's why rpm did not warn me on the day I did
`rpm -e fam`...
Comment 5 Wolfgang Rosenauer 2005-12-07 22:13:02 UTC
so reassigning to gnome-maintainers
Comment 6 Stanislav Brabec 2005-12-08 11:53:04 UTC
No. SuSE version of gnome-vfs2 does not really require fam, but Requires: file_alteration, which means: (libfam.so.0 and fam server is running) OR libgamin-1.so.0.

So I have added Provides: file_alteration to gamin and fam-server.

This bug was caused by the fact, that I overseen, that fam-daemon does not require fam.

The YaST Online Update fix just added Requires: fam to fam-server.

So I guess, that now after update, you will get:

rpm -e fam will report error: fam is needed by fam-server. And rpm -e fam fam-server will report, that fam_alteration is needed by gnome-vfs2.

Can you confirm it?
Comment 7 JP Rosevear 2006-01-25 18:05:29 UTC
Still waiting for confirmation from Wolfgang.
Comment 8 Wolfgang Rosenauer 2006-01-25 18:20:37 UTC
Hmm?
Don't know. What should I confirm? Firefox fires up gconf which will be started as daemon. If this doesn't work because dependencies in gconfd are missing, that should be fixed now. I don't need a dependency in Firefox to libfam because Firefox doesn't need it.
Comment 9 Stanislav Brabec 2006-01-30 10:43:39 UTC
Because Firefox itself does not use libfam and I got no response from the reporter, I expect that it is a duplicate of the bug 120314, which has exactly the same symptoms.

*** This bug has been marked as a duplicate of 120314 ***