zsh terminfo not found in schroot environment after upgrade

Bug #665243 reported by Bismark
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
schroot (Debian)
Fix Released
Unknown
schroot (Ubuntu)
Fix Released
Medium
Unassigned
Maverick
Fix Released
Medium
Unassigned
Natty
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: schroot

After upgrading to 10.10 my lucid x86 chroot environment no longer works. When I start it I get the following message:

[bismark@maverick:~]
$ schroot -c default
/etc/zsh/zshrc:12: unknown parameter: terminfo
[(lucid-x86)bismark@maverick:~]
$ env
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/opt/local/bin:/opt/local/sbin
SCHROOT_COMMAND=-zsh
SCHROOT_GID=100
SCHROOT_GROUP=users
SCHROOT_SESSION_ID=lucid-x86-89d7c175-e7f3-438f-9e9b-c85a364baa23
SCHROOT_UID=1013
SCHROOT_USER=bismark
XDG_SESSION_COOKIE=37b5cd8c5a02d7bc826572994bfc0a62-1287769801.667164-826205757
HOME=/home/bismark
LOGNAME=bismark
SHLVL=1
PWD=/home/bismark
OLDPWD=/home/bismark
HISTFILE=/home/bismark/.histfile
HISTSIZE=1000
SAVEHIST=1000
HOSTNAME=maverick
PAGER=less
EDITOR=vim
LISTMAX=30
_=/usr/bin/env

If you notice there is no TERM environment variable set. Command line navigation/editting doesn't function properly either, no Backspace, Delete, Home, End, etc. My chroot conf file is as follows:

$ cat /etc/schroot/chroot.d/lucid-x86
[lucid-x86]
description=Ubuntu Lucid x86
type=directory
directory=/home/chroot/lucid-x86
priority=3
users=bismark
root-users=bismark
groups=users
root-groups=root
personality=linux32
aliases=default,lucid

Revision history for this message
Alessio Treglia (quadrispro) wrote :

Path from Debian is attached.

Changed in schroot (Ubuntu Natty):
status: New → Fix Released
Changed in schroot (Ubuntu Maverick):
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Alessio Treglia (quadrispro)
tags: added: patch-accepted-debian
Revision history for this message
Alessio Treglia (quadrispro) wrote :
Changed in schroot (Ubuntu Maverick):
status: Triaged → New
assignee: Alessio Treglia (quadrispro) → nobody
Changed in schroot (Ubuntu Natty):
importance: Undecided → Medium
Revision history for this message
B. Clausius (barcc) wrote :

The patch by Alessio Treglia works for me, thanks.
Please release it for Maverick.

I made a deb in my PPA https://launchpad.net/~barcc/+archive/ppa, if someone want test it.

Revision history for this message
Alessio Treglia (quadrispro) wrote :

Uploaded to maverick-proposed.

Changed in schroot (Ubuntu Maverick):
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted schroot into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Alessio Treglia (quadrispro) wrote :

The patch works fine.
Replacing 'verification-needed' with 'verification-done'.

tags: added: verification-done
removed: verification-needed
Revision history for this message
James Page (james-page) wrote :

-proposed works fine for me as well.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package schroot - 1.4.7-1ubuntu0.1

---------------
schroot (1.4.7-1ubuntu0.1) maverick-proposed; urgency=low

  * TERM and SHELL variables are missing and breaks normal shell usage;
    apply patch taken from Debian to fix LP: #665243
 -- Alessio Treglia <email address hidden> Tue, 26 Oct 2010 00:51:26 +0200

Changed in schroot (Ubuntu Maverick):
status: Fix Committed → Fix Released
Changed in schroot (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.