/etc/sysconfig/network/* -- are they part of LSB linux standard base?

I’m toying around with some config settings in /etc/sysconfig/network and I wonder if they are part of LSB (linux standard base)?

Many of the files (scripts?) contain @suse.de or @suse.com Authors. Are these scripts SUSE specific? Or can we count on CentOS and RedHat also using the same config/syntax?

CentOS, Red Hat (and of course Fedora) use /etc/sysconfig/network/ (as well as other /etc/sysconfig configuration files) but I have no idea about whether this is defined in LSB.

Hi
Have a read through the comments in /etc/init.d/skeleton;


# Template system startup script for some example service/daemon FOO
#
# LSB compatible service control script; see http://www.linuxbase.org/spec/
#
# Note: This template uses functions rc_XXX defined in /etc/rc.status on
# UnitedLinux/SUSE/Novell based Linux distributions. If you want to base your
# script on this template and ensure that it works on non UL based LSB
# compliant Linux distributions, you either have to provide the rc.status
# functions from UL or change the script to work without them.
# See skeleton.compat for a template that works with other distros as well.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.3 Milestone 7 (i586) Kernel 2.6.34-8-desktop
up 0:02, 2 users, load average: 0.98, 0.58, 0.22
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

Those are the init scripts. OP’s talking about /etc/sysconfig/network.

Hi
But the sysconfig entries are read by the init scripts, one would
imagine if the init scripts are LSB, then the configs used must be as
well?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 4:40, 2 users, load average: 0.03, 0.10, 0.06
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

Config files are used by lots of things, not only init scripts. Also the LSB only prescribes the operations that a LSB init script must support, the runlevels and so forth. AFAIK the format of the config information isn’t prescribed. So I think at the moment there are bound to be differences between how say RH and SUSE store this info.

On Tue, 2010-06-01 at 02:16 +0000, deano ferrari wrote:
> CentOS, Red Hat (and of course Fedora) use /etc/sysconfig/network/ (as
> well as other /etc/sysconfig configuration files) but I have no idea
> about whether this is defined in LSB.
>
>

AFAIK, the answer is no… but could be yes. The LSB is a poor enforcer
of things.

Red Hat and SUSE’s sysconfig are VERY different.

I would NOT count on /etc/sysconfig… even if you did, realize that
they differ distro to distro, so you really do not gain anything
‘standard’ wise.