Subject: Re: weird error when installing gnome-vfs2-2.6.1.1
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 12/03/2004 17:22:26
[ On Friday, December 3, 2004 at 13:04:31 (-0500), Greg A. Woods wrote: ]
> Subject: Re: weird error when installing gnome-vfs2-2.6.1.1
>
> [ On Thursday, December 2, 2004 at 14:43:35 (-0500), Greg A. Woods wrote: ]
> > Subject: weird error when installing gnome-vfs2-2.6.1.1
> >
> > The following error is repeated four times in the final stages of
> > installing gnome-vfs2-2.6.1.1.  Is this normal?
> > 
> > 
> > Failed to access configuration source(s): Failed: Error opening module `xml': Service unavailable
> 
> Further note:  The same thing happened, but many more times, when I did
> a "pkg_delete -r libxml2" after realizing I had to update libxml2 for
> the security fix anyway....

Well it's definitely going to cause me grief with all GNOMEish stuff.

Neither nautilus, not gconftool-2, seem to be able to start gconfd-2 in
my environment.  Seems to be abort()ing itself given the SIGABRT.  Sadly
the damn thing thinks it needs to chdir("/") and so it can't dump core
and show me why it is failing.

Note they would seem to stay hanging forever waiting for a connection or
something unless I interrupt them.

	16:52 [255] $ nautilus                                                         
	gconfd-2: pid 21799 exited on signal 6: core dump failed [in /]
	^?
	16:53 [256] $ gconftool-2 --spawn                                              
	gconfd-2: pid 21841 exited on signal 6: core dump failed [in /]
	^?

The clue though may be in these syslog messages:

Dec  3 16:59:36 always gconfd (woods-23263): starting (version 2.6.3), pid 23263 user 'woods'
Dec  3 16:59:36 always gconfd (woods-23263): Failed to load source "xml:readonly:/etc/gconf/gconf.xml.mandatory": Failed: Error opening module `xml': Service unavailable 
Dec  3 16:59:36 always gconfd (woods-23263): Failed to load source "xml:readwrite:/home/building/woods/.gconf": Failed: Error opening module `xml': Service unavailable 
Dec  3 16:59:36 always gconfd (woods-23263): Failed to load source "xml:readonly:/etc/gconf/gconf.xml.defaults": Failed: Error opening module `xml': Service unavailable 
Dec  3 16:59:36 always gconfd (woods-23263): Error loading some config sources: Failed: Error opening module `xml': Service unavailable 
Dec  3 16:59:36 always /netbsd: gconfd-2: pid 23263 [eid 1000:1000, rid 1000:1000] exited on signal 6: core dump failed [in /]


Now as it turns out I had (successfully I thought) linked gconfd-2
statically.  However it seems the clueless code in this thing may in
fact be trying to explicitly load libxml2 code directly itself even
though it's apparently already linked in.

-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>