Bug 501

Summary: make /etc/X11/Xsession simpler: move ssh-agent part out of it
Product: Sisyphus Reporter: imz <vanyaz>
Component: xinitrcAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P5 CC: glebfm, ldv, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description imz 2002-01-31 22:50:19 MSK
Why not to make a separate little script /etc/X11/xinit.d/ssh-agent that does the same thing with ssh-agent as Xsession now and is provided by openssh-clients?

---

---

Comment 1 imz 2002-02-01 15:25:35 MSK
I see now that the bug report was not eleborate: the way /etc/X11/xinit.d/* scripts are called from Xsession doesn\'t allow the requested change because they are not sourced, but executed in the background, so the chnages in the environment made by the scripts will not be saved.

Maybe the requested feature doesn\'t fit well in the policy of xinit.d/ scripts, so it isn\'t a bug.
Comment 2 imz 2002-02-01 15:25:35 MSK
I see now that the bug report was not eleborate: the way /etc/X11/xinit.d/* scripts are called from Xsession doesn\'t allow the requested change because they are not sourced, but executed in the background, so the chnages in the environment made by the scripts will not be saved.

Maybe the requested feature doesn\'t fit well in the policy of xinit.d/ scripts, so it isn\'t a bug.
Comment 3 Dmitry V. Levin 2002-03-13 13:34:29 MSK
Implemented in:
xinitrc-2.4.6-alt1
openssh-clients-3.0.2p1-alt3

(sourcing shell scripts from /etc/X11/profile.d)
Comment 4 Dmitry V. Levin 2002-03-13 13:34:29 MSK
Implemented in:
xinitrc-2.4.6-alt1
openssh-clients-3.0.2p1-alt3

(sourcing shell scripts from /etc/X11/profile.d)