[opensuse-packaging] /etc/sysconfig metadata documentation
Hi, I wonder if there is any documentation or specification about the metadata comments in /etc/sysconfig files. The only bit of documentation I could find is the fillup man page, but it doesn't say anything useful. What I'm looking for is information about the following things: ## Config: ispell ## ServiceRestart: bluetooth ## ServiceReload: autofs ## Command: /sbin/mkinitrd ## PreSaveCommand: /sbin/rcsyslog status && /sbin/rcsyslog stop In particular: - What exactly do these keys mean; - Are there any other keys not mentioned here; - How are they applied, i.e. only to a specific sysconfig setting, or all settings within a specific file or path, or something else, can this be influenced somehow, e.g. does it make a difference where these keys are placed within the sysconfig files. - In which order are these things executed? Is the order fixed or can the packager influence it according to the order it is written in the sysconfig file? The reason I'm asking is that I think several sysconfig files have metadata which are not up to date or not complete. E.g. many SuSEconfig modules have been removed without a replacement, so the sysconfig metadata can be removed as well. Others have been replaced, but without reflecting the change in the /etc/sysconfig files. Andreas Hanke --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello, Andreas Hanke napsal(a):
Hi,
I wonder if there is any documentation or specification about the metadata comments in /etc/sysconfig files. The only bit of documentation I could find is the fillup man page, but it doesn't say anything useful.
What I'm looking for is information about the following things:
## Config: ispell ## ServiceRestart: bluetooth ## ServiceReload: autofs ## Command: /sbin/mkinitrd ## PreSaveCommand: /sbin/rcsyslog status && /sbin/rcsyslog stop [...]
See SUSE Package Conventions (http://developer.novell.com/wiki/index.php/Special:File/spc/spc.pdf or http://developer.novell.com/wiki/index.php/Special:File/spc/spc.html) and /usr/share/doc/packages/yast2-sysconfig/metadata.txt file.
The reason I'm asking is that I think several sysconfig files have metadata which are not up to date or not complete.
E.g. many SuSEconfig modules have been removed without a replacement, so the sysconfig metadata can be removed as well. Others have been replaced, but without reflecting the change in the /etc/sysconfig files.
IIRC it's possible to make a fillup template for removing or changing sysconfig variables, see 'man fillup'. Ladislav --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Andreas Hanke
-
Ladislav Slezak