Created attachment 428650 [details] console workarount obexftp script bluedevil can't send/recieve or browse anymore. journalctl gives me following: Mär 20 15:59:20 skl dbus-daemon[691]: Activating via systemd: service name='org.bluez.obex' unit='dbus-org.bluez.obex.service' Mär 20 15:59:20 skl dbus-daemon[691]: Activation via systemd failed for unit 'dbus-org.bluez.obex.service': Unit dbus-org.bluez.obex.service failed to load: No such file or directory. doesn't find service to start it manually. is this file missing? obexftp script works (added). emerge --info: Portage 2.2.26 (python 2.7.10-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.21-r2, 3.14.58-gentoo-r1 x86_64) ================================================================= System uname: Linux-3.14.58-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-4720HQ_CPU_@_2.60GHz-with-gentoo-2.2 KiB Mem: 16428664 total, 14730244 free KiB Swap: 21492416 total, 21492416 free Timestamp of repository gentoo: Fri, 18 Mar 2016 13:15:01 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r1::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.21-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA skype-4.0.0.7-copyright ut2003 PUEL AdobeFlash-10.3 AdobeFlash-11.x googleearth" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask-write=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="de_AT.UTF-8" LC_ALL="de_AT.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="7zip X a52 aac aacs acei acl acpi acpi4linux addressbook alsa amd64 apm apng audiofile avx bdplus bidi binfilter bittorrent bluetooth bluray bzip2 c c++ cdaudio cdda cddb cdinstall cdparanoia cdr cdrom chroot cjk clamav cli codecs cracklib css cups cvs cxx dbus declarative dhclient dhcp dri dvd dvdnav dvdread emul-linux-x86 encode ethereal exif extras ffmpeg flac flash fontconfig foomaticdb fortran ftp g3dvl gallium gcj gdbm german gif gnutls gphoto2 gudev h323 hal handbook hwdb iconv icu imap imlib ipv6 irmc java javascript joystick jpeg jpeg2k kde kdepim keymap lame langpacks libass libnotify libwww live lm_sensors lua lzma lzo mad matroska md5sum midi mikmod minizip mjpeg mmx mmx2 mmxext mng mod modules mp2 mp3 mp4 mp4live mpeg mpeg2 mpeg4 mtp multimedia music ncurses net network networkmanager nls nptl nvidia obex ogg oggvorbis opengl openmp opus oss pam pcre pcre16 pdf phonon plasma pmu png pnm pnp policykit postscript qt4 qt5 quicktime readline reports rtc rtsp scanner script seccomp semantic-desktop session smime smp sound sounds spell sqlite sse sse2 ssl stream svg svgz sysfs systemd tcpd templates theora threads thumbnail tiff timidity transcode truetype udev udisks unicode upnp usb utf8 vcd vdpau videos vlc vlm vorbis wav webkit webm wma wmf wmp x264 x265 x32 xattr xcb xinerama xkb xml xmp xpm xv xvid zenmap zip zlib zvbi" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc multiboot" INPUT_DEVICES="synaptics mouse evdev keyboard joystick void roccat_konextd" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de de_AT de_DE en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="epson" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Which version of bluedevil, libbluedevil, and bluez?
net-wireless/bluedevil 2.1.1 net-libs/libbluedevil 2.1 net-wireless/bluez 5.37 sorry I have posted so fast. Got the idea to google the error message (should have done before) Seems the Arch people have gone through this exact same problem: https://bugs.archlinux.org/task/45816 bluetooth.service is running, but bluedevil fails you must run "systemctl --user start obex" as user then it works (described from arch) is this a package or a "user" error?
This could also be a dbus-1.10 issue as I read in Arch report :/
I can confirm a downgrade to sys-apps/dbus-1.8.16 is a successful workaround.
I'm having the exact same problem and I am on gnome, so component should not be KDE for this bug report as apparently it isn't specific to KDE :-)
I can confirm a update to sys-apps/dbus-1.10.8-r1 with USE="-user-session" (default) is working with bluedevil 2.1.1/libbluedevil 2.1
Assigning to maintainer.
No, this is a problem of bluedevil not being compatible with user-session mode... I would then at least report it to their upstream to let them know about the problem
Same behaviour with kde-plasma/bluedevil-5.5.5 libbluedevil-2.1. user-session of dbus must be switched off.
Are you still suffering this on an fully updated system? If that is the case, can you try editing bluez ebuild and dropping: "${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch ? after dropping that patch, you should re-emerge bluez and I would reboot to ensure you use the fully updated bluez with dbus[user-session]
I hope I did emerge and test as you wanted: -user-session (default) sys-apps/dbus 1.10.12 net-wireless/bluez 5.39 kde-plasma/bluedevil 5.7.5 restart bluedevil test send ok +user-session sys-apps/dbus 1.10.12 net-wireless/bluez 5.39 kde-plasma/bluedevil 5.7.5 restart bluedevil test send not working +user-session sys-apps/dbus 1.10.14 net-wireless/bluez 5.43 kde-plasma/bluedevil 5.7.5 restart bluedevil test send not working +user-session sys-apps/dbus 1.10.14 net-wireless/bluez 5.43 #"${FILESDIR}"/0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch excluded kde-plasma/bluedevil 5.7.5 restart bluedevil test send not working bluedevil 5.7.5 reemerge restart bluedevil test send not working -user-session (default) sys-apps/dbus 1.10.12 net-wireless/bluez 5.39 kde-plasma/bluedevil 5.7.5 restart bluedevil test send working In short: I didn't manage to get a usersession-enabled dbus working with my bluetooth sending files, not even with the keyworded dbus/bluez-ebuilds.
Arch is supposedly fixing this with: https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/bluez#n70 Is that working for you?
USE="user-session" emerge -a --oneshot sys-apps/dbus bluez (version 1.10.12 & 5.39) ln -fs /usr/lib/systemd/user/obex.service /usr/lib/systemd/user/dbus-org.bluez.obex.service restart bluetooth send works bluetooth recieve works yes it does, setting the links manually but I remove these settings now as I test on my machine needed for work and these changes might vanish in the next update.
Lets see what upstream suggests for properly starting obexd when needed :/ http://marc.info/?l=linux-bluetooth&m=148096094716386&w=2
[master c52b49a] net-wireless/bluez: We need to ensure obexd can be spawned automatically by systemd when user-session is enabled in dbus (#577842) 2 files changed, 282 insertions(+), 27 deletions(-) create mode 100644 net-wireless/bluez/bluez-5.43-r1.ebuild rewrite net-wireless/bluez/metadata.xml (69%)