LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-07-2009, 06:11 PM   #16
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231

Quote:
Originally Posted by niels.horn View Post
I respect (most) upstream developers, but my idea of open software is that I am in control.
So if I think that non-static files don't belong in /etc, I'll move them to a better place.
Couldn't agree more and I'd never even suggest that it wasn't an option for you.

Quote:
Originally Posted by niels.horn View Post
One thing I learned after several decades of working in the IT / support business is not to accept simply what suppliers / upstream developers tell me to do. I question things a lot. And I don't accept answers like "we do it this way because we always did it this way". I am always open for good arguments though.
By the same logic, while we do try to adhere to the FHS we won't blindly follow anything if it does not work for us or we have good reason to do it some other way... the sword has two edges

@bgeddy
Welcome
 
Old 05-07-2009, 07:35 PM   #17
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Original Poster
Rep: Reputation: 91
I did some checking on desktops running Slackware.
The basic difference between the servers and the desktops is that the servers stay on 24x7 (safe maintenance etc.) and desktops are turned off at night and turned on the next day.

On the desktops I found several files that are changed with each boot:
Code:
/etc/ld.so.cache
/etc/random-seed
/etc/udev/rules.d/70-persistent-net.rules (boxes with two NICs)
/etc/motd
/etc/gtk-2.0/gtk.immodules
/etc/printcap (done by CUPS)
/etc/mtab
All of this is done by the normal initialization scripts so this is expected behavior.

On the servers, all of the above-mentioned files are static and do not change during normal operation. /etc/mtab will change of course if you mount / unmount volumes.

I also checked the sequence of services started and saw that rc.ntpd is initialized after (in this order):
- starting rc.pcmcia
- starting udev
- initializing the network hardware
- starting USB/SCSI/IEEE1394/etc devices
- starting network daemons
- mounting the volumes from fstab
So I can put the drift file on /var/lib/ntp even if that is on a volume mounted via NFS on a different server.
So, no excuse to leave it in /etc !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NTP: help me understand the conf file Gozotonmortenfrede Linux - Server 1 04-15-2008 03:56 PM
NTP - how to slack it best? TL_CLD Slackware 27 10-13-2006 11:33 AM
Help with NTP again please!! MaverickApollo Linux - General 2 05-30-2006 07:33 AM
NTP cannot work with timeserver, NTP-d can jerryvapps Linux - Networking 0 08-04-2004 02:04 PM
NTP cannot use server, NTP -d can jerryvapps Linux - Newbie 0 07-28-2004 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration