David Niklas writes:
<snip> > > Now, I can fix this, but first I need to know three things for bug > > reporting: > > 1. What env file does courier need? > > A shell script that sets your global environment variables, such as > LOCALE, etc.I think that would be /etc/profile?
No, that's typically the default script that bash executes at login time. Although one of the things that does is initialize the shell environment, there should be something that does absolutely nothing except execute VARIABLE=VALUE settings.
[mrsam@monster ~]$ cat /etc/locale.conf LANG=en_US.UTF-8 [mrsam@monster ~]$That's it. Maybe you'll have LOCALE in there, or perhaps TZ as well. But nothing except variable settings.
> /etc/environment > /etc/default/locale > /etc/sysconfig/i18n > /etc/sysconfig/language > /etc/locale.conf
This is a list of the locale configuration files that configure knows about. configure picks the first one in the list that exists.
If your build ended up pointing to /etc/environment, at the time configure ran this file must've existed.
> Courier must've been built on a system where /etc/environment existed, > and this one does not. Either that, or the base distribution has been > updated and the location of the global environment script has changed. > Courier was built by portage on my system (I did say that this is a Gentoo system).
I'm not familiar with that build tool. I can only tell you what the stock, unmodified Courier configure script does.
If you need to investigate what changes to the stock configure script your build tool uses, you should consult with whoever prepared that build.
> > 3. Why does courier return 0 when it fails to start? > > Because that's what happens in a broken, improper, install. Garbage > in, garbage out. > <snip> But failure, even in the case of garbage, should be 1. It's just confusing.
There's more than one kinds of failures. Ordinary failures that are expected during the course of operation should certainly be reported in this, or similar manner.
But the configure script, by default, will point to an existing configuration file in etc. If this logic is modified, for some reason (which escapes me), that's something that pretty much is out of scope, here.
pgp41iT9mhaLF.pgp
Description: PGP signature
------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
