Subject: install/35450: sysinst sets PATH= ... /usr/X11R6/bin - users installing Xorg have trouble
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <thomas.feddersen@t-online.de>
List: netbsd-bugs
Date: 01/20/2007 13:30:01
>Number: 35450
>Category: install
>Synopsis: sysinst sets PATH= ... /usr/X11R6/bin - users installing Xorg have trouble
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 20 13:30:01 +0000 2007
>Originator: Thomas Feddersen
>Release: NetBSD 4.99.4
>Organization:
Dipl.-Ing. Thomas Feddersen, Beratender Ingenieur
>Environment:
NetBSD test.feddersen.xx 4.99.4 NetBSD 4.99.4 (GENERIC) #0: Fri Nov 24 11:47:02 UTC 2006 builds@b3.netbsd.org:/home/builds/ab/HEAD/i386/200611240000Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC i386
>Description:
sysinst sets "/usr/X11R6/bin" into the path of every user:
/etc/skel/.profile line 12--->
PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/pkg/bin
<---
installing the meta-pkg "xorg" does not modify this setting, resulting in an inoperable X.
>How-To-Repeat:
install (sysinst) a fresh system, use "minimal installation" or "custom installation" with no X11 sets.
--->
$ env
<snip>
PATH=/home/fed/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin
<---
make and install meta-pkg xorg
--->
$ X
X: not found
<---
>Fix:
edit /etc/skel/.profile and all ~/.profile accordingly.
It would be desirable to have this part of PATH set by the installation script of the respective X subsystem.