[indiana-discuss] headers and things needed ?
Dennis Clarke
blastwave at gmail.com
Mon Jun 30 09:23:02 PDT 2008
On Mon, Jun 30, 2008 at 4:06 PM, Cedric Blancher
<cedric.blancher at googlemail.com> wrote:
> On 30/06/2008, Dennis Clarke <blastwave at gmail.com> wrote:
>> On Mon, Jun 30, 2008 at 3:33 PM, Cedric Blancher
>> <cedric.blancher at googlemail.com> wrote:
>> > On 30/06/2008, David.Comay at sun.com <David.Comay at sun.com> wrote:
>> >> Dennis,
>> >>
>> >>
>> >> > With a stock out of the box OpenSolaris install I installed Studio 12 and ksh93
>> >>
>> >
>> > You don't need to install ksh93 on OpenSolaris. It's already
>> > preinstalled as /bin/sh.
>>
>>
>> I think that was a *wrong* thing to do and thus I manually install the
>> shells that I want as I see fit. I pretty much expect that the default
>> shell in Solaris should be a statically linked binary such that I can
>> lose nearly everything and still have a working shell :
>>
>> $ ls -lapin /sbin/sh
>> 952 -r-xr-xr-x 2 0 0 239348 Mar 9 2006 /sbin/sh
>> $ file /sbin/sh
>> /sbin/sh: ELF 32-bit LSB executable 80386 Version 1, statically
>> linked, stripped
>>
>> I KNOW that Solaris 10 is a different beast from previous editions.
>> Solaris 10 is different how? Solaris 10 has a default Bourne Shell
>> /sbin/sh that is not statically linked anymore. This was done
>> intentionally when the single/multi threaded process model was unified
>> and the statically linked libc was removed. Solaris 10 commands in
>> /sbin should only link with things in /lib. There are symlinks in
>> /usr/lib to /lib for some libraries for backwards compatibility
>> reasons. In fact, Solaris 10 is so smart that both su and login will
>> fall back to /sbin/sh if the shell you specify in /etc/passwd for root
>> can not be executed for some reason. What I am saying here is that you
>> can change root's shell in Solaris 10 and still sleep well at night.
>>
>> I don't know what OpenSolaris 200805 does in such events.
>
> So what?
> ldd /usr/bin/i86/ksh93 | grep usr/
> libshell.so.1 => /usr/lib/libshell.so.1
> libcmd.so.1 => /usr/lib/libcmd.so.1
> libdll.so.1 => /usr/lib/libdll.so.1
> libast.so.1 => /usr/lib/libast.so.1
>
you missed the point
as a user I get to choose whatever shell I want .. static ? who cares ? I don't.
as root I expect the same behavior I have seen for a decade and that
is what I don't get with OpenSolaris.
doen't matter anyways .. my hard disk just died :
-bash-3.2# pkg refresh
-bash-3.2# pkg install ss-dev
DOWNLOAD PKGS FILES XFER (MB)
Completed 24/24 10027/10027 704.82/704.82
PHASE ACTIONS
Install Phase 13939/13939
-bash-3.2# Jun 30 08:52:34 aequitas scsi: WARNING:
/pci at 0,0/pci-ide at f,1/ide at 0 (ata2):
Jun 30 08:52:34 aequitas timeout: abort request, target=0 lun=0
Jun 30 08:52:34 aequitas scsi: WARNING: /pci at 0,0/pci-ide at f,1/ide at 0 (ata2):
Jun 30 08:52:34 aequitas timeout: abort device, target=0 lun=0
Jun 30 08:52:34 aequitas scsi: WARNING: /pci at 0,0/pci-ide at f,1/ide at 0 (ata2):
Jun 30 08:52:34 aequitas timeout: reset target, target=0 lun=0
Jun 30 08:52:34 aequitas scsi: WARNING: /pci at 0,0/pci-ide at f,1/ide at 0 (ata2):
Jun 30 08:52:34 aequitas timeout: reset bus, target=0 lun=0
Jun 30 08:52:34 aequitas gda: WARNING:
/pci at 0,0/pci-ide at f,1/ide at 0/cmdk at 0,0 (Disk0):
Jun 30 08:52:34 aequitas Error for command 'read sector' Error
Level: Informational
Jun 30 08:52:34 aequitas gda: Sense Key: aborted command
Jun 30 08:52:34 aequitas gda: Vendor 'Gen-ATA ' error code: 0x3
crrraap
Dennis
More information about the indiana-discuss
mailing list