Bug 57044 - zsh cannot be used without /usr mounted
zsh cannot be used without /usr mounted
Status: CLOSED DUPLICATE of bug 55735
Product: Red Hat Linux
Classification: Retired
Component: zsh (Show other bugs)
7.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
Aaron Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-12-03 14:07 EST by Rik Faith
Modified: 2007-04-18 12:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-12-03 14:07:38 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rik Faith 2001-12-03 14:07:33 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.16 i686; Nav)

Description of problem:
zsh links with /usr/lib/libcap, so it cannot be used in single
user mode when /usr is not yet mounted.  This is really annoying
if you make /bin/zsh root's shell, since you can't start a single
user mode shell.  Note that there may be additional issues with
zsh's loadable modules, as described below.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Enter single user mode
2. Make sure /usr is not mounted
3. Start zsh
	

Actual Results:  zsh didn't start

Expected Results:  zsh should have started

Additional info:

I'm not sure about the zsh 4.0.2 that RH is shipping, but 4.0.4
will use dynamically loaded modules.  This is an interesting
feature, but it will cause similar problems if the modules aren't
available if /usr isn't mounted.  I'd recommend configuring with
--disable-dynamic to avoid this (using modules appears to save
only about 200KB).  One expects that shells that are available 
from /bin will work in single user mode.
Comment 1 Trond Eivind Glomsrxd 2001-12-03 17:58:37 EST

*** This bug has been marked as a duplicate of 55735 ***

Note You need to log in before you can comment on or make changes to this bug.