Bug 5046 - obconf fails to load rc.xml
Status: RESOLVED FIXED
Alias: None
Product: ObConf
Classification: Unclassified
Component: general
Version: unspecified
Hardware: PC Linux
: P3 normal
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2011-06-16 18:55 EDT by Bill
Modified: 2011-08-30 15:00:09 EDT
0 users

See Also:



Description Bill 2011-06-16 18:55:26 EDT
I was asked to file this bug here by Markos Chandras. The gentoo bug is 369555.

When choosing Open Box Configuration a dialog box appears immediately stating: Failed to load an rc.xml. You have probably failed to install Openbox properly. The only option is to choose OK and close the dialog box - open box configuration is not accessible. 

The application is attempting to access the file lxde-rc.xml in the directory
"/home/bill/.config/openbox/home/bill/.config/openbox/" which by default
doesn't exist.

Output from strace:

obtrace:stat("/home/bill/.config/openbox/home/bill/.config/openbox/lxde-rc.xml",
0x7fffc32bd610) = -1 ENOENT (No such file or directory)

obtrace:stat("/etc/xdg/openbox/home/bill/.config/openbox/lxde-rc.xml",
0x7fffc32bd610) = -1 ENOENT (No such file or directory)

As a temporary resolution I created the directory
/home/bill/.config/openbox/home/bill/.config/openbox and symlinked back to
/home/bill/.config/openbox/lxde-rc.xml,

This is aLXDE installation using profile default/linux/amd64/10.0/desktop. 

This is the openbox version that was included with the installation of LXDE desktop. In addition, this bug also occurred on a Dell desktop about three months ago. Both were new installations by way of chrooting from sabayon.

(gentoo) gateway / # openbox --version
Openbox 3.5.0-rc1
Copyright (c) 2008        Mikael Magnusson
Copyright (c) 2003-2006   Dana Jansens


(gentoo) gateway / # cat $(which openbox-lxde)
#!/bin/sh
exec openbox --config-file $XDG_CONFIG_HOME/openbox/lxde-rc.xml $@

(gentoo) gateway bill # cat .xinitrc
exec startlxde
Comment 1 Bill 2011-06-16 18:56:22 EDT
emerge --info 

Portage 2.1.10 (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.13-r2,
2.6.39-gentoo x86_64)
=================================================================
System uname:
Linux-2.6.39-gentoo-x86_64-AMD_Phenom-tm-_9150e_Quad-Core_Processor-with-gentoo-2.0.2
Timestamp of tree: Mon, 06 Jun 2011 20:45:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo x11
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -mtune=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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"
CXXFLAGS="-O2 -mtune=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles
fixpackages news parallel-fetch protect-owned sandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/
rsync://gentoo.chem.wisc.edu/gentoo/ http://gentoo.chem.wisc.edu/gentoo/
http://mirrors.cs.wmich.edu/gentoo http://www.cyberuse.com/gentoo/
http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo
http://gentoo.mirrors.easynews.com/linux/gentoo/
http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/
ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/
http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo
ftp://ftp.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.hoobly.com/
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
rsync://distro.ibiblio.org/pub/linux/distributions/gentoo/
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://lug.mtu.edu/gentoo/
ftp://lug.mtu.edu/gentoo/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/
http://gentoo.netnitco.net http://gentoo.osuosl.org/
http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/
rsync://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/
http://mirrors.rit.edu/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/
http://mirror.iawnet.sandia.gov/gentoo/ ftp://gentoo.llarian.net/pub/gentoo
http://gentoo.llarian.net/ ftp://gentoo.mirrors.tds.net/gentoo
rsync://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.tds.net/gentoo
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.lug.udel.edu/pub/gentoo/
http://mirror.lug.udel.edu/pub/gentoo/ ftp://mirror.its.uidaho.edu/gentoo/
http://mirror.its.uidaho.edu/pub/gentoo/
http://gentoo.cites.uiuc.edu/pub/gentoo/
ftp://gentoo.cites.uiuc.edu/pub/gentoo/
rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/
http://mirror.usu.edu/mirrors/gentoo/
ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="/var/lib/layman/x11"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 apng automount branding bzip2
cairo cdr cli consolekit cracklib crypt cups cxx dbus dirac dri dts dvd dvdr
emboss encode exif extras facc fadd fam firefox flac fortran gdbm gdu gif gnome
gpm gtk hddtemp iconv ipv6 java jpeg kdrive lcms ldap libnotify live lm_sensors
lock mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses network nls nptl
nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd
pulseaudio python qt-bundled qt3support qt4 readline sdl session sound spell
sqlite sse sse2 ssl startup-notification static-libs svg sysfs tcpd tiff
truetype udev unicode vorbis x264 xcb xml xorg xulrunner xv xvid xvmc 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 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="braindump flow karbon kexi kpresenter krita tables words"
CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap
syslog" 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 ubx"
INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3"
RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati vesa"
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, LANG, LC_ALL,
LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Dana Jansens 2011-08-30 15:00:09 EDT
A patch was commited for this to obconf git a few weeks back.