Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139247 - net-misc/ntp: startup script doesn't tell anything if ntpd cannot be started
Summary: net-misc/ntp: startup script doesn't tell anything if ntpd cannot be started
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-04 15:19 UTC by Enrico 'nekrad' Weigelt
Modified: 2006-07-04 16:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico 'nekrad' Weigelt 2006-07-04 15:19:20 UTC
The ntpd startup script (/etc/init.d/ntpd) doesnt check for errors and report them properly. If the server fails to start (ie. bad config), noone notices.
Comment 1 SpanKY gentoo-dev 2006-07-04 15:49:00 UTC
that's the way ntpd works ... i dont know of a way to check this without some big ugly hack involving `ntpd -n` and backgrounding/killing

if you have a workable idea i'd love to hear it, otherwise it's going to stay like this
Comment 2 Enrico 'nekrad' Weigelt 2006-07-04 16:04:20 UTC
(In reply to comment #1)
> that's the way ntpd works ... i dont know of a way to check this without some
> big ugly hack involving `ntpd -n` and backgrounding/killing

hmm, I'll do some experiments with it and check if ntpd gives some usable exit codes on error.