Package: zsh
Version: 4.3.6-6
Severity: important

When root filesystem becomes full (where shell history $HISTFILE is
stored), zsh can't execute any command:

22:02 r...@server [~]## ls -la
zsh: failed to create hard link as lock file /root/.zsh/history.LOCK: no space 
left on device
22:02 r...@server [~]## df -h
zsh: failed to create hard link as lock file /root/.zsh/history.LOCK: no space 
left on device
22:02 r...@server [~]## exec /bin/sh
zsh: failed to create hard link as lock file /root/.zsh/history.LOCK: no space 
left on device
22:02 r...@server [~]## env
zsh: failed to create hard link as lock file /root/.zsh/history.LOCK: no space 
left on device
22:02 r...@server [~]##

As workaround you must log in with non-privileged user (user can have zsh as 
login shell) and execute:

su - -s /bin/bash
rm -f /root/something

Zsh should ignore error code from lock file creation and continue with cmdline 
processing.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-486
Locale: LANG=sk_SK, LC_CTYPE=sk_SK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages zsh depends on:
ii  libc6                     2.9-25         GNU C Library: Shared libraries
ii  libcap2                   1:2.17-1       support for getting/setting POSIX.
ii  libncursesw5              5.7+20090803-2 shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libc6                         2.9-25     GNU C Library: Shared libraries
ii  libpcre3                      7.8-2+b1   Perl 5 Compatible Regular Expressi

Versions of packages zsh suggests:
pn  zsh-doc                       <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to