Thorsten Kukuk wrote:
Currently we have two directories with similar usage:
- /etc/default, seems to come from Debian, mainly used by upstream
projects on openSUSE
- /etc/sysconfig, mainly based on Red Hat, mainly used for start
scripts written by us. I will ignore the subdirectories here.
Both have files with in a KEY=VALUE format which can be sources by
Only the format of /etc/sysconfig on SUSE is strictly like that.
/etc/default could be anything.
This is not a proposal to change now all sysconfig files, but I think
many packages could benefit from such a change, especially if they
are really old and the sysconfig template gets often changed.
The packaging change is trivial: install the sysconfig template in
/usr/etc/default/, adjust your docu and remove the fillup call.
Fillup is broken by design and should be killed for good.
Not sure /usr/etc/default with an override in /etc/default makes too
much sense though. /usr/etc already contains the distro default. And
something you modified in /etc/default is no longer the default. So
the 'default' in the path seems redundant to misleading :-)
Sysconfig usually is some distro specific hack around something that
does not have proper config files. So kind of makes sense to keep
/etc/sysconfig for that, with ro defaults in /usr/etc/sysconfig and
Is this something we should propose as "best
practise", or are there
reasons not to do so we haven't found yet?
The sysconfig schema allows the yast sysconfig editor to be used as
generic tool to configure the settings. It needs to be adjusted if
defaults are moved to /usr/etc/sysconfig or dropped if that concept
(o_ Ludwig Nussel
SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer
HRB 36809 (AG Nürnberg)
To unsubscribe, e-mail: opensuse-factory+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-factory+owner(a)opensuse.org