FYI, this is RFC for the SuSEconfig discussion written by a colleague.
WE do not just want to remove it - we also have to figure out to
replace it...

Andreas

SUSEconfig has around 4 classes of different scripts,
the first two are the most common cases:

 a) /etc/sysconfig has two types of data.
    * data read by rc-scripts and used directly there
    * data used by SuSEconfig and spread over /etc/* or /var/*
    The second type is handled by one class of SuSEconfig scripts,
    called "CLASS-A".
    Solutions:
    - extend rc-scripts to do this
    - extend daemons to read /etc/sysconfig
    - ...

 b) directory index caches
    scripts that keep index files in several directories up to date.
    The underlying problem is that rpm can not trigger based on
    directory modification, but that's currently not in sight.
    In many cases SuSEconfig is just the cheap solution.
    A related problem is, that if you install 10 packages, you don't
    want to regenerate these indexes 10 times.
    Solutions:
    - call individually in each related package (the "install-info way")
      - error prone
      - many modifications to many packages (and over again for any change)
    - extend usage of these index files to update cache themselves
    - ...
    This type will be called CLASS-B below.
    (some of these have also been moved to cron.daily in the past)

 c) similar to b but generate other filetypes from installed files,
    usually hacks for special programs
    CLASS-C
 d) set a symlink according to installation CLASS-D
    (probably easiest for a postinstall solution)

(modulename) (packagename)            (class)

SuSEconfig.automake (automake)      CLASS-B
SuSEconfig.cjk-latex (cjk-latex)    CLASS-C
SuSEconfig.desktop-file-utils (desktop-file-utils) CLASS-B
SuSEconfig.fonts (fonts-config)     CLASS-B (mostly)
SuSEconfig.gdm (gdm)                CLASS-A
SuSEconfig.ghostscript-cjk (ghostscript-cjk) CLASS-A?
SuSEconfig.gnome-vfs2 (gnome-vfs2)  CLASS-B
SuSEconfig.groff (groff)            CLASS-A
SuSEconfig.gtk2 (gtk2)              CLASS-B
SuSEconfig.guile (guile)            CLASS-B
SuSEconfig.icu (icu)                CLASS-D
SuSEconfig.isdn (i4l-base)          CLASS-A
SuSEconfig.ispell (ispell)          CLASS-A/CLASS-D
SuSEconfig.kde (kdebase3-NLD,kdebase3-SuSE) CLASS-A
SuSEconfig.kdm3 (kdebase3-NLD,kdebase3-SuSE) CLASS-A
SuSEconfig.libxml2 (libxml2)        CLASS-B
SuSEconfig.lyx-cjk (cjk-lyx)        CLASS-B
SuSEconfig.mailman (mailman)        CLASS-A
SuSEconfig.news (aaa_base)          CLASS-A
SuSEconfig.pango (pango)            CLASS-B
SuSEconfig.pbs (OpenPBS)            CLASS-A
SuSEconfig.perl (perl)              CLASS-B
SuSEconfig.permissions (permissions) CLASS-A (special ...)
SuSEconfig.postfix (postfix)        CLASS-A
SuSEconfig.prelink (prelink)        CLASS-B
SuSEconfig.scim (scim)              CLASS-A
SuSEconfig.scpm (scpm)              ?? (-> rcscript .. ?)
SuSEconfig.scrollkeeper (scrollkeeper) CLASS-B
SuSEconfig.sendmail (sendmail)      CLASS-A
SuSEconfig.susehelp (susehelp)      CLASS-A(?)
SuSEconfig.syslog-ng (syslog-ng)    CLASS-A
SuSEconfig.tetex (tetex)            CLASS-B
SuSEconfig.tuxpaint (tuxpaint)      CLASS-C
SuSEconfig.wdm (wdm)                CLASS-A
SuSEconfig.words (words)            CLASS-A/CLASS-D
SuSEconfig.xdm (xorg-x11)           CLASS-A
SuSEconfig.xjdic (xjdic-indices)    CLASS-B
SuSEconfig.xpdf (xpdf-tools)        CLASS-B(?)
    

Andreas
-- 
 Andreas Jaeger, [EMAIL PROTECTED], http://www.suse.de/~aj/
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgppRrzk60tvY.pgp
Description: PGP signature

Reply via email to