Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 542792

Summary: bluetooth file receiving does not work, "transfer forbidden by target device"
Product: Gentoo Linux Reporter: Mehmet Giritli <mehmet>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mehmet Giritli 2015-03-10 08:45:19 UTC
After upgrading to gnome 3.14, also unmasking gnome-extra/gnome-user-share-3.14.2, I am having problems with bluetooth. Sending files from gnome seems to work ok. But receiving them fails with "transfer forbidden by target device" error message. I see these messages in the logs:

Mar 10 10:24:41 mordor obexd[4990]: connect error: Connection refused (111)
Mar 10 10:24:41 mordor gnome-session[4749]: (empathy:20400): bluez-WARNING **: Error changing connection state for device ‘Gimbley’ (F8:DB:7F:6C:AB:AD): An OBEX address book transfer from device ‘Gimbley’ could not be started: GDBus.Error:org.bluez.obex.Error.Failed: connect error: Connection refused (111)
Mar 10 10:24:41 mordor obexd[4990]: CONNECT(0x0), (null)(0xffffffff)
Mar 10 10:24:41 mordor obexd[4990]: CONNECT(0x0), (null)(0x0)
Mar 10 10:24:43 mordor obexd[4990]: PUT(0x2), (null)(0xffffffff)
Mar 10 10:24:44 mordor obexd[4990]: open(/home/mgiritli/.cache/obexd/WOHVUX): Operation not permitted (1)
Mar 10 10:24:44 mordor obexd[4990]: PUT(0x2), FORBIDDEN(0x43)
Mar 10 10:24:45 mordor obexd[4990]: DISCONNECT(0x1), (null)(0xffffffff)
Mar 10 10:24:45 mordor obexd[4990]: DISCONNECT(0x1), SUCCESS(0x20)
Mar 10 10:24:45 mordor bluetoothd[335]: Unable to get io data for Object Push: getpeername: Transport endpoint is not connected (107)
...
Mar 10 10:25:44 mordor gnome-session[4749]: error opening httpd pidfile: Failed to open file '/home/mgiritli/.config/user-share/pid': No such file or directory
Mar 10 10:25:44 mordor gnome-session[4749]: spawning httpd failed


Reproducible: Always




Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/gnome, gcc-4.8.3, glibc-2.19-r1, 3.18.3-gentoo-mordor.giritli.eu x86_64)
=================================================================
System uname: Linux-3.18.3-gentoo-mordor.giritli.eu-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
KiB Mem:     8166448 total,   1789540 free
KiB Swap:    3711008 total,   3711000 free
Timestamp of tree: Mon, 09 Mar 2015 13:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r4
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.6.4, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo Mehmet-s-Repo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 googleearth AdobeFlash-10 AdobeFlash-10.1 AdobeFlash-10.3 Oracle-BCLA-JavaSE google-talkplugin skype-4.0.0.7-copyright Google-TOS AdobeFlash-11.x MakeMKV-EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=amdfam10 -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=amdfam10 -ggdb"
DISTDIR="/local/distfiles"
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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.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="/mtmp"
PORTDIR="/local/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="3dnow 3dnowext 64bit X a52 aac acl acpi alsa amd64 apng applet aspell avahi bash-completion beagle berkdb bidi bluetooth bluray branding brasero bzip2 cairo ccache cdda cddb cdr cdrom cdrtools cli colord cpufreq cracklib crypt css cups cxx dbus dconf deskbar device-mapper dga disk-partition dri dtmf dts dvd dvdnav dvdr dvi dvipdfm eds emboss encode exif extra faac faad fam fbcon fbcondecor ffmpeg firefox flac flickr g3dvl galago gcj gdbm gdu geoclue gif glamor gnome gnome-keyring gnome-online-accounts gnutls gpm gps graphics grilo gstreamer gtk gtk3 h323 hddtemp html iconv imap inotify introspection jabber java java6 javascript jingle jpeg jpeg2k kms kpathsea laptop lcms libav libmpeg2 libnotify libsamplerate libsecret mad matroska mmx mmxext mng modemmanager modules mp3 mp4 mpeg multilib musicbrainz mx920 nautilus ncurses networkmanager nls nptl nsplugin offensive ogg opengl openmp pam pango pcre pdf png policykit ppds ppp pstricks pulseaudio python qt3support qt4 readline rtmp samba science sdl sendto session smp sms snmp socialweb speex spell sqlite sse sse2 sse4a ssl startup-notification svg systemd tcpd telepathy theora threads tiff totem tracker transcode truetype udev udisks unicode upnp upnp-av upower usb v4l v4l2 vaapi vdpau vim-syntax vorbis wav wavpack wmf wps wxwidgets x264 xcb xml xv xvid zemberek zeroconf zip zlib" 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="mmx sse sse2" 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" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="tr en en_GB en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Mehmet Giritli 2015-04-23 20:16:50 UTC
I finally found the problem. My cache dir was a symlink, which is forbidden by obexd.