[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#505897: busybox: syslogd option -D mentioned in man page not available in binary



Package: busybox
Version: 1:1.10.2-2
Severity: minor

>From the man page:

---snip---
       syslogd
           syslogd    [OPTION]...

           System logging utility.  Note that this version of syslogd ignores
           /etc/syslog.conf.

           Options:

                   -n              Run in foreground
                   -O FILE         Log to given file (default=/var/log/messages)
                   -l n            Set local log level
                   -S              Smaller logging output
                   -s SIZE         Max size (KB) before rotate (default=200KB, 0=off)
                   -b NUM          Number of rotated logs to keep (default=1, max=99, 0=purge)
                   -R HOST[:PORT]  Log to IP or hostname on PORT (default PORT=514/UDP)
                   -L              Log locally and via network (default is network only if -R)
                   -D              Drop duplicates
                   -C[size(KiB)]   Log to shared mem buffer (read it using logread)        /* NB: -Csize shouldn't have space (because size is optional) */
---snap---

On the command line:

20/0/0 root@nemo:pts/1 18:00:25 [~] # /sbin/syslogd -n -D -C128
/sbin/syslogd: invalid option -- D
BusyBox v1.10.2 (Debian 1:1.10.2-2) multi-call binary

Usage: syslogd [OPTION]...

System logging utility.
Note that this version of syslogd ignores /etc/syslog.conf.

Options:
        -n              Run in foreground
        -O FILE         Log to given file (default=/var/log/messages)
        -l n            Set local log level
        -S              Smaller logging output
        -R HOST[:PORT]  Log to IP or hostname on PORT (default PORT=514/UDP)
        -L              Log locally and via network (default is network only if -R)
        -C[size(KiB)]   Log to shared mem buffer (read it using logread)

21/1/0 root@nemo:pts/1 18:00:30 [/home/abe/debian] # 

Either this function has been removed upstream and therefore should be
removed from the man page, or it has not been compiled into the Debian
version of busybox -- in which case it either should be removed from
the man page or compiled in.

There are also further options mentioned in the man page but not in
the help output of busybox as shown above. They're probably also not
available in the binary.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'unstable'), (400, 'stable'), (110, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages busybox depends on:
ii  libc6                         2.7-15     GNU C Library: Shared libraries

busybox recommends no packages.

busybox suggests no packages.

-- no debconf information



Reply to: