You are not logged in.

#1 2008-11-08 18:35:44

The-Fox
Member
Registered: 2008-06-14
Posts: 10

Missing pathes in PATH system variabel, they keep go away

Hey all,
I have a bizzare problem on my Arch X64 system, which I don't know how it started and how to get rid of.
For user "root", there are a lot of missing pathes in the PATH env variable.
I don't have a clue how they dissapeared and why, but adding them didn't solve the problem, eventually.
I have another "regular" user which didn't got affected of this and it's "PATH" is fine.

Here is what I get when I run export from terminal:

declare -x COLORTERM="gnome-terminal"
declare -x DISPLAY=":0.0"
declare -x HOME="/root"
declare -x LOGNAME="root"
declare -x OLDPWD="/var/lib"
declare -x ORBIT_SOCKETDIR="/tmp/orbit-root"
declare -x PATH="/usr/ucb:/bin:/usr/bin:/etc"
declare -x PWD="/etc"
declare -x SHELL="/bin/bash"
declare -x SHLVL="3"
declare -x TERM="xterm"
declare -x USER="root"
declare -x WINDOWID="44087515"
declare -x XAUTHORITY="/tmp/libgksu-S3ub7w/.Xauthority"

This is what I get for my regular user:

[thefox@myhost ~]$ export
declare -x COLORTERM="gnome-terminal"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-ds6f1FdvvT,guid=08d4213f7fefaf92631d1e824913f81a"
declare -x DESKTOP_SESSION="gnome"
declare -x DISPLAY=":0.0"
declare -x GDMSESSION="gnome"
declare -x GDM_LANG="C"
declare -x GDM_XSERVER_LOCATION="local"
declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
declare -x GNOME_KEYRING_PID="3750"
declare -x GNOME_KEYRING_SOCKET="/tmp/keyring-PXhPQw/socket"
declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/home/thefox/.gtkrc-1.2-gnome2"
declare -x G_BROKEN_FILENAMES="1"
declare -x HISTCONTROL="erasedups"
declare -x HISTSIZE="1000"
declare -x HOME="/home/thefox"
declare -x INPUTRC="/etc/inputrc"
declare -x JAVA_HOME="/opt/java/jre"
declare -x KDEDIRS="/usr:/opt/kde"
declare -x LADSPA_PATH="/usr/lib/ladspa/"
declare -x LANG="C"
declare -x LC_COLLATE="C"
declare -x LESS="-R"
declare -x LOGNAME="thefox"
declare -x MOZ_PLUGIN_PATH="/usr/lib/mozilla/plugins:/opt/mozilla/lib/plugins"
declare -x OLDPWD
declare -x ORBIT_SOCKETDIR="/tmp/orbit-thefox"
declare -x PATH="/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/jre/bin:/opt/kde/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin"
declare -x PKG_CONFIG_PATH=":/opt/kde/lib/pkgconfig:/opt/qt/lib/pkgconfig"
declare -x PS3="> "
declare -x PS4="+ "
declare -x PWD="/home/thefox"
declare -x QTDIR="/opt/qt"
declare -x QT_XFT="true"
declare -x SESSION_MANAGER="local/myhost:/tmp/.ICE-unix/3752"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_AUTH_SOCK="/tmp/keyring-PXhPQw/ssh"
declare -x TERM="xterm"
declare -x USER="thefox"
declare -x USERNAME="thefox"
declare -x WINDOWID="65011760"
declare -x WINDOWPATH="7"
declare -x XAUTHORITY="/home/thefox/.Xauthority"
declare -x XDG_CACHE_HOME="/home/thefox/.cache"
declare -x XDG_CONFIG_DIRS="/etc/xdg:/opt/kde/etc/xdg"
declare -x XDG_CONFIG_HOME="/home/thefox/.config"
declare -x XDG_DATA_DIRS="/usr/share:/usr/local/share:/usr/share:/usr/local/share:/opt/kde/share:/usr/share/gdm/:/opt/kde/share"
declare -x XDG_DATA_HOME="/home/thefox/.local/share"
declare -x XDG_SESSION_COOKIE="48cd08a5b9a516e0bfcf8dcd490d1a07-1226045466.337913-6543444"


After manually adding the missing pathes using "Export PATH=xx:yy:zz:nnn", for some reason they dissapeared.

Any Idea what could have made this kind of situation and how to permanently set the PATH again will be much appreciated.

Thanks.

P.S.
Sorry if I didn't supply any further details.

Offline

Board footer

Powered by FluxBB