Subject: Developers of Sympa
List archive
Re: [sympa-dev] Robot configuration location not satisfactory
- From: Olivier Salaun <address@concealed>
- To: Jérôme Marant <address@concealed>
- Cc: sympa-dev <address@concealed>
- Subject: Re: [sympa-dev] Robot configuration location not satisfactory
- Date: Mon, 21 Jan 2002 10:38:31 +0100
Hi Jerome,
Jérôme Marant wrote:
> When I installed the first version of my new debian package, I discovered
> that Sympa was seeking for robot configuration in --DIR--/etc, which is
> on my system /usr/lib/sympa/etc.
> However, I think that this should go along with sympa.conf and
> wwsympa.conf,
> which are for me in /etc/sympa. But I cannot do this currently (same thing
> for task models).
> I seems that wwsympa is seeking for robot configuration in $Conf{'etc'}.
We have defined 2 'etc' directories in Sympa :
* --CONFDIR-- is the directory to look for MAIN configuration files
(ie sympa.conf and wwsympa.conf). These files are Sympa's
"bootstrap"
therefore this path is set in binaries/scripts at make time.
* Conf{'etc'} is the other configuration directory containing :
- Virtual robots definition
- Site's scenarios
- // 's templates
- // 's list templates
- edit_list.conf, auth.conf,...
This can be defined in sympa.conf.
> [...]
> So, I do propose the following:
>
> - 'etc' => '--CONFDIR--',
No, it does not make sense to modify it in sympa.conf because it is
sympa.conf's
directory and it is hard-coded (at make time) in scripts/binaries.
> - replacing every "--DIR--/etc" with $Conf{'etc'}
You're right, we'll fix this.
We'd like to keep on differenciate these 2 directories.
If you want to refer to the same directory :
1/ you set it in the distributed sympa.conf
(requires that we change every "--DIR--/etc" with $Conf{'etc'}
first)
2/ we define a new var in configure.in, but I can't find one that
suites
in autoconf's documentation (we already use 'sysconfdir')
--
Olivier Salaün
Comité Réseau des Universités
-
Robot configuration location not satisfactory,
Jérôme Marant, 01/20/2002
-
Re: [sympa-dev] Robot configuration location not satisfactory,
Olivier Salaun, 01/21/2002
-
Re: [sympa-dev] Robot configuration location not satisfactory,
Jérôme Marant, 01/21/2002
- Re: [sympa-dev] Robot configuration location not satisfactory, Jérôme Marant, 01/21/2002
- Re: [sympa-dev] Robot configuration location not satisfactory, Jérôme Marant, 01/21/2002
-
Re: [sympa-dev] Robot configuration location not satisfactory,
Jérôme Marant, 01/21/2002
-
Re: [sympa-dev] Robot configuration location not satisfactory,
Olivier Salaun, 01/21/2002
Archive powered by MHonArc 2.6.19+.