dbus problem, selinux?

Matthew Woehlke mw_triad at users.sourceforge.net
Wed Apr 11 17:09:20 BST 2007

Matthew Woehlke wrote:
> I managed to build trunk/KDE/kdelibs, but kbuildsycoca4 doesn't run. I'm 
> guessing this has something to do with it:
> $ dbus-uuidgen --ensure && qdbus
> Could not connect to D-Bus server: 
> org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute 
> dbus-launch to autolaunch D-Bus session
> $ ( eval `PATH=$DBUSDIR/bin $DBUSDIR/bin/dbus-launch --auto-syntax` )
> Failed to start message bus: Failed to open 
> "/etc/selinux/targeted/contexts/dbus_contexts": No such file or directory
> EOF in dbus-launch reading address from bus daemon
> $
> Is there any easy way around this problem? I made a cursory attempt to 
> upgrade selinux-policy-targeted, but it wants a ton of dependencies. 
> (I'm on RHAS4, that has never been upgraded from rpm's, I'm not even 
> sure I know how to go about doing that...)

(Oh, sure, *NOW* this shows up...)

I found --disable-selinux and rebuilt dbus, kbuildsycoca4 at least 
is...running now (lots of warnings about 'undefined mimetype' though; I 
have s-m-i-0.20 but I wonder if it is picking up the OS-installed 0.15). 
So I'll run DBUS without selinux support because dbus+selinux doesn't 
work on my system.

Not to be used as a flotation device.

This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

More information about the kde mailing list