[M3devel] CM3 RELENG: suggestion for distribution packages

Olaf Wagner wagner at elegosoft.com
Thu May 28 08:44:55 CEST 2009


Quoting Tony Hosking <hosking at cs.purdue.edu>:

> Again, I don't see why the config file should be thought of as
> something that users should edit.  It is specific to a given
> installation, not to configuration of the packages after installation.

I'd second that, too, but then almost all software configuration files
living in .../etc on Unix systems should not be edited by ordinary
users. They're there so that the software can be adapted to different
system setups and conventions, that is, they should and must be edited
by the system administrator. I think this is true for at least the
part that defines the global paths used by the installation:
PKG_INSTALL, BIN_INSTALL, PKG_USE, etc.

It is criticised, if I understand it correctly, that CM3 is not flexible
enough in allowing this kind of customization currently. And that we
do not comply to the file system hierarchy standards. Moving (part of)
our config files into some etc directory would be a step into this
direction.

Olaf

> On 28 May 2009, at 16:34, Olaf Wagner wrote:
>
>> Quoting hendrik at topoi.pooq.com:
>>
>>> On Wed, May 27, 2009 at 08:57:27AM +0200, Olaf Wagner wrote:
>>>>
>>>> 2. Actually move the default for configuration files to cm3/etc,
>>>
>>> Debian may well insist that configuration files be in /etc/cm3.
>>
>> Understood. I'd think that something like
>>
>> $ORIGIN/../etc/cm3.cfg:$ORIGIN/cm3.cfg:/usr/local/etc:/usr/etc
>>
>> as a default may be reasonable. For more exotic setups, the
>> binaries must either be recompiled or the environment variable
>> M3CONFIG must be used.
>>
>>>>  though I objected that change for this release previously. But it won't
>>>>  get easier if we wait, and I think we can built in some backward
>>>>  compatibility that should help during the migration. It will take some
>>>>  more time though.
>>>
>>> -- hendrik
>>>
>>>
>>
>>
>>
>> -- 
>> Olaf Wagner -- elego Software Solutions GmbH
>>              Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
>> phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
>>  http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
>> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
>>



-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list