Bug 23179 - do not lookup hostnames (an option)
: do not lookup hostnames (an option)
Status: NEW
: Sisyphus
(All bugs in Sisyphus/syslogd)
: unstable
: all Linux
: P3 enhancement
Assigned To:
: 21966
  Show dependency tree
Reported: 2010-03-18 15:02 by
Modified: 2013-12-24 06:36 (History)



You need to log in before you can comment on or make changes to this bug.

Description From 2010-03-18 15:02:39

Actually, the non-working option mentioned in
https://bugzilla.altlinux.org/show_bug.cgi?id=21966 would be quite useful:

# -x    Disables DNS lookups on messages recieved with -r.

Because now the logging of remote messages coming from a host without a
lookupable hostname is a terrible: it takes 5 secs (or sometimes more) waiting
for the hostname, so the messages that come immediately one after another get
logged with an interval of 5 sec (or sometimes more), and the logging of, say,
100 instantaneous messages takes a very very long time!
------- Comment #1 From 2010-05-12 19:31:46 -------
It's a somewhat documented (and sometimes crucial indeed) option:

$ cat /etc/sysconfig/syslogd
# Options to syslogd
# -m 0  Disables 'MARK' messages.
# -r    Enables logging from remote machines.
# -x    Disables DNS lookups on messages recieved with -r.
# See syslogd(8) for more details.
SYSLOGD_OPTIONS='-u syslogd -j /var/resolv -r -x'

# service syslogd reload
Stopping system logger service:  [ DONE ]
Starting system logger service: /sbin/syslogd: invalid option -- x
usage: syslogd [-drvh] [-l hostlist] [-m markinterval] [-n] [-p path]
 [-s domainlist] [-f conffile] [-i IP address] [-u username]

Was it a 3rd party patch (with corresponding sysconfig file modification) but
being async-dropped afterwards?
------- Comment #2 From 2010-05-12 22:31:59 -------
...or is sysconfig stuff rsyslogd-related?..