Hi,

The rc.openpkg script does some messing around with the PATH variable. On 
Solaris this results to /bin, /sbin, /usr/bin and /usr/sbin being placed after 
/usr/ucb. This can give some unexpected results for some commands as the ucb 
dir contains old BSD versions of some commands (from the olden days when 
Solaris was still a BSD) and is only there for legacy purposes. This can be 
fixed by placing /usr/ucb after the list of dirs in line 44 of 
/etc/rc.d/rc.openpkg:

    export PATH
    rcPath -a -e PATH         /bin /sbin /usr/bin /usr/sbin /usr/ucb
    rcPath -a  PATH         /local/openpkg/bin /local/openpkg/sbin         
/local/openpkg/local/bin /local/openpkg/local/sbin

I hope this can be fixed in the next release.


Kind regards,
Arnoud de Jonge.

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to