Openembedded Core Discussions
 help / color / mirror / Atom feed
* does busybox 1.19 still support the arg `-m'?
@ 2012-01-11  8:12 Ni Qingliang
  2012-01-11  8:16 ` Ni Qingliang
  2012-01-11 19:14 ` Joshua Lock
  0 siblings, 2 replies; 4+ messages in thread
From: Ni Qingliang @ 2012-01-11  8:12 UTC (permalink / raw)
  To: openembedded-core

in file meta/recipes-core/busybox/files/syslog
I found code section:
	if [ -n "$MARKINT" ]; then
		SYSLOG_ARGS="$SYSLOG_ARGS -m $MARKINT"
	fi
but I can't find `-m' in the help of syslogd.


syslogd --help                                                    
BusyBox v1.19.3 (2012-01-11 12:34:06 CST) multi-call binary.

Usage: syslogd [OPTIONS]

System logging utility

        -n              Run in foreground
        -O FILE         Log to FILE (default:/var/log/messages)
        -l N            Log only messages more urgent than prio N (1-8)
        -S              Smaller output
        -s SIZE         Max size (KB) before rotation (default:200KB,
0=off)
        -b N            N 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)
        -C[size_kb]     Log to shared mem buffer (use logread to read
it)
        -f FILE         Use FILE as config (default:/etc/syslog.conf)

-- 
Yi Qingliang
niqingliang@insigma.com.cn
https://niqingliang2003.wordpress.com




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: does busybox 1.19 still support the arg `-m'?
  2012-01-11  8:12 does busybox 1.19 still support the arg `-m'? Ni Qingliang
@ 2012-01-11  8:16 ` Ni Qingliang
  2012-01-11 19:15   ` Joshua Lock
  2012-01-11 19:14 ` Joshua Lock
  1 sibling, 1 reply; 4+ messages in thread
From: Ni Qingliang @ 2012-01-11  8:16 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org

and in syslog-startup.conf, the comments `incompatible with busybox'
should be deleted.

#ROTATESIZE=0			# rotate log if grown beyond X [kByte] (incompatible
with busybox)
#ROTATEGENS=3			# keep X generations of rotated logs (incompatible with
busybox)

On Wed, 2012-01-11 at 16:12 +0800, 倪庆亮 wrote:
> in file meta/recipes-core/busybox/files/syslog
> I found code section:
>         if [ -n "$MARKINT" ]; then
>                 SYSLOG_ARGS="$SYSLOG_ARGS -m $MARKINT"
>         fi
> but I can't find `-m' in the help of syslogd.
> 
> 
> syslogd --help
> BusyBox v1.19.3 (2012-01-11 12:34:06 CST) multi-call binary.
> 
> Usage: syslogd [OPTIONS]
> 
> System logging utility
> 
>         -n              Run in foreground
>         -O FILE         Log to FILE (default:/var/log/messages)
>         -l N            Log only messages more urgent than prio N (1-8)
>         -S              Smaller output
>         -s SIZE         Max size (KB) before rotation (default:200KB,
> 0=off)
>         -b N            N 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)
>         -C[size_kb]     Log to shared mem buffer (use logread to read
> it)
>         -f FILE         Use FILE as config (default:/etc/syslog.conf)
> 
> --
> Yi Qingliang
> niqingliang@insigma.com.cn
> https://niqingliang2003.wordpress.com
> 

-- 
Yi Qingliang
niqingliang@insigma.com.cn
https://niqingliang2003.wordpress.com




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: does busybox 1.19 still support the arg `-m'?
  2012-01-11  8:12 does busybox 1.19 still support the arg `-m'? Ni Qingliang
  2012-01-11  8:16 ` Ni Qingliang
@ 2012-01-11 19:14 ` Joshua Lock
  1 sibling, 0 replies; 4+ messages in thread
From: Joshua Lock @ 2012-01-11 19:14 UTC (permalink / raw)
  To: openembedded-core



On 11/01/12 00:12, Ni Qingliang wrote:
> in file meta/recipes-core/busybox/files/syslog
> I found code section:
> 	if [ -n "$MARKINT" ]; then
> 		SYSLOG_ARGS="$SYSLOG_ARGS -m $MARKINT"
> 	fi
> but I can't find `-m' in the help of syslogd.

Looks like busybox disabled that code in 2007!? I've prepared a patch to 
remove this from the init script and syslog-startup.conf.

Joshua
-- 
Joshua Lock
         Yocto Project "Johannes factotum"
         Intel Open Source Technology Centre



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: does busybox 1.19 still support the arg `-m'?
  2012-01-11  8:16 ` Ni Qingliang
@ 2012-01-11 19:15   ` Joshua Lock
  0 siblings, 0 replies; 4+ messages in thread
From: Joshua Lock @ 2012-01-11 19:15 UTC (permalink / raw)
  To: openembedded-core

On 11/01/12 00:16, Ni Qingliang wrote:
> and in syslog-startup.conf, the comments `incompatible with busybox'
> should be deleted.
>
> #ROTATESIZE=0			# rotate log if grown beyond X [kByte] (incompatible
> with busybox)
> #ROTATEGENS=3			# keep X generations of rotated logs (incompatible with
> busybox)
>

I've prepared a patch to remove those invalid comments.

Joshua
-- 
Joshua Lock
         Yocto Project "Johannes factotum"
         Intel Open Source Technology Centre



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-11 19:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-11  8:12 does busybox 1.19 still support the arg `-m'? Ni Qingliang
2012-01-11  8:16 ` Ni Qingliang
2012-01-11 19:15   ` Joshua Lock
2012-01-11 19:14 ` Joshua Lock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox