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

Bug 316749

Summary: media-tv/xbmc-9.11-r3 fails to start looking for missing smb.conf
Product: Gentoo Linux Reporter: Thomas Capricelli <orzel>
Component: Current packagesAssignee: Gentoo Xbox project <xbox>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Capricelli 2010-04-23 02:21:35 UTC
I have the following messages on startup


orzel@berlioz /home/orzel% xbmc
params.c:OpenConfFile() - Unable to open configuration file "/home/orzel/.smb/smb.conf":
        No such file or directory
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
        No such file or directory
ERROR: Unable to create application. Exiting
orzel@berlioz /home/orzel% xbmc-standalone 
which: no pulse-session in (/home/orzel/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/avr/gcc-bin/4.4.3:/usr/x86_64-pc-linux-gnu/mingw32/gcc-bin/4.4.3:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.2:/opt/SunStudioExpress/bin:/usr/games/bin:/usr/local/bin:/sbin:/usr/sbin:/opt/zeta/bin:.)
params.c:OpenConfFile() - Unable to open configuration file "/home/orzel/.smb/smb.conf":
        No such file or directory
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
        No such file or directory
ERROR: Unable to create application. Exiting


I dont use samba, i've tried to search for samba-related USE flags and i removed completely ~/.xbmc/, just in case.

Here's the output of emerge xbmc -vp
[ebuild   R   ] media-tv/xbmc-9.11-r3  USE="aac alsa avahi midi sse sse2 (-altivec) -debug -joystick -profile -pulseaudio -vdpau -css -xrandr" 

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2010-05-23 18:52:30 UTC
xbmc will create ~/.smb/smb.conf for you.  if the files doesnt exist, it's because it wasnt able to create ~/.smb/ and then write out the file.

run xbmc through strace to figure out why it cant write that location