[Debconf-devel] Bug#439763: debconf: hangs on puppet installs on preseed install
Jacob Luna Lundberg
jacob at gnifty.net
Tue Mar 1 02:07:04 UTC 2011
This is still happening with squeeze. It's something in the environment
left over from the installer. This bit of bash is working for me in my
post-install script:
# Environment
unset -v $(set | sed -e 's/=.*//g' | egrep -v '^(BASH*|HO*|IFS|PATH*|PWD|SHELL*|TERM*)')
. /etc/profile
export LANG=en_US.UTF-8
Before that, the shell variables are:
-------------------------------------
BASH=/bin/bash
BASHOPTS=cmdhist:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="4" [1]="1" [2]="5" [3]="1" [4]="release" [5]="i486-pc-linux-gnu")
BASH_VERSION='4.1.5(1)-release'
BOOT_IMAGE=debian6.0/i386/linux
DEBCONF_OLD_FD_BASE=4
DEBCONF_REDIR=1
DEBIAN_FRONTEND=newt
DEBIAN_HAS_FRONTEND=1
DIRSTACK=()
EUID=0
GROUPS=()
HOME=/
HOSTNAME=swiss
HOSTTYPE=i486
IFS=$' \t\n'
LANG=C.UTF-8
MACHTYPE=i486-pc-linux-gnu
MENU=/usr/bin/main-menu
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/sbin:/usr/sbin:/bin:/usr/bin
PIPESTATUS=([0]="0")
PPID=6436
PS4='+ '
PWD=/
SHELL=/bin/sh
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
TERM=bterm
TERM_FRAMEBUFFER=yes
TERM_TYPE=virtual
UDPKG_QUIET=y
UID=0
USER=root
And after it, they are:
-----------------------
BASH=/bin/bash
BASHOPTS=cmdhist:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="4" [1]="1" [2]="5" [3]="1" [4]="release"
[5]="i486-pc-linux-gnu")
BASH_VERSION='4.1.5(1)-release'
EUID=0
HOME=/
HOSTNAME=swiss
HOSTTYPE=i486
IFS=$' \t\n'
LANG=en_US.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PIPESTATUS=([0]="0")
PPID=6436
PWD=/
SHELL=/bin/sh
SHELLOPTS=braceexpand:hashall:interactive-comments
TERM=bterm
TERM_FRAMEBUFFER=yes
TERM_TYPE=virtual
UID=0
-Jacob
More information about the Debconf-devel
mailing list