[BusyBox] another one on circular buffer syslogd

Matt Kraai kraai at verona.lineo.com
Wed Jan 3 23:49:51 UTC 2001


On Wed, Jan 03, 2001 at 06:47:23PM -0500, Gennady Feldman wrote:
> P.S. Can somebody verify a bug when running latest busybox sh in
> interactive mode (full fledged shell) and starting daemon processes like
> syslogd. Then doing ps. It should 'sh' instead of 'syslogd' for all
> processes started from inside the shell (internal commands from
> busybox).

I know about this but haven't been able to come up with a good
fix.  The problem is that busybox sh forks applets and then calls
applet_main rather than exec.  This causes the information in proc
to be wrong.  There is code in busybox.c to fix up this kind of
thing, but it will need to be reworked for sh.c and no one has
done it yet.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20010103/8976d01d/attachment.pgp 


More information about the busybox mailing list