Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300260 - kde-base/kwalletmanager-4.3.3 doesn't start as user but only with sudo
Summary: kde-base/kwalletmanager-4.3.3 doesn't start as user but only with sudo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-09 09:03 UTC by d4lamar
Modified: 2010-09-29 18:58 UTC (History)
1 user (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 d4lamar 2010-01-09 09:03:18 UTC
Version: 4.3.3

I think there's a problem with dbus access, but I can't solve it.

Could you help me?

STRACE OUTPUT:

dalamar@sisifo /tmp $ strace kwalletmanager
execve("/usr/bin/kwalletmanager", ["kwalletmanager"], [/* 61 vars */]) = 0

...

connect(3, {sa_family=AF_FILE, path=@"/tmp/dbus-je6G6JZkNs"}, 23) = 0                                               
fcntl(3, F_GETFL)                       = 0x2 (flags O_RDWR)                                                         
fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)    = 0                                                                         
fcntl(3, F_GETFD)                       = 0                                                                         
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0                                                                         
geteuid()                               = 1000                                                                       
brk(0x138a000)                          = 0x138a000                                                                 
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7fe415d02270}, {SIG_DFL, [], 0}, 8) = 0           
poll([{fd=3, events=POLLOUT}], 1, 0)    = 1 ([{fd=3, revents=POLLOUT}])                                             
write(3, "\0", 1)                       = 1                                                                         
write(3, "AUTH EXTERNAL 31303030\r\n", 24) = 24                                                                     
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])                                               
read(3, "OK 7609e13076321c0d3c8bf8374b479"..., 2048) = 37                                                           
poll([{fd=3, events=POLLOUT}], 1, -1)   = 1 ([{fd=3, revents=POLLOUT}])                                             
write(3, "BEGIN\r\n", 7)                = 7                                                                         
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])                                         
writev(3, [{"l\1\0\1\0\0\0\0\1\0\0\0n\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 128}, {"", 0}], 2) = 128
poll([{fd=3, events=POLLIN}], 1, 25000) = 1 ([{fd=3, revents=POLLIN}])
read(3, "l\2\1\1\n\0\0\0\1\0\0\0=\0\0\0\6\1s\0\5\0\0\0:1.91\0\0\0"..., 2048) = 260
read(3, 0x136a160, 2048)                = -1 EAGAIN (Resource temporarily unavailable)
writev(3, [{"l\1\0\1\30\0\0\0\2\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"\23\0\0\0destination=':1.91'\0", 24}], 2) = 168
poll([{fd=3, events=POLLIN}], 1, 25000) = 1 ([{fd=3, revents=POLLIN}])
read(3, "l\2\1\1\0\0\0\0\3\0\0\0005\0\0\0\6\1s\0\5\0\0\0:1.91\0\0\0"..., 2048) = 72
read(3, 0x136a160, 2048)                = -1 EAGAIN (Resource temporarily unavailable)
writev(3, [{"l\1\0\1\31\0\0\0\3\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"\24\0\0\0org.freedesktop.DBus\0", 25}], 2) = 169
poll([{fd=3, events=POLLIN}], 1, 25000) = 1 ([{fd=3, revents=POLLIN}])
read(3, "l\2\1\1\31\0\0\0\4\0\0\0=\0\0\0\6\1s\0\5\0\0\0:1.91\0\0\0"..., 2048) = 105
read(3, 0x136a160, 2048)                = -1 EAGAIN (Resource temporarily unavailable)
writev(3, [{"l\1\0\1\210\0\0\0\4\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"\203\0\0\0type='signal',sender='org.fr"..., 136}], 2) = 280
poll([{fd=3, events=POLLIN}], 1, 25000) = 1 ([{fd=3, revents=POLLIN}])
read(3, "l\2\1\1\0\0\0\0\5\0\0\0005\0\0\0\6\1s\0\5\0\0\0:1.91\0\0\0"..., 2048) = 72
read(3, 0x136a160, 2048)                = -1 EAGAIN (Resource temporarily unavailable)
writev(3, [{"l\1\0\1\33\0\0\0\5\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"\26\0\0\0org.kde.kwalletmanager\0", 27}], 2) = 171
poll([{fd=3, events=POLLIN}], 1, 25000) = 1 ([{fd=3, revents=POLLIN}])
read(3, "l\2\1\1\4\0\0\0\6\0\0\0=\0\0\0\6\1s\0\5\0\0\0:1.91\0\0\0"..., 2048) = 84
read(3, 0x136a160, 2048)                = -1 EAGAIN (Resource temporarily unavailable)
writev(3, [{"l\1\0\1\33\0\0\0\6\0\0\0\177\0\0\0\1\1o\0\25\0\0\0/org/fre"..., 144}, {"\26\0\0\0org.kde.kwalletmanager\0", 27}], 2) = 171
poll([{fd=3, events=POLLIN}], 1, 25000) = 1 ([{fd=3, revents=POLLIN}])
read(3, "l\2\1\1\n\0\0\0\7\0\0\0=\0\0\0\6\1s\0\5\0\0\0:1.91\0\0\0"..., 2048) = 90
read(3, 0x136a160, 2048)                = -1 EAGAIN (Resource temporarily unavailable)
writev(3, [{"l\1\0\1\0\0\0\0\7\0\0\0\203\0\0\0\1\1o\0\20\0\0\0/MainApp"..., 152}, {"", 0}], 2) = 152
poll([{fd=3, events=POLLIN}], 1, 25000) = 1 ([{fd=3, revents=POLLIN}])
read(3, "l\2\1\1\177\v\0\0W\0\0\0.\0\0\0\6\1s\0\5\0\0\0:1.91\0\0\0"..., 2048) = 2048
read(3, "<arg type=\"i\" direction=\"out\"/>\n"..., 2048) = 959
writev(3, [{"l\1\0\1 \0\0\0\10\0\0\0\212\0\0\0\1\1o\0\20\0\0\0/MainApp"..., 160}, {"\0\0\0\0\30\0\0\0\0\0\0\4/tmp\0\0\0\1\377\377\377\377\0\0\0\0\0\0\0\0", 32}], 2) = 192
poll([{fd=3, events=POLLIN}], 1, 25000) = 1 ([{fd=3, revents=POLLIN}])
read(3, "l\2\1\1\4\0\0\0X\0\0\0.\0\0\0\6\1s\0\5\0\0\0:1.91\0\0\0"..., 2048) = 68
read(3, 0x137cbd0, 2048)                = -1 EAGAIN (Resource temporarily unavailable)
exit_group(0)                           = ?
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2010-04-12 22:12:45 UTC
What's your version of dbus?
Please attach the output of emerge --info

Does this problem still happen with kde-4.3.5 or 4.4.2?
Comment 2 d4lamar 2010-04-13 07:58:35 UTC
(In reply to comment #1)
> What's your version of dbus?
> Please attach the output of emerge --info

$ emerge --info dbus
Portage 2.1.7.17 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32.7 x86_64)
=================================================================                       
                        System Settings                                                 
=================================================================                       
System uname: Linux-2.6.32.7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 07 Apr 2010 13:00:01 +0000                                                
ccache version 2.4 [enabled]                                                                      
app-shells/bash:     4.0_p37                                                                      
dev-java/java-config: 2.1.10                                                                      
dev-lang/python:     2.6.4-r1                                                                     
dev-util/ccache:     2.4-r7                                                                       
dev-util/cmake:      2.6.4-r3                                                                     
sys-apps/baselayout: 1.12.13                                                                      
sys-apps/sandbox:    1.6-r2                                                                       
sys-devel/autoconf:  2.13, 2.63-r1                                                                
sys-devel/automake:  1.8.5-r3, 1.9.6-r3, 1.10.3                                                   
sys-devel/binutils:  2.18-r3                                                                      
sys-devel/gcc:       4.3.4                                                                        
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--usepkg"
FEATURES="assume-digests buildpkg ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it en"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bzip2 cli cracklib crypt cups cxx dbus doc dri dri2 dvd dvdr encode ffmpeg flac fortran gdbm gif gpm gstreamer hal iconv ipv6 jpeg mmx modules mp3 mplayer mudflap multilib multislot musicbrainz ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre perl png pppd pulseaudio python readline reflection samba session spl sse sse2 ssl ssse3 sysfs tcpd tiff truetype unicode usb xine xorg 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i810 vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-apps/dbus-1.2.3-r1 was built with the following:
USE="X doc (multilib) -debug (-selinux)"
CFLAGS="-march=nocona -O2 -pipe -rdynamic"
CXXFLAGS="-march=nocona -O2 -pipe -rdynamic"


> Does this problem still happen with kde-4.3.5 or 4.4.2?

I don't remember how I reproduced the problem when I opened the bug.
Today if I try to use kwalletmanager from command line I got this error and nothing happens, but apps like kopete can use and open the application.


$ kwalletmanager
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) 

$ eix kwallet
[D] kde-base/kwallet
     Available versions:  (4.3) 4.3.3 ~4.3.4
        {aqua debug handbook kdeenablefinal kdeprefix}
     Installed versions:  4.3.5(4.3)(13:28:34 25/02/2010)(handbook -aqua -debug -kdeenablefinal -kdeprefix)
     Homepage:            http://www.kde.org/
     Description:         KDE Wallet Management Tool

[D] kde-base/kwalletd
     Available versions:  (4.3) 4.3.3 ~4.3.4
        {aqua debug kdeenablefinal kdeprefix}
     Installed versions:  4.3.5(4.3)(13:18:18 25/02/2010)(-aqua -debug -kdeenablefinal -kdeprefix)
     Homepage:            http://www.kde.org/
     Description:         KDE Password Server


TIA,
d4lamar
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2010-07-07 19:10:13 UTC
Is this still a problem with kde-4.4.4?
Comment 4 d4lamar 2010-09-29 18:58:06 UTC
I have no more problems with 4.4.4 version.

$ eix wallet
[D] kde-base/kwallet
     Available versions:  
        (4.2)   ~4.2.4
        (4.3)   ~4.3.0 ~4.3.1
        {aqua debug handbook kdeprefix}
     Installed versions:  4.4.4(4.4){tbz2}(18:28:26 11/07/2010)(handbook -aqua -debug -kdeenablefinal -kdeprefix)
     Homepage:            http://www.kde.org/
     Description:         KDE Wallet Management Tool

[D] kde-base/kwalletd
     Available versions:  
        (4.2)   ~4.2.4
        (4.3)   ~4.3.0 ~4.3.1
        {aqua debug kdeprefix}
     Installed versions:  4.4.4(4.4){tbz2}(16:36:44 11/07/2010)(-aqua -debug -kdeenablefinal -kdeprefix)
     Homepage:            http://www.kde.org/
     Description:         KDE Password Server


Thanks,
d4lamar