Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] head -1 weirdo

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: neuron <vlmarek AT volny.cz>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] head -1 weirdo
  • Date: Sat, 16 Oct 2004 12:12:24 +0200

[snip]

> You shouldn't need to set it, the coreutils spell takes care of that
> (/etc/profile.d/coreutils.sh).

That explains something. I was wondering why it does work for me, when I
cast qmail as root, but not when I cast it as user (which is su-ed
lately to be root).

It seems that when we 'su' by:

su - -c "DISPLAY=$DISPLAY PATH=$PATH $0 $*"

the root's .bash_profile nor .bashrc is executed at all. And because
we're using 'su -', the variable is not passed to the subshell. So this
qmail can't be compiled when cast is invoked as a regular user.

The same problem is probably
http://bugs.sourcemage.org/show_bug.cgi?id=7524

--
Neuron

Attachment: pgp6XcH1TnPSb.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page