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

Bug 348495

Summary: app-admin/sabayon-2.30.0 crashes when trying to "edit" any profile
Product: Gentoo Linux Reporter: Christian Asseburg <christian>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Asseburg 2010-12-12 11:36:56 UTC
Sabayon crashes when I click the "Edit" button to edit any profile. Then there's a popup window telling me to submit the following information to this bugtracker:


===== BEGIN MILESTONES (/usr/bin/sabayon) =====
MainThread 2010/12/12 13:24:36.3400 (admin-tool): Creating profiles dialog
MainThread 2010/12/12 13:24:36.3697 (admin-tool): Starting main loop
MainThread 2010/12/12 13:24:39.7963 (admin-tool): Got fatal error: sabayon-session exited with a FATAL ERROR (exit code 1)
MainThread 2010/12/12 13:24:39.9642 (admin-tool): Terminating main loop
MainThread 2010/12/12 13:24:39.9643 (admin-tool): Exiting abnormally; dumping log due to a fatal error
===== END MILESTONES (/usr/bin/sabayon) =====
===== BEGIN RING BUFFER (/usr/bin/sabayon) =====
MainThread 2010/12/12 13:24:36.3400 (admin-tool): Creating profiles dialog
MainThread 2010/12/12 13:24:36.3697 (admin-tool): Starting main loop
MainThread 2010/12/12 13:24:39.0636 (USER): Starting to edit profile 'Default'
MainThread 2010/12/12 13:24:39.7963 (admin-tool): Got fatal error: sabayon-session exited with a FATAL ERROR (exit code 1)
MainThread 2010/12/12 13:24:39.9632 (USER): Finishing editing profile
MainThread 2010/12/12 13:24:39.9642 (admin-tool): Terminating main loop
MainThread 2010/12/12 13:24:39.9643 (admin-tool): Exiting abnormally; dumping log due to a fatal error
===== END RING BUFFER (/usr/bin/sabayon) =====


This configuration for the debug log can be re-created
by putting the following in /etc/sabayon/sabayon-debug-log.conf
(use ';' to separate domain names):

[debug log]
max lines = 1000


Reproducible: Always

Steps to Reproduce:
1. Start sabayon with admin rights (sudo, or right-click, run as admin)
2. (Create a profile if there are no profiles.)
3. Click "Edit button"

Actual Results:  
Sabayon crashes. Error message pops up saying that Sabayon crashed and would I please submit this bug report.

Expected Results:  
I haven't used Sabayon before so I'm not sure what to expect, but according to the Help files, it should open a Window that shows a screen as if I had logged in as a different user, so that I could then customise that screen.

I have never used Sabayon before.

emerge --info
Portage 2.1.9.24 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r12 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r12-x86_64-AMD_Athlon-tm-_II_X2_250_Processor-with-gentoo-1.12.14
Timestamp of tree: Sat, 11 Dec 2010 11:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ABI="amd64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="hda-intel usb-audio"
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"
ANT_HOME="/usr/share/ant"
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"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
BUILD_PREFIX="/tmp"
CAMERAS="fuji"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="500M"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-march=native -O2 -pipe"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules"
COLORTERM="gnome-terminal"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
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"
CVS_RSH="ssh"
CXXFLAGS="-march=native -O2 -pipe"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-XS0efJeYcj,guid=fde72536fa87fdcdb1b7e19c0000002d"
DEFAULT_ABI="amd64"
DESKTOP_SESSION="gnome"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="-a -v --with-bdeps y --quiet-build --keep-going"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; exec sftp \"\${x%%/*}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; exec rsync -avP \"\${x%%/*}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
GCC_SPECS=""
GDK_USE_XFT="1"
GDMSESSION="gnome"
GDM_LANG="en_GB.UTF-8"
GDM_XSERVER_LOCATION="local"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ "
GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
GNOME_KEYRING_CONTROL="/tmp/keyring-x98H0u"
GNOME_KEYRING_PID="6400"
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"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/ca/.gtkrc-1.2-gnome2"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/home/ca"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.4/info"
INPUT_DEVICES="keyboard mouse evdev"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVACC_HOME="/usr/share/javacc/"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LANG="en_GB.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LINGUAS="ca fr fr_CA sv_SE sv da es_ES es es_LA fi it is no nl de ja en_GB en en_US el"
LOGNAME="ca"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAKEOPTS="-j3"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.4/man:/etc/java-config/system-vm/man/"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OPENGL_PROFILE="xorg-x11"
ORBIT_SOCKETDIR="/tmp/orbit-ca"
PAGER="/usr/bin/less"
PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4:/usr/games/bin"
PHP_TARGETS="php5-2"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="ca /usr/sbin/sendmail"
PORTAGE_ELOG_SYSTEM="save_summary mail"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_QUIET="1"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="35"
PORTAGE_SANDBOX_COMPAT_LEVEL="16"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PRELINK_PATH_MASK="/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/home/ca"
PYTHONDONTWRITEBYTECODE="1"
RESUMECOMMAND="/usr/bin/wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; exec rsync -avP \"\${x%%/*}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.4"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
R_HOME="/usr/lib64/R"
SANE_CONFIG_DIR="/etc/sane.d"
SESSION_MANAGER="local/puolukka:@/tmp/.ICE-unix/6477,unix/puolukka:/tmp/.ICE-unix/6477"
SHELL="/bin/bash"
SHLVL="1"
SSH_AGENT_PID="6507"
SSH_AUTH_SOCK="/tmp/keyring-x98H0u/ssh"
STAGE1_USE="multilib nptl nptlonly unicode"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="xterm"
USB_DEVFS_PATH="/dev/bus/usb"
USE="3dnow X a52 aac acl acpi alsa amd64 bash-completion berkdb bidi bzip2 cairo cdda cddb cdinstall cdparanoia cdr cjk cli consolekit cracklib crypt css curl curlwrappers custom-cflags cxx dbus djvu dri dts dvd dvdr eds encode exif fam fbcon ffmpeg flac fontconfig fortran ftp gdbm gdu gif gimp gnome gnome-keyring gphoto2 gpm gsm gstreamer gtk hardened hddtemp iconv icu idn imagemagick imap ipv6 java javascript jpeg jpeg2k lcms ldap libnotify lm_sensors m17n-lib mad maildir matroska mbox mikmod mime mmap mmx mng modules mp3 mp4 mpeg mpi mudflap multilib musepack mysql nautilus ncurses networkmanager nls nocd nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pda pdf perl png policykit pppd python qt3support qt4 quicktime raw readline rss sasl sdl session sharedmem smp spell sqlite sqlite3 sse sse2 ssl startup-notification svg symlink sysfs syslog sysvipc taglib tcpd theora threads tiff truetype udev unicode usb vcd vorbis wavpack wmf x264 xattr xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" 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" CAMERAS="fuji" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ca fr fr_CA sv_SE sv da es_ES es es_LA fi it is no nl de ja en_GB en en_US el" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 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" 
USER="ca"
USERLAND="GNU"
USERNAME="ca"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nouveau"
WINDOWID="46137347"
WINDOWPATH="7"
XAUTHORITY="/home/ca/.Xauthority"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share/gdm"
XDG_MENU_PREFIX="gnome-"
XDG_SESSION_COOKIE="29d58d6ac9cde60c10996350000014e0-1292148348.59920-474051121"
XERCESC_NLS_HOME="/usr/share/xerces-c/msg"
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"
XZ_OPT="--memory=max"
_="/usr/bin/emerge"
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-14 13:11:53 UTC
hum, this is a bit light for debug information. Could you start it from a terminal and attach the output of the full run when it crashes ?
Comment 2 Christian Asseburg 2010-12-14 15:12:04 UTC
ca@puolukka ~ $ sudo sabayon
Password: 
MainThread 2010/12/14 17:10:53.8365 (admin-tool): Creating profiles dialog
MainThread 2010/12/14 17:10:54.1280 (admin-tool): Starting main loop
MainThread 2010/12/14 17:10:56.6958 (USER): Starting to edit profile 'Default'
MainThread 2010/12/14 17:10:57.5383 (sabayon-session): Starting session window for profile_name='Default', profile_path='/tmp/profile-sabayon-admin-GnLSZC.zip', display_number='1'
MainThread 2010/12/14 17:10:57.7940 (proto-session): Running sabayon-apply: ['/usr/sbin/sabayon-apply', '-s', 'Default', '--admin-log-config=/etc/sabayon/sabayon-debug-log.conf', '--readable-log-config=/tmp/tmp1ZYuW4']
MainThread 2010/12/14 17:10:58.0996 (sabayon-apply): Applying profile 'Default' for user 'sabayon-admin'
MainThread 2010/12/14 17:10:58.1459 (sabayon-apply): Fatal exception!  Exiting abnormally.
MainThread 2010/12/14 17:10:58.1542 (sabayon-apply): Traceback (most recent call last):
  File "/usr/sbin/sabayon-apply", line 165, in <module>
    profile.apply (is_sabayon_session)
  File "/usr/lib64/python2.6/site-packages/sabayon/userprofile.py", line 392, in apply
    s.apply (is_sabayon_session)
  File "/usr/lib64/python2.6/site-packages/sabayon/sources/gconfsource.py", line 306, in apply
    storage_contents = self.storage.list (self.name)
  File "/usr/lib64/python2.6/site-packages/sabayon/storage.py", line 585, in list
    self.foreach (listify, retval, source)
  File "/usr/lib64/python2.6/site-packages/sabayon/storage.py", line 617, in foreach
    self.__read_metadata ()
  File "/usr/lib64/python2.6/site-packages/sabayon/storage.py", line 174, in __read_metadata
    (self.path, sys.exc_info()[1]))
