[opensuse-factory] SuSEconfig clearance: "CLASS-A" scripts
Hi there, let's get back to the SuSEconfig clearance initiative :) Instead of looking at a special script this time, this is a list of scripts that fall into the same category. They take data from /etc/sysconfig and (re)write it to /etc/* or /var/* (or somewhere else). Possible solutions are to extend init-scripts to do the job, or to patch the corresponding programs to read /etc/sysconfig directly. * SuSEconfig.scim (package: scim) takes /etc/sysconfig/keyboard to set DefaultKeyboardLayout in /etc/scim/global -> patch scim to read /etc/sysconfig/keyboard directly * SuSEconfig.isdn (package: i4l-base) generates isdn configuration from /etc/sysconfig/network, /etc/sysconfig/network/providers and /etc/sysconfig/isdn -> do not touch ;) * SuSEconfig.mailman (package: mailman) reads /etc/sysconfig/mailman into /usr/lib/mailman/Mailman/mm_cfg.py -> init-script? * SuSEconfig.news (package: aaa_base) creates /etc/organization, /etc/nntpserver, /etc/inews_mail_gateway and some files in /var/lib/news -> init-script? * SuSEconfig.pbs (package: OpenPBS) reads /etc/sysconfig/pbs_server to create some files in /var/spool/pbs/ -> init-script? * SuSEconfig.postfix (package: postfix) lot's of config file manipulation based on /etc/sysconfig/postfix :) -> do not touch? * SuSEconfig.sendmail (package: sendmail) -> do not touch either :) * SuSEconfig.susehelp (package: susehelp) set up susehelp configuration & do some indexing -> cron? + initscript? * SuSEconfig.permissions (package: permissions) -> do not touch! * SuSEconfig.groff (package: groff) create /etc/papersize -> patch groff to figure out papersize based on LC_PAPER? * SuSEconfig.syslog-ng (package: syslog-ng) -> patch syslog-ng to read /etc/sysconfig/syslog-ng (fix already WIP) This should be pretty much it -- SuSEconfig.{gdm,wdm,xdm} and SuSEconfig.kde, which are not on this list, are already WIP, AFAIK :) Over to you: Comments, criticism, better ideas? ;) Regards Christoph --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Christoph, an all...
Possible solutions are to extend init-scripts to do the job
Not sure I like this idea, after running SuSEconfig (shouldn't that be a symlink to SUSEconfig now? ;)), I like to read through the generated config files in /etc or wherever before running the init script. Now, that may be me being paranoid, but I like to make sure that the config of [insert daemon here] is sane before restarting it
, or to patch the corresponding programs to read /etc/sysconfig directly.
This could become a real pain to maintain, not really my problem directly, just thinking about the poor packagers...
* SuSEconfig.sendmail (package: sendmail) -> do not touch either :)
+1 - please don't touch this, it does its job admirably and since it respects manual changes correctly, it allows for people to make their own config changes if they so desire.
* SuSEconfig.susehelp (package: susehelp) -> cron? + initscript?
I think cron for this, there's no inherent reason that I can think of why this shouldn't just be done at 0100. -- James Ogley james@usr-local-bin.org http://usr-local-bin.org Packages for SUSE: http://usr-local-bin.org/rpms Help end poverty: http://oxfam.org.uk/imin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
* Christoph Thiel <cthiel@suse.de> [Sep 04. 2006 13:04]:
* SuSEconfig.isdn (package: i4l-base)
generates isdn configuration from /etc/sysconfig/network, /etc/sysconfig/network/providers and /etc/sysconfig/isdn
-> do not touch ;)
Remove isdn related packages from the default system; install them depending on detected hardware. Klaus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Mon, 4 Sep 2006, Klaus Kaempf wrote:
* Christoph Thiel <cthiel@suse.de> [Sep 04. 2006 13:04]:
* SuSEconfig.isdn (package: i4l-base)
generates isdn configuration from /etc/sysconfig/network, /etc/sysconfig/network/providers and /etc/sysconfig/isdn
-> do not touch ;)
Remove isdn related packages from the default system; install them depending on detected hardware.
Sounds interesting, but needs YaST and hal-enablement, to be able to tag packages "needs isdn hardware". Regards Christoph --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (3)
-
Christoph Thiel
-
James Ogley
-
Klaus Kaempf