Hi,

Please unsubscribe me from this list.

Regards,
Rashmi


From: [EMAIL PROTECTED] (Bernd Dammann)
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: bootstrap on Solaris 9 and /etc/shells
Date: Wed, 30 Jul 2003 14:46:40 +0200

Hello Michael,

> I believe that something has gone wrong during your OpenPKG bootstrap.
> It should indeed create or append the local OpenPKG bash path to /etc/shell=
> s,
> however the path should be valid. For example, if you bootstrap using
> --prefix=3D/cw then the entry in /etc/shells should be /cw/lib/openpkg/bash.
>
> In your case the prefix '/cw/' (or whatever you chose when bootstrapping) w=
> as
> truncated, and this is actually the problem to fix. To troubleshoot this, r=
> un
> the bootstrap again and capture the scrolling text using 'tee' or 'script'.
> Search for a line something like:
>
> echo /cw/lib/openpkg/bash >>/etc/shells
>
> and let me know what you see there. Good luck.
>
The entry was right (/opt/openpkg/lib/openpkg/bash), I just missed the
prefix in my previous mail - but it was the _only_ entry! The default
in Solaris 9 is _NO_ /etc/shells file - Solaris has a default list of
shells (listed in 'man shells')! As soon as /etc/shells is created,
the built-in list of default shells is overruled by the contents of
/etc/shells. The OpenPKG bootstrap process created the /etc/shells file
- and suddenly certain login procedures that depend on /etc/shells did
not work any longer (e.g. CDE login), because our default shells like
/bin/ksh, etc were not listed in /etc/shells!


IMHO the bootstrap script should check if /etc/shells exists before
executing

echo "" >>/etc/shells

and otherwise issue a warning that this step was skipped and has to be
done manually!

Best regards,
Bernd

--
# Bernd Dammann <[EMAIL PROTECTED]> | "Why stop now,
# Informatics and Mathematical Modelling | just when I am hating it?"
# Technical University of Denmark |-----------------------------------
# Richard Petersens Plads, Building 321 | phone: (+45) 45 25 33 71
# DK-2800 Kongens Lyngby, Denmark | http://www.imm.dtu.dk/~bd/
print unpack("u", "<22!K;F5W('1H870@>6]U)VQL(&1O('1H870A\"@" );
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]

_________________________________________________________________ Travel plans? Click here. http://www.msn.co.in/Travel Sit back & relax!

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to