syslogd & return code

Vladimir N. Oleynik dzo at simtreas.ru
Tue Dec 27 15:40:31 UTC 2005


greg,

>     I'm trying to make a custom distribution to be used for a network
>     oriented embedded system.
>     It is based upon an initng/busybox/udev combination.
> 
>     When shutting down, initng complains about syslogd returning 1
>     A quick look at the code (busybox-1.1.0-pre1) , shows :
>     This signal handler is connected to SIGINT, SIGTERM & SIGQUIT
> 
>     Should not we exit with EXIT_SUCCESS code instead of TRUE ??

Its not problem. Syslogd is a background daemon, his result code
is not acceptable.

But, for right paranoya, require change exit() to _exit().


--w
vodz



More information about the busybox mailing list