Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Configuration, difference
post Nov 12 2004, 01:47 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 2
Joined: 12-November 04
Member No.: 4,154

I need to know the difference between the configuration data stored in files within the /etc/sysconfig directory and service-specific configuration data stored in other subdirectories of /etc. blink.gif
Go to the top of the page
+Quote Post
post Nov 12 2004, 10:41 PM
Post #2

Its GNU/

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3

I'm not totally familier with /etc/sysconfig, but here is my guess:

/etc stores individual configuration files for programs on your system, this is common among all flavours of Linux (Redhat, Mandrake, SUSE, Debian, Gentoo).

/etc/sysconfig is more flavor-oriented and how the program interacts with the rest of the distribution.

For example, LIRC (Linux Infrared program), stores it's configuration file in /etc/lircd.conf. This configuration file tells the lircd daemon what keypress on a remote control correspond to what command. This is a common thing among any distribution of linux.

On a SUSE system, there is a file called /etc/sysconfig/lircd which, among other things, contains configuration for the start-stop daemon in SUSE such as what module it uses, what the device node is, etc.

Hope this helps.

Corey Quilliam
(former) Administrator

Want to help out Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
+Quote Post
post Nov 13 2004, 12:09 PM
Post #3

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

Some distros use /etc/sysconfig ... others use /etc/default.

These files are usually configuration files for the /etc/init.d/scripts ... but not for the services themselves ...

For example, in RedHat there is an /etc/ntp.conf file to configure NTP. This file is per the NTP documentation and is the same on all versions/Distros of Linux. There is also a file named /etc/sysconfig/ntpd that is the configuration file for the REDHAT script that starts NTP (/etc/init.d/ntpd). So you configure the program NTP via /etc/ntp.conf ... but you configure the startup/shutdown script for NTP (/etc/init.d/ntpd) in the file /etc/sysconfig/ntpd.

Hopefully this is making sense smile.gif

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 25th April 2018 - 01:34 PM