[ntp:questions] "ntpdate" hanging !!

Per Hedeland per at hedeland.org
Wed Mar 9 07:45:37 UTC 2005


In article <mailman.27.1110347850.588.questions at lists.ntp.isc.org>
Srikanth K <srikanth.k at hp.com> writes:
>
>When ntpdate is using SIGALRM,  dont you think it should make sure that 
>SIGALRM is not blocked.
>In fact "all the signals" which ntpdate uses should not be blocked. 

No. A Unix program (ntpdate or other) should reasonably be able to
expect all signals to be unblocked at startup (this might even be in
some POSIX spec or other). If some of them are blocked, the reasonable
explanation is that they have been blocked intentionally (e.g. for
debugging), and the program shouldn't try to override this. If the
signals are blocked unintentionally, it is a bug(tm) in the environment
that starts the program.

--Per Hedeland
per at hedeland.org



More information about the questions mailing list