Summary: | We are missing a static bash | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Karl Trygve Kalleberg (RETIRED) <karltk> |
Component: | [OLD] Core system | Assignee: | Daniel Robbins (RETIRED) <drobbins> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | High | ||
Version: | 1.0 RC6 r14 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Karl Trygve Kalleberg (RETIRED)
2002-02-17 11:03:09 UTC
If /bin/bash isn't working then chances are ls, etc won't work either... unless I'm missing something :) sash makes a nice choice as an emergency shell. Everything built in and statically linked... I wouldn't bet money on that assumption, as I ran into a case where bash didn't want to load (complained about a missing libdl.so.2) while cp,mv,ls,cat, etc worked nicely (presumably since they don't need dynamic linking). However, either using Busybox or sash is the preferred solution. blocke@kodiak blocke $ ldd /bin/mv libc.so.6 => /lib/libc.so.6 (0x40026000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) blocke@kodiak blocke $ file /bin/mv /bin/mv: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped *shrugs* But back on topic, I forgot about busybox... Thats probably an even better choice then sash because it has a built in editor, etc. Maybe busybox should be installed as part of the 'system' profile and it be mentioned somewhere in the docs? |