* [mdk-re] Bug?
@ 2001-04-03 7:31 Yury Zotov
2001-04-03 11:13 ` Dmitry V. Levin
0 siblings, 1 reply; 2+ messages in thread
From: Yury Zotov @ 2001-04-03 7:31 UTC (permalink / raw)
To: Mandrake-Russian
В /etc/X11/Xsession есть строки
# Source function library.
. /etc/init.d/functions
а в /etc/init.d/functions есть
export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
Это приводит к тому, что при логине в X измененная в ~/.bash_profile
переменная PATH переопределяется и пользователь имеет стандартный путь , а
нет, что прописал в ~/.bash_profile. У себя я вылечил, написав в
/etc/init.d/functions
export PATH="$PATH:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
Простое удаление export не помогает, так как все остальные программы
запускаются из /etc/X11/Xsession.
$ rpm -qf /etc/X11/Xsession
xinitrc-2.4.4-ipl37mdk
--
Юрий А. Зотов
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [mdk-re] Bug?
2001-04-03 7:31 [mdk-re] Bug? Yury Zotov
@ 2001-04-03 11:13 ` Dmitry V. Levin
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2001-04-03 11:13 UTC (permalink / raw)
To: Linux-Mandrake RE Mailing List
[-- Attachment #1: Type: text/plain, Size: 986 bytes --]
On Tue, Apr 03, 2001 at 07:36:57AM +0400, Yury Zotov wrote:
> В /etc/X11/Xsession есть строки
> # Source function library.
> . /etc/init.d/functions
>
> а в /etc/init.d/functions есть
> export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
>
> Это приводит к тому, что при логине в X измененная в ~/.bash_profile
> переменная PATH переопределяется и пользователь имеет стандартный путь , а
> нет, что прописал в ~/.bash_profile. У себя я вылечил, написав в
> /etc/init.d/functions
> export PATH="$PATH:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
Спасибо за подробный анализ, будет исправлено.
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto://ldv@alt-linux.org
ALT Linux Team http://www.altlinux.ru/
Fandra Project http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-04-03 11:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-03 7:31 [mdk-re] Bug? Yury Zotov
2001-04-03 11:13 ` Dmitry V. Levin
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git