ProfileStorageException: Failed to read file '/etc/sabayon/profiles/Default.zip': [Errno 13] Permission denied: '/etc/sabayon/profiles/Default.zip'

===== BEGIN MILESTONES (/usr/sbin/sabayon-apply) =====
MainThread 2010/12/14 17:10:58.0996 (sabayon-apply): Applying profile 'Default' for user 'sabayon-admin'
MainThread 2010/12/14 17:10:58.1459 (sabayon-apply): Fatal exception!  Exiting abnormally.
MainThread 2010/12/14 17:10:58.1542 (sabayon-apply): Traceback (most recent call last):
  File "/usr/sbin/sabayon-apply", line 165, in <module>
    profile.apply (is_sabayon_session)
  File "/usr/lib64/python2.6/site-packages/sabayon/userprofile.py", line 392, in apply
    s.apply (is_sabayon_session)
  File "/usr/lib64/python2.6/site-packages/sabayon/sources/gconfsource.py", line 306, in apply
    storage_contents = self.storage.list (self.name)
  File "/usr/lib64/python2.6/site-packages/sabayon/storage.py", line 585, in list
    self.foreach (listify, retval, source)
  File "/usr/lib64/python2.6/site-packages/sabayon/storage.py", line 617, in foreach
    self.__read_metadata ()
  File "/usr/lib64/python2.6/site-packages/sabayon/storage.py", line 174, in __read_metadata
    (self.path, sys.exc_info()[1]))
ProfileStorageException: Failed to read file '/etc/sabayon/profiles/Default.zip': [Errno 13] Permission denied: '/etc/sabayon/profiles/Default.zip'

===== END MILESTONES (/usr/sbin/sabayon-apply) =====
===== BEGIN RING BUFFER (/usr/sbin/sabayon-apply) =====
MainThread 2010/12/14 17:10:58.0996 (sabayon-apply): Applying profile 'Default' for user 'sabayon-admin'
MainThread 2010/12/14 17:10:58.1459 (sabayon-apply): Fatal exception!  Exiting abnormally.
MainThread 2010/12/14 17:10:58.1542 (sabayon-apply): Traceback (most recent call last):
  File "/usr/sbin/sabayon-apply", line 165, in <module>
    profile.apply (is_sabayon_session)
  File "/usr/lib64/python2.6/site-packages/sabayon/userprofile.py", line 392, in apply
    s.apply (is_sabayon_session)
  File "/usr/lib64/python2.6/site-packages/sabayon/sources/gconfsource.py", line 306, in apply
    storage_contents = self.storage.list (self.name)
  File "/usr/lib64/python2.6/site-packages/sabayon/storage.py", line 585, in list
    self.foreach (listify, retval, source)
  File "/usr/lib64/python2.6/site-packages/sabayon/storage.py", line 617, in foreach
    self.__read_metadata ()
  File "/usr/lib64/python2.6/site-packages/sabayon/storage.py", line 174, in __read_metadata
    (self.path, sys.exc_info()[1]))
