Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 144136 Details for
Bug 164869
LD_LIBRARY_PATH not inherited from .bash_profile
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
proposed patch
xinitrc_ld_library_path.patch (text/x-patch), 3.40 KB, created by
ritz
on 2006-12-20 19:55:41 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
ritz
Created:
2006-12-20 19:55:41 UTC
Size:
3.40 KB
patch
obsolete
>diff -Naur /etc/X11/xdm/Xsession X11/xdm/Xsession >--- X11.orig/xdm/Xsession 2006-04-21 02:26:59.000000000 +0530 >+++ /etc/X11/xdm/Xsession 2006-12-21 17:34:35.000000000 +0530 >@@ -51,21 +51,21 @@ > exec -l $SHELL -c "xterm -geometry 80x24-0-0" > ;; > gnome) >- exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH gnome-session" >+ exec -l $SHELL -c "/etc/X11/xinit/xinitrc-ssh $DBUS_LAUNCH gnome-session" > ;; > kde|kde1|kde2) >- exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH $SWITCHDESKPATH/Xclients.kde" >+ exec -l $SHELL -c "/etc/X11/xinit/xinitrc-ssh $DBUS_LAUNCH $SWITCHDESKPATH/Xclients.kde" > ;; > twm) > # fall back to twm >- exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH $SWITCHDESKPATH/Xclients.twm" >+ exec -l $SHELL -c "/etc/X11/xinit/xinitrc-ssh $DBUS_LAUNCH $SWITCHDESKPATH/Xclients.twm" > ;; > *) > # GDM provies either a command line as the first argument or > # provides 'failsafe', 'default' or 'custom'. KDM will do the > # same at some point > if [ "$1" != "default" -a "$1" != "custom" ]; then >- exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH $1" >+ exec -l $SHELL -c "/etc/X11/xinit/xinitrc-ssh $DBUS_LAUNCH $1" > fi > ;; > esac >@@ -73,11 +73,11 @@ > > # otherwise, take default action > if [ -x "$HOME/.xsession" ]; then >- exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH $HOME/.xsession" >+ exec -l $SHELL -c "/etc/X11/xinit/xinitrc-ssh $DBUS_LAUNCH $HOME/.xsession" > elif [ -x "$HOME/.Xclients" ]; then >- exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH $HOME/.Xclients" >+ exec -l $SHELL -c "/etc/X11/xinit/xinitrc-ssh $DBUS_LAUNCH $HOME/.Xclients" > elif [ -x /etc/X11/xinit/Xclients ]; then >- exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH /etc/X11/xinit/Xclients" >+ exec -l $SHELL -c "/etc/X11/xinit/xinitrc-ssh $DBUS_LAUNCH /etc/X11/xinit/Xclients" > else > # should never get here; failsafe fallback > exec -l $SHELL -c "xsm" >diff -Naur /etc/X11/xinit/xinitrc-common X11/xinit/xinitrc-common >--- X11.orig/xinit/xinitrc-common 2006-04-21 02:26:59.000000000 +0530 >+++ /etc/X11/xinit/xinitrc-common 2006-12-21 17:29:58.000000000 +0530 >@@ -60,16 +60,6 @@ > fi > done > >-# Prefix launch of session with ssh-agent if available and not already running. >-SSH_AGENT= >-if [ -x /usr/bin/ssh-agent -a -z "$SSH_AGENT_PID" ]; then >- if [ "$TMPDIR" != "" ]; then >- SSH_AGENT="/usr/bin/ssh-agent /bin/env TMPDIR=$TMPDIR" >- else >- SSH_AGENT="/usr/bin/ssh-agent" >- fi >-fi >- > DBUS_LAUNCH= > [ -x /usr/bin/dbus-launch -a -z "$DBUS_SESSION_BUS_ADDRESS" ] && DBUS_LAUNCH="/usr/bin/dbus-launch --exit-with-sess >ion" > >diff -Naur /etc/X11/xinit/xinitrc-ssh X11/xinit/xinitrc-ssh >--- X11.orig/xinit/xinitrc-ssh 1970-01-01 05:30:00.000000000 +0530 >+++ /etc/X11/xinit/xinitrc-ssh 2006-12-21 17:49:35.000000000 +0530 >@@ -0,0 +1,23 @@ >+#!/bin/bash >+ >+# A script so that >+# 1) we read the standard system env vars >+# 2) syadmins/integrators can add their own private options etc... >+ >+ENV= >+if [ $USER != "root" -a "$LD_LIBRARY_PATH" != "" ]; then >+ ENV="/bin/env LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >+ echo $ENV>/tmp/rnv >+fi >+ >+SSH_AGENT= >+if [ -x /usr/bin/ssh-agent -a -z "$SSH_AGENT_PID" ]; then >+ if [ "$TMPDIR" != "" ]; then >+ SSH_AGENT="/usr/bin/ssh-agent /bin/env TMPDIR=$TMPDIR" >+ else >+ SSH_AGENT="/usr/bin/ssh-agent" >+ fi >+fi >+ >+exec -l $SHELL -c "$SSH_AGENT $ENV $* "
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 164869
:
144136
|
148413