Subject: pkg/30540: xfce4-session fails due to xfce4-session.rc at the wrong location
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <fgonieaux@free.fr>
List: pkgsrc-bugs
Date: 06/16/2005 20:37:00
>Number: 30540
>Category: pkg
>Synopsis: xfce4-session fails due to xfce4-session.rc at the wrong location
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 16 20:37:00 +0000 2005
>Originator: Frédéric Gonieaux
>Release: NetBSD 2.0_STABLE
>Organization:
>Environment:
NetBSD yiin 2.0_STABLE NetBSD 2.0_STABLE (IBM_T40P) #0: Tue May 17 16:09:37 CEST 2005 fred@yiin:/usr/obj/sys/arch/i386/compile/IBM_T40P i386
>Description:
When you run startxfce4, you get this error:
xfce4-session: Unable to load failsafe session, exiting. Please check
the value of the environment variable XDG_CONFIG_DIRS
and make sure that it includes the following path:
/usr/pkg/etc/xdg
xfce4-session is looking for xfce4-session.rc in these directories:
"/home/test/.config/xfce4-session/xfce4-session.rc"
7038 xfce4-session RET __stat13 -1 errno 2 No such file or directory
7038 xfce4-session CALL __stat13(0xbfbff240,0xbfbff190)
7038 xfce4-session NAMI "/usr/pkg/etc/xdg/xfce4-session/xfce4-session.rc"
7038 xfce4-session RET __stat13 -1 errno 2 No such file or directory
7038 xfce4-session CALL __stat13(0xbfbff240,0xbfbff190)
7038 xfce4-session NAMI "/usr/pkg/etc/xfce4/xfce4-session/xfce4-session.rc"
7038 xfce4-session RET __stat13 -1 errno 2 No such file or directory
7038 xfce4-session CALL __stat13(0xbfbff240,0xbfbff190)
7038 xfce4-session NAMI "/etc/xdg/xfce4-session/xfce4-session.rc"
7038 xfce4-session RET __stat13 -1 errno 2 No such file or directory
but this file is in /usr/pkg/etc/xdg/xfce4/xfce4-session
>How-To-Repeat:
Run startxfce4.
>Fix:
--- Makefile.orig 2005-06-16 22:00:01.000000000 +0200
+++ Makefile 2005-06-16 22:00:07.000000000 +0200
@@ -9,7 +9,7 @@
USE_PKGINSTALL= yes
-PKG_SYSCONFSUBDIR= xdg/xfce4/xfce4-session
+PKG_SYSCONFSUBDIR= xdg/xfce4-session
EGDIR= ${XFCE4_EGBASE}/session
CONF_FILES= ${EGDIR}/xfce4-session.rc \
${PKG_SYSCONFDIR}/xfce4-session.rc