ProfileStorageException: Failed to read file '/etc/sabayon/profiles/Default.zip': [Errno 13] Permission denied: '/etc/sabayon/profiles/Default.zip'

===== END RING BUFFER (/usr/sbin/sabayon-apply) =====


This configuration for the debug log can be re-created
by putting the following in /etc/sabayon/sabayon-debug-log.conf
(use ';' to separate domain names):

[debug log]
max lines = 1000
MainThread 2010/12/14 17:10:58.1881 (proto-session): Finished running sabayon-apply with FATAL exit status
MainThread 2010/12/14 17:10:58.1883 (sabayon-session): Fatal exception!  Exiting abnormally.
MainThread 2010/12/14 17:10:58.1938 (sabayon-session): Traceback (most recent call last):
  File "/usr/libexec/sabayon-session", line 75, in <module>
    window = sessionwindow.SessionWindow (profile_name, profile_path, display_number)
  File "/usr/lib64/python2.6/site-packages/sabayon/sessionwindow.py", line 167, in __init__
    self.__setup_session ()
  File "/usr/lib64/python2.6/site-packages/sabayon/sessionwindow.py", line 337, in __setup_session
    self.session.apply_profile ()
  File "/usr/lib64/python2.6/site-packages/sabayon/protosession.py", line 486, in apply_profile
    "user profile from '%s'.") % self.profile_file)
FatalApplyErrorException: There was a fatal error while applying the user profile from 'Default'.

===== BEGIN MILESTONES (/usr/libexec/sabayon-session) =====
MainThread 2010/12/14 17:10:57.5383 (sabayon-session): Starting session window for profile_name='Default', profile_path='/tmp/profile-sabayon-admin-GnLSZC.zip', display_number='1'
MainThread 2010/12/14 17:10:57.7940 (proto-session): Running sabayon-apply: ['/usr/sbin/sabayon-apply', '-s', 'Default', '--admin-log-config=/etc/sabayon/sabayon-debug-log.conf', '--readable-log-config=/tmp/tmp1ZYuW4']
MainThread 2010/12/14 17:10:58.1881 (proto-session): Finished running sabayon-apply with FATAL exit status
MainThread 2010/12/14 17:10:58.1883 (sabayon-session): Fatal exception!  Exiting abnormally.
MainThread 2010/12/14 17:10:58.1938 (sabayon-session): Traceback (most recent call last):
  File "/usr/libexec/sabayon-session", line 75, in <module>
    window = sessionwindow.SessionWindow (profile_name, profile_path, display_number)
  File "/usr/lib64/python2.6/site-packages/sabayon/sessionwindow.py", line 167, in __init__
    self.__setup_session ()
  File "/usr/lib64/python2.6/site-packages/sabayon/sessionwindow.py", line 337, in __setup_session
    self.session.apply_profile ()
  File "/usr/lib64/python2.6/site-packages/sabayon/protosession.py", line 486, in apply_profile
    "user profile from '%s'.") % self.profile_file)
FatalApplyErrorException: There was a fatal error while applying the user profile from 'Default'.

===== END MILESTONES (/usr/libexec/sabayon-session) =====
===== BEGIN RING BUFFER (/usr/libexec/sabayon-session) =====
MainThread 2010/12/14 17:10:57.5383 (sabayon-session): Starting session window for profile_name='Default', profile_path='/tmp/profile-sabayon-admin-GnLSZC.zip', display_number='1'
MainThread 2010/12/14 17:10:57.7940 (proto-session): Running sabayon-apply: ['/usr/sbin/sabayon-apply', '-s', 'Default', '--admin-log-config=/etc/sabayon/sabayon-debug-log.conf', '--readable-log-config=/tmp/tmp1ZYuW4']
MainThread 2010/12/14 17:10:58.1881 (proto-session): Finished running sabayon-apply with FATAL exit status
MainThread 2010/12/14 17:10:58.1883 (sabayon-session): Fatal exception!  Exiting abnormally.
MainThread 2010/12/14 17:10:58.1938 (sabayon-session): Traceback (most recent call last):
  File "/usr/libexec/sabayon-session", line 75, in <module>
    window = sessionwindow.SessionWindow (profile_name, profile_path, display_number)
  File "/usr/lib64/python2.6/site-packages/sabayon/sessionwindow.py", line 167, in __init__
    self.__setup_session ()
  File "/usr/lib64/python2.6/site-packages/sabayon/sessionwindow.py", line 337, in __setup_session
    self.session.apply_profile ()
  File "/usr/lib64/python2.6/site-packages/sabayon/protosession.py", line 486, in apply_profile
    "user profile from '%s'.") % self.profile_file)
FatalApplyErrorException: There was a fatal error while applying the user profile from 'Default'.

===== END RING BUFFER (/usr/libexec/sabayon-session) =====


This configuration for the debug log can be re-created
by putting the following in /etc/sabayon/sabayon-debug-log.conf
(use ';' to separate domain names):

[debug log]
max lines = 1000
MainThread 2010/12/14 17:10:58.2256 (admin-tool): Got fatal error: sabayon-session exited with a FATAL ERROR (exit code 1)
MainThread 2010/12/14 17:10:58.4128 (USER): Finishing editing profile
MainThread 2010/12/14 17:10:58.4133 (admin-tool): Terminating main loop
MainThread 2010/12/14 17:10:58.4134 (admin-tool): Exiting abnormally; dumping log due to a fatal error

(The contents of the log are in the first post.)
Comment 3 Pacho Ramos gentoo-dev 2011-01-27 19:23:34 UTC
Looks like even you running sabayon using sudo, it cannot write to /etc/sabayon/profiles/Default.zip
Comment 4 Pacho Ramos gentoo-dev 2011-02-24 17:51:20 UTC
(In reply to comment #3)
> Looks like even you running sabayon using sudo, it cannot write to
> /etc/sabayon/profiles/Default.zip
> 

Could you check its permissions? This looks to me like a permissions problem related with sudo not being able to touch needed files (maybe you don't have sudo configured properly)
Comment 5 Christian Asseburg 2011-02-26 15:23:54 UTC
Hi! Permissions are below. I am now running sabayon-2.30.1 and the same error occurs.

ls -l /etc/sabayon/profiles
total 1
-rw------- 1 root root 198 Dec 12 13:23 Default.zip

Comment 6 Pacho Ramos gentoo-dev 2011-02-26 15:31:56 UTC
Something is wrong then in your sudo setup as it's not allowing you to read that required file (maybe giving it read access to all user would also solve this: chmod a+r Default.zip ; but I don't know if it's supposed to be done...)
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-02-26 15:51:05 UTC
I've never used sabayon on this machine yet and creating a new profile gives this:

$ ls -l /etc/sabayon/profiles/
total 4
-rw-r--r-- 1 root root 198 26 févr. 16:44 Defaut.zip
Comment 8 Christian Asseburg 2011-02-27 14:13:15 UTC
I've set on my system UMASK=0077 so that new files are created by default with no read permissions for group and other. Could the problem be related to that?
Comment 9 Pacho Ramos gentoo-dev 2011-02-27 14:19:02 UTC
Yes, it's wrong
Comment 10 Christian Asseburg 2011-02-27 14:20:15 UTC
So does sabayon require that UMASK is set as 0022?
Comment 11 Pacho Ramos gentoo-dev 2011-02-27 14:22:41 UTC
It needs to be able to read /etc/sabayon/profiles/Default.zip ;-)
Comment 12 Christian Asseburg 2011-02-27 14:23:56 UTC
OK then maybe there is a bug. It should then create the file as readable (i.e. make sure the permissions are set to "read" for group and other). After all, it created the file. So if it needs the file to be readable it should create it in that way too.
Comment 13 Pacho Ramos gentoo-dev 2011-02-27 14:27:03 UTC
Having system set to UMASK=0077 doesn't look to me like a "normal" situation :-|