On Thu, Nov 12, 2009 at 10:21:00PM +0100, Lubomir Host wrote:
> 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.

Are you sure you reported this against the correct version?  That error message 
wasn't
added until after 4.3.9.



-- 
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