[pkg-ntp-maintainers] Bug#484975: Bug#484975: ntpdate's ip-up script suppresses all of its stderr output
Peter Eisentraut
peter_e at gmx.net
Sun Jun 15 22:15:25 UTC 2008
Josip Rodin wrote:
> /etc/network/if-up.d/ntpdate suppresses all stderr output from ntpdate,
> which is a bad idea. If it fails, I want to know about it.
Well, I think that script should be considered a background action. Often
times, network interfaces are now brought up implicitly and without a
terminal being visible. Therefore all the error messages go to the log file.
Even if the 2>/dev/null were removed, you still wouldn't see most error
messages, because they are in the log. (In fact, they should *all* go the
log, and the fact that some do not is a sign of a fault in ntpdate.) And
suggesting not to send the errors to the log at all would be a mistake in my
opinion.
More information about the pkg-ntp-maintainers
mailing list