LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-18-2009, 03:02 AM   #1
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Rep: Reputation: 35
the time service in inetd


I notice the time service is enabled by default in inetd.

Why is this, and is it actually needed for anything?
 
Old 12-18-2009, 04:21 AM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 572

Rep: Reputation: 154Reputation: 154
Good question. See here:

http://en.wikipedia.org/wiki/TIME_protocol
 
Old 12-18-2009, 04:34 AM   #3
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
I know what time is, which is why I am confused why it is enabled by default. I have disabled it, since I can't imagine anything that would actually need it.
 
Old 12-18-2009, 01:04 PM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by Josh000 View Post
I know what time is, which is why I am confused why it is enabled by default. I have disabled it, since I can't imagine anything that would actually need it.
Well - trivially you might want to have an accurate clock to set you watch by but, more importantly, if you ever need to analyse a problem involving logs kept by other devices it enables you to correlate events in logs based on when they happened. Also, if you have share file systems with any other computers it can be essential when determining which is the "latest" version.

Motherboard clocks can be quite inaccurate; having NTP enabled saves having to adjust the time manually. Even if you are lucky enough to have a good clock this matters as the motherboard battery runs down when the clock "drift" becomes large.

The NTP protocol and implementation has been very ingeniously designed to be light on resources so the costs of having NTP enabled are small and the benefits can be useful; I enable it on all devices I administer and commend it to you.

Last edited by catkin; 12-18-2009 at 01:05 PM. Reason: English as she is wrotten
 
Old 12-18-2009, 01:48 PM   #5
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
I had thought the time started by inetd was actually separate from NTP, and NTP had replaced it.

Hence time being unnecessary?
 
Old 12-18-2009, 02:05 PM   #6
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
You're right Josh, NTP came later. They're not the same thing.

No idea if there's anything out there that still uses it though. I think you're going to be safe disabling it. I disable inetd entirely on my boxes.
 
Old 12-18-2009, 03:40 PM   #7
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
HI GazL, that is the point of my confusion. I just wonder why time is still enabled by default, when it isn't useful and is deprecated.

Also, as an OT question, where would I find xinetd? It does not seem to be included as a package, and there are no slackbuilds for it....
 
Old 12-19-2009, 01:51 AM   #8
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
I've got an xinetd build script done, but I never finished it because it does not seem to be something that's worth adding to Slackware, and since I don't need it and you're the first person to mention it in over two years, it's just not been worth my time to work on it any more. If you're interested, reply in this thread and I'll put the (unfinished) work somewhere for perusal; otherwise, it can continue to bitrot.
 
Old 12-19-2009, 02:17 AM   #9
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Hi Robby,

It's OK, I don't actually need it, and I'm happy to use src2pkg for the odd software that doesn't have a script. I was just surprised as I have found a build for everything so far. Which is impressive
 
  


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
install inetd service udayakumarsv Linux - Server 0 04-15-2008 06:33 AM
question about uucp service and /etc/inetd.conf file frankie_DJ Linux - Newbie 2 09-03-2005 01:23 AM
inetd unknown service golien Linux - General 4 08-09-2005 10:58 PM
Adding a Service in inetd Icky_Joe Linux - Newbie 4 04-26-2005 09:05 AM
9.1: inetd service not starting. asklepios Slackware 2 01-31-2004 11:53 AM

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

All times are GMT -5. The time now is 12:56 AM.

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