I don't really have the time or knowledge to test this at the moment, but I happened to glance at /usr/share/sandbox/sandbox.bashrc : if [[ -n ${LD_PRELOAD} && ${LD_PRELOAD} != *$SANDBOX_LIB* ]] ; then export LD_PRELOAD="${SANDBOX_LIB} ${LD_PRELOAD}" elif [[ -z ${LD_PRELOAD} ]] ; then export LD_PRELOAD="${SANDBOX_LIB}" fi The if statement looks bad. '*' is pathname expansion in bash, but it's trying to do string matching or something here by the look of it.
It's correct. [[ ]] tests have their own semantics for globbing. See bash(1).
(In reply to comment #1) > It's correct. [[ ]] tests have their own semantics for globbing. See bash(1). > Ditto - bug is invalid.