pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/44789: pkgsrc wip - slim has a bad config , I suggest a fix
>Number: 44789
>Category: pkg
>Synopsis: pkgsrc wip - slim has a bad config , I suggest a fix
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 29 11:30:00 +0000 2011
>Originator: Petr Topiarz
>Release: 5.1 with PKGSRC-2010Q4
>Organization:
>Environment:
NetBSD lifebook.openunix.eu 5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov 7 14:39:56
UTC 2010
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-RELEASE/i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/i386/compile/GENERIC
i386
>Description:
After installation, slim will not work with its default config. There are bad
paths to various apps such as X, xauth or bash.
>How-To-Repeat:
cd /usr/pkgsrc/wip/slim
make install
cp /usr/pkg/share/rc.d/slim /etc/rc.d/
echo "slim=YES">>/etc/rc.conf
/etc/rc.d/slim start
>Fix:
Here is the fix:
1. recommend a user to create .xinitrc with "exec whatever-session"
2. recommend a user to install bash (for me nothing else worked for login)
3. apply the changes correcting wrong paths as follows:
# cat diff-slim.conf
3,4c3,4
< default_path ./:/bin:/usr/bin:/usr/local/bin
< default_xserver /usr/bin/X
---
> default_path ./:/bin:/usr/bin:/usr/pkg/bin
> default_xserver /usr/X11R7/bin/X
10c10
< console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console
login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
---
> console_cmd /usr/X11R7/bin/xterm -C -fg white -bg black +sb -T
> "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /usr/bin/login"
14c14
< xauth_path /usr/bin/xauth
---
> xauth_path /usr/pkg/bin/xauth
36c36
< login_cmd exec /bin/bash -login ~/.xinitrc %session
---
> login_cmd exec /usr/pkg/bin/bash -login ~/.xinitrc %session
Home |
Main Index |
Thread Index |
Old Index