[gmail] Re: Segmentation Fault calling /sbin/syslogd
Denis Vlasenko
vda.linux at googlemail.com
Wed Jan 24 20:40:31 UTC 2007
On Wednesday 24 January 2007 10:33, Marc Leeman wrote:
> On Wed, Jan 24, 2007 at 10:24:24AM +0100, Marc Leeman wrote:
> > > > #ifdef __GLIBC__
> > > >
> > > > by
> > > >
> > > > #if definen(__GLIBC__) && !defined(__UCLIBC__)
> > > >
> > > > Works now?
> >
> > nope, still zombie.
>
>
> [mleeman at moya ~]$ ssh root at 10.2.4.10
> Warning: Permanently added '10.2.4.10' (RSA) to the list of known hosts.
> root at 10.2.4.10's password:
>
> PC: "The king is stupid!"
> GM: "Stupid or not he's standing two feet behind you and there's nothing
> wrong with his hearing."
>
>
> (random "flw" fortune cookie)
>
>
> BusyBox v1.4.0 (2007-01-24 10:16:42 CET) Built-in shell (ash)
> Enter 'help' for a list of built-in commands.
>
> # /home/user/strace /sbin/syslogd -n -m 0 -C 16
opt_complementary = "=0"; /* no non-option params */
syslogd will exit because you gave it a parameter
("16").
# ./busybox syslogd -n -m 0 -C 16
BusyBox v1.4.0 (2007-01-24 20:57:08 CET) multi-call binary
Usage: syslogd [OPTION]...
System logging utility.
Note that this version of syslogd ignores /etc/syslog.conf.
Options:
-m MIN Minutes between MARK lines (default=20, 0=off)
-n Run as foreground process
-O FILE Use an alternate log file (default=/var/log/messages)
-l n Sets the local log level of messages to n
-S Make logging output smaller
-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)
-C[size(KiB)] Log to a shared mem buffer (read the buffer using logread)
# ./busybox syslogd -n -m 0 -C16
.......runs.....
...I press ^C...
syslogd exiting
More information about the busybox
mailing list