Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272712 - app-cdr/cdemu-1.1.0-r1 has no access to dbus
Summary: app-cdr/cdemu-1.1.0-r1 has no access to dbus
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Marcelo Goes (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-04 23:41 UTC by Johannes Schmidt
Modified: 2010-01-11 20:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Schmidt 2009-06-04 23:41:37 UTC
When I try to load a image in the 1.1.0 version the error message below occurs.
I dont know if it happens in earlier versions, but I used 1.0.0 on another machine and it worked fine.

A quick search on the net brought up this:
Add the line 
<allow send_interface="org.freedesktop.DBus.Introspectable"/>
to your /etc/dbus-1/system.d/cdemud-dbus.conf after 
<policy context="default">
I did that and it worked. It seemed quite logical to me because cdemu was complaining about a access problem to dbus.

Maybe that line should be added to the next ebuilds.

Reproducible: Always

Steps to Reproduce:
1.emerge cdemu
2.try to load a image
3.

Actual Results:  
ERROR:dbus.proxies:Introspect error on :1.1:/CDEMUD_Daemon: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.67" (uid=0 pid=26963 comm="python /usr/bin/cdemu load any daten1/Images/Homew") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.1" (uid=0 pid=10888 comm="/usr/bin/cdemud -d -c /dev/vhba_ctl -n 1 -a null "))                                                                                                                                                     
FEHLER: Fehler beim Erhalten des Status vom Laufwerk 0: org.freedesktop.DBus.Error.UnknownMethod: Method "DeviceGetStatus" with signature "i" on interface "net.sf.cdemu.CDEMUD_Daemon" doesn't exist              

FEHLER: Kein leeres Laufwerk gefunden

Expected Results:  
loading works, no error messages occur.

Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.10.1-r0, 2.6.29-gentoo-r4 x86_64)
=================================================================                                         
System uname: Linux-2.6.29-gentoo-r4-x86_64-Intel-R-_Xeon-R-_CPU_E3110_@_3.00GHz-with-gentoo-2.0.1        
Timestamp of tree: Thu, 04 Jun 2009 19:45:02 +0000                                                        
app-shells/bash:     4.0_p24                                                                              
dev-java/java-config: 2.1.8                                                                               
dev-lang/python:     2.4.6, 2.5.4-r2, 2.6.2-r1                                                            
dev-util/cmake:      2.6.4                                                                                
sys-apps/baselayout: 2.0.1                                                                                
sys-apps/openrc:     0.4.3-r2                                                                             
sys-apps/sandbox:    2.0                                                                                  
sys-devel/autoconf:  2.13, 2.63-r1                                                                        
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                              
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.29                                                                               
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                            
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/zugaina /usr/local/portage/layman/gnash-cvs /usr/local/portage/layman/oss-overlay /usr/local/portage/layman/pcsx2 /usr/local/portage/layman/pro-audio /usr/local/portage/localtree"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi amd64 bash-completion berkdb branding bzip2 cairo cdr cjk cli cracklib crypt dbus dri dvb dvd dvdr dvdread eds emboss encode evo fam ffmpeg firefox flac fluidsynth fortran fuse gdbm gif gpm hal iconv isdnlog jpeg kde kde4 lame libnotify mad matroska midi mikmod mmx mp3 mp4 mpeg mudflap multilib musepack mysql ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd theora tiff tk truetype twolame unicode usb vdpau vorbis wavpack webkit x264 xml xorg xulrunner xv xvid zlib" 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" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 enrique sardon 2009-08-05 03:22:51 UTC
I have the same problem... my info:

emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.1
Timestamp of tree: Wed, 29 Jul 2009 07:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
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.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -msse3 -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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -msse3 -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="es_PE.UTF-8"
LC_ALL="es_PE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es es_AR es_LA"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/xmms-overlay /usr/portage/local/kike /usr/portage/local/layman/armagetron /usr/portage/local/maintainer /usr/portage/local/layman/java-overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa apache2 berkdb bzip2 cairo cli cracklib crypt cups curl dbus directfb dri dvd dvdr fbcon flac foomaticdb fortran freetype ftp fuse gd gdbm gif glitz gpm gtk hal iconv imlib isdnlog java6 jpeg jpeg2k ldap mad matroska midi mmx mp3 mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl php png posix ppds pppd python qt3support qt4 readline reflection samba session slang spell spl sse ssl svg sysfs tcl tcpd tiff truetype unicode vorbis wifi win32codecs wma wxwindows x86 xcb xcomposite xml xorg xulrunner xv 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" KERNEL="linux" LINGUAS="es es_AR es_LA" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2010-01-11 20:48:13 UTC
I'm unable to reproduce this problem with version 1.2.0. If this problem is still reproducible for you, please, reopen bug.