Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133686 - media-sound/amarok-1.4.0-r2 starts properly only as root
Summary: media-sound/amarok-1.4.0-r2 starts properly only as root
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-18 06:43 UTC by Andrei
Modified: 2006-05-19 15:13 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 Andrei 2006-05-18 06:43:08 UTC
as soon as i start it as a refular user it displays a first-run wizard and after a few seconds an error message stating that amarok could not find any sound-engine plugins. then it sais that amarok could be installed under the wrong prefix (i have no idea how to check this but since it's installed from an official ebuild i guess the prefix is ok...)

i guess it has something to do with ksycoca
here is the console output...

[as a regular user:]
$ amarokapp
STARTUP
kbuildsycoca running...
Reusing existing ksycoca
kio (KSycoca): ERROR: No database available!
kbuildsycoca: WARNING: '/usr/kde/3.5/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/x-tbz2'
kbuildsycoca: WARNING: 'ark_part.desktop' specifies undefined mimetype/servicetype 'application/x-tbz2'
kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/english'
kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/x-c'
kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++'
kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/english'
kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c'
kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++'
kbuildsycoca: WARNING: '/usr/kde/3.5/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'application/x-kvoctrain'
kbuildsycoca: WARNING: '/usr/kde/3.5/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'text/x-kvtml'
kbuildsycoca: WARNING: '/usr/share/applications/kde/amarok.desktop' specifies undefined mimetype/servicetype 'application/asx'
kbuildsycoca: WARNING: '/usr/share/applications/kde/amarok.desktop' specifies undefined mimetype/servicetype 'audio/midi'
kbuildsycoca: WARNING: '/usr/share/applications/kde/amarok.desktop' specifies undefined mimetype/servicetype 'audio/x-aac'
kbuildsycoca: WARNING: '/usr/share/applications/kde/amarok.desktop' specifies undefined mimetype/servicetype 'audio/x-m4a'
kbuildsycoca: WARNING: '/usr/kde/3.5/share/applications/kde/kuickshow.desktop' specifies undefined mimetype/servicetype 'image/x-psd'
kbuildsycoca: WARNING: '/usr/kde/3.5/share/applications/kde/kuickshow.desktop' specifies undefined mimetype/servicetype 'image/x-eim'
kbuildsycoca: WARNING: 'kcertpart.desktop' specifies undefined mimetype/servicetype 'application/binary-certificate'
kbuildsycoca: WARNING: '/usr/kde/3.5/share/applications/kde/kmid.desktop' specifies undefined mimetype/servicetype 'audio/midi'
kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/english'
kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c'
kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-fortran'
kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined mimetype/servicetype 'KNotify'



[as root:]
# amarokapp
kbuildsycoca running...
Reusing existing ksycoca
kio (KSycoca): ERROR: No database available!
kbuildsycoca: WARNING: '/usr/kde/3.5/share/applications/kde/ark.desktop' specifies undefined mimetype/servicetype 'application/x-tbz2'
kbuildsycoca: WARNING: 'ark_part.desktop' specifies undefined mimetype/servicetype 'application/x-tbz2'
kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/english'
kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/x-c'
kbuildsycoca: WARNING: 'karm_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++'
kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/english'
kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c'
kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++'
kbuildsycoca: WARNING: '/usr/kde/3.5/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'application/x-kvoctrain'
kbuildsycoca: WARNING: '/usr/kde/3.5/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'text/x-kvtml'
kbuildsycoca: WARNING: '/usr/share/applications/kde/amarok.desktop' specifies undefined mimetype/servicetype 'application/asx'
kbuildsycoca: WARNING: '/usr/share/applications/kde/amarok.desktop' specifies undefined mimetype/servicetype 'audio/midi'
kbuildsycoca: WARNING: '/usr/share/applications/kde/amarok.desktop' specifies undefined mimetype/servicetype 'audio/x-aac'
kbuildsycoca: WARNING: '/usr/share/applications/kde/amarok.desktop' specifies undefined mimetype/servicetype 'audio/x-m4a'
kbuildsycoca: WARNING: '/usr/kde/3.5/share/applications/kde/kuickshow.desktop' specifies undefined mimetype/servicetype 'image/x-psd'
kbuildsycoca: WARNING: '/usr/kde/3.5/share/applications/kde/kuickshow.desktop' specifies undefined mimetype/servicetype 'image/x-eim'
kbuildsycoca: WARNING: 'kcertpart.desktop' specifies undefined mimetype/servicetype 'application/binary-certificate'
kbuildsycoca: WARNING: '/usr/kde/3.5/share/applications/kde/kmid.desktop' specifies undefined mimetype/servicetype 'audio/midi'
kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/english'
kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c'
kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++'
kbuildsycoca: WARNING: 'katepart.desktop' specifies undefined mimetype/servicetype 'text/x-fortran'
kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined mimetype/servicetype 'KNotify'
QLayout: Adding KToolBar/mainToolBar (child of QVBox/unnamed) to layout for PlaylistWindow/PlaylistWindow
STARTUP
Launched ok, pid = 21606
Comment 1 radfoj 2006-05-18 07:54:15 UTC
Should be due a bad permissions for /usr/share/services directory. Is it readable for regular user?
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-18 08:00:45 UTC
It really should.
Comment 3 Andrei 2006-05-19 15:13:18 UTC
you were right, /usr/share/services was set to 700. now it works like a charm :)
thanks!