-$Id: sysconfig.txt,v 1.7 2002/02/18 13:24:26 gotar Exp $
-
Files in /etc/sysconfig
=======================
-/etc/sysconfig/clock:
-
- deprecated values from earlier releases:
-
- CLOCKMODE=GMT indicates that the clock is set to UTC
- CLOCKMODE=ARC on alpha only indicates the ARC console's
- 42-year time offset is in effect
-
- currently correct values:
-
- UTC=true indicates that the clock is set to UTC; anything
- else indicates that it is set to local time
- ARC=true on alpha only indicates the ARC console's
- 42-year time offset is in effect; otherwise the normal
- Unix epoch is assumed
+/etc/sysconfig/system:
+ AUTOSWAP=yes|no
+ Set to 'yes' to enable automatic swapon of all partitions with
+ the proper swap magic. This allows setting up swap without editing
+ /etc/fstab.
/etc/sysconfig/keyboard:
NETWORKING=yes|no
IPV4_NETWORKING=yes|no
IPV6_NETWORKING=yes|no
- HOSTNAME=<whatever hostname you want>
+ HOSTNAME=<whatever hostname you want, e.g. "pldmachine">
Note: for compatibility with some old software people might
install (like trn), the /etc/HOSTNAME file should contain the
same value as here.
- FORWARD_IPV4=yes|no (The current Red Hat Linux installation
- sets this to no by default for RFC compliance, but if
- FORWARD_IPV4 is not set at all, forwarding is *enabled*
- for compatibility with the configuration files used on
- Red Hat Linux versions 4.2 and earlier.)
+ NISDOMAIN=<nis domain name, e.g. "mydomain.org">
+ Note: set this only if you use NIS system. DNS domainname
+ should be set in /etc/resolv.conf
IGNORE_ICMP_BCAST_IPV4=yes|no (Please note that if you accept ICMP echo
requests with a broadcast/multicast destination address your network
may be used as an exploder for denial of service packet flooding attacks
SPOOFING_IPV4=yes|no (anti spoofing protection)
GATEWAY=<gateway IP>
GATEWAYDEV=<gateway device> (e.g. eth0)
- NISDOMAIN=<nis domain name>
IPX=yes|no
IPXAUTOPRIMARY=on|off (note, that MUST be on|off, not yes|no)
IPXAUTOFRAME=on|off (again, not yes|no)
<device> may be a device name to have the route brought up and
down with the device, or "any" to have the correct devices calculated
- at run time. [type] is optional. RH style isn't supported !
+ at run time. [type] is optional. RH style isn't supported!
Also you can set few options after "<gateway>":
tos <tos>
protocol <rtproto>
onlink
equalize
- For more informations see iproute2 documentation .
+ For more informations see iproute2 documentation.
+
+/etc/sysconfig/static-routes6:
+
+ Same as /etc/sysconfig/static-routes but for IPv6.
/etc/sysconfig/routed:
/etc/sysconfig/i18n
- LANG= can be any two letter ISO language code
- LC_ALL= is the setting of the localedata configuration (eg fr_CA)
- LINGUAS= can be a : separated list of language codes
+ LANG= is the default setting of localedata configuration
+ (ISO-639-1 language code with ISO-3166-1 country code and optional
+ variant and/or encoding, eg. fr_CA, fr_CA.UTF-8);
+ LC_CTYPE=, LC_COLLATE=, LC_MESSAGES=, LC_NUMERIC=, LC_MONETARY=, LC_TIME=
+ are the individual category settings
+ LC_ALL= overrides all of the above LC_*
+ LANGUAGE= can be a : separated list of language codes
+ see locale(7) for details
SYSTERM= use to set default TERM environment variable
- The above three variables are used in rc.sysinit.
+ The above variables are used in rc.sysinit.
SYSFONT= any font that is legal when used as
/usr/sbin/setfont $SYSFONT ...
The above is used by the /sbin/setsysfont command (which is run
by rc.sysinit at boot time).
+
+/etc/sysconfig/<service>
+
+ The following are used when starting service.
+
+ SERVICE_LIMITS="-u unlimited -c 0"
+ System limits for this service.
+
+ SERVICE_CPUSET="name"
+ CPUSET to run this service in.
+
+ SERVICE_UMASK="022"
+ File creation mask for this service.
+
+ SERVICE_RUN_NICE_LEVEL="0"
+ Scheduling priority for this service.