for sys-apps/dbus-1.2.12 net-wireless/kdebluetooth does not working, You can only send files out but you cannot get files from outside and kbluetooth protocol does not working. With sys-apps/dbus-1.2.3-r1 kdebluetooth works corectly Reproducible: Always Steps to Reproduce: 1. # emerge sys-apps/dbus-1.2.12 net-wireless/kdebluetooth net-wireless/bluez-libs net-wireless/bluez-utils 2. # /etc/init.d/bluetooth start 3. $ kdebluetooth 4. Try to open in konqueror bluetooth:/ or click on kdebluetooth icon and try to do anything Actual Results: bluetooth protocol crashes and it is not possible to get files from outside
Please post your "emerge --info". Which version of kdebluetooth do you have installed?
I have this problem too. On dbus-1.2.3-r1 everything works fine.
This bug depends on bug #267201
(In reply to comment #1) > Please post your "emerge --info". > Which version of kdebluetooth do you have installed? > net-wireless/kdebluetooth-1.0_beta8-r1 # emerge --info Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.29-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_T5550_@_1.83GHz-with-gentoo-2.0.0 Timestamp of tree: Sat, 25 Apr 2009 12:15:01 +0000 app-shells/bash: 4.0_p17-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2, 2.6.2 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="pl_PL.UTF-8" LC_ALL="pl_PL.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="pl" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acl alsa amr apache2 berkdb bzip2 cli cracklib crypt custom-optimization dbus dirac dri dvd dvdr dvdread encode ffmpeg flac flack fortran gdbm gif gpm hal iconv ipv6 isdnlog kde lame laptop midi mmx mp3 mpeg mudflap musepack ncurses nls nptl nptlonly odbc ogg opengl openmp pam pcre perl pppd python qt3 qt3support quicktime readline reflection session spl sse sse2 sse3 ssl ssse3 sysfs tcpd unicode vorbis x264 x86 xcomposite xorg xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Could you check if you get any errors like the ones in bug #267201 in your syslog?
(In reply to comment #5) > Could you check if you get any errors like the ones in bug #267201 in your > syslog? > Can you tell me where can i find log from syslog? If you tell me i will paste it ;)
It should be somewhere in /var/log, depending on the logger you use (usually /var/log/messages or /var/log/everything/current). Look for messages that look like 'Apr 23 14:03:02 axion dbus-daemon: Rejected send message, 1 matched rules;'.
(In reply to comment #7) > It should be somewhere in /var/log, depending on the logger you use (usually > /var/log/messages or /var/log/everything/current). Look for messages that look > like 'Apr 23 14:03:02 axion dbus-daemon: Rejected send message, 1 matched > rules;'. > tail /var/log/messages|grep dbus i have Apr 27 21:53:40 Gentoo dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/wlan0 for sub-path wlan0.dbus.get.interface_mtu Over and over. Nothing else
I have. The errors are: Apr 26 12:05:31 hurricane dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.21" (uid=1000 pid=3896 comm="kbluetooth ") interface="org.bluez.Manager" member="ListAdapters" error name="(unset)" requested_reply=0 destination="org.bluez" (uid=0 pid=3855 comm="/usr/sbin/hcid -s -f /etc/bluetooth/hcid.conf ")) Apr 26 12:09:46 hurricane dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.22" (uid=1000 pid=4037 comm="kio_bluetooth [kdeinit] bluetooth /tmp/ksocket-pio") interface="org.bluez.Manager" member="DefaultAdapter" error name="(unset)" requested_reply=0 destination="org.bluez" (uid=0 pid=3855 comm="/usr/sbin/hcid -s -f /etc/bluetooth/hcid.conf ")) Apr 26 12:10:07 hurricane dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.21" (uid=1000 pid=3896 comm="kbluetooth ") interface="org.bluez.Security" member="UnregisterDefaultPasskeyAgent" error name="(unset)" requested_reply=0 destination="org.bluez" (uid=0 pid=3855 comm="/usr/sbin/hcid -s -f /etc/bluetooth/hcid.conf "))
<allow send_interface="org.bluez.*"/>
quick and dirty fix ... edit your /etc/dbus-1/system.conf .. look for the line <deny send_type="method_call"/> and change it to <allow send_type="method_call"/> enjoy!
Created attachment 190932 [details] dbus_1.2.12-method_call_fix.patch patch
Which one is better? When any of them will be in portage?
(In reply to comment #13) > Which one is better? When any of them will be in portage? > None. A bluez specific fix should go to /etc/dbus-1/system.d/bluetooth.conf - a file owned by either bluez or bluez-utils. Not that I have any idea what should go there and why it stopped working.
For those who still suffer from this bug: I am not very familiar with dbus config files but I have created such thing which is probably not the prettiest solution but is much better than patch submitted here. Thing which you must add to /etc/dbus-1/system.d/bluetooth.conf is: <policy group="plugdev"> <allow own="org.bluez"/> <allow send_path="/"/> <allow send_path="/org/bluez"/> <allow send_destination="org.bluez" send_interface="org.bluez.Adapter"/> <allow receive_sender="org.bluez"/> <allow send_destination="org.bluez.*"/> <allow receive_sender="org.bluez.*"/> <allow send_destination="org.bluez.Manager"/> <allow receive_sender="org.bluez.Manager"/> <allow send_destination="org.bluez.Adapter"/> <allow receive_sender="org.bluez.Adapter"/> <allow send_destination="org.bluez.Device"/> <allow receive_sender="org.bluez.Device"/> <allow send_destination="org.bluez.Service"/> <allow receive_sender="org.bluez.Service"/> <allow send_destination="org.bluez.Database"/> <allow receive_sender="org.bluez.Database"/> <allow send_destination="org.bluez.Security"/> <allow receive_sender="org.bluez.Security"/> </policy> After adding this kbluetooth works fine for me although I haven't tested all of it's functions.
maybe you have to add following lines only to your bluetooth.conf .. should work too <policy group="users"> <allow own="org.bluez"/> <allow send_destination="org.bluez"/> <allow send_interface="org.bluez.Agent"/> </policy>
This one is for sure also needed: <allow send_destination="org.bluez" send_interface="org.bluez.Adapter"/> It finally started working after I added this one.
Maybe this should block bug 250444
kdebluetooth isn't in tree anymore.