<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>schroot: error when using schroot -p option (E: Empty expression)</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Package: schroot<BR>
Version: 1.1.6<BR>
Severity: normal<BR>
<BR>
When using the -p option, schroot exits with this error:&nbsp; E: Empty expression<BR>
<BR>
[zcarter@nerf ~]$ schroot -c bering -- uname -a<BR>
I: [bering-2008-07-19T04:58:47Z-13217 chroot] Running command: “uname -a”<BR>
Linux nerf 2.4.21-47.0.1.EL #1 Thu Oct 19 11:42:25 EDT 2006 i686 i686 i386 GNU/Linux<BR>
[zcarter@nerf ~]$ schroot -p -c bering -- uname -a<BR>
E: Empty expression<BR>
[zcarter@nerf ~]$<BR>
<BR>
<BR>
This only occurs on CentOS 4.x.&nbsp; I've done some debugging in the code, but I cannot find exactly where the exception is coming from.&nbsp; It occurring somewhere inside this function in sbuild-auth.cc:<BR>
<BR>
&nbsp;void<BR>
auth::set_environment (environment const&amp; environment)<BR>
{<BR>
&nbsp; this-&gt;user_environment = environment;&nbsp; &lt;---exception is thrown during this operation<BR>
}<BR>
<BR>
I realize this is not Debian, but I would really appreciate any pointers or workarounds to get this working in CentOS 4.x.&nbsp; I am trying to build and support schroot in a diverse development environment.&nbsp;<BR>
Fedora, Ubuntu, Debian, Gentoo, CentOS 5.x all work fine, but CentOS 4.x is having this one issue.<BR>
<BR>
-Zach<BR>
</FONT>
</P>

</BODY>
</HTML>