[BusyBox] Some problems with busybox-1.0.0-pre1
Eric Spakman
E.Spakman at inter.nl.net
Sat Jul 26 09:57:39 UTC 2003
Erik,
> I have redone the start-stop-daemon option parsing.
>
<snip>
> You can now build logger w/o needing syslogd.
>
<snip>
Thank you very much!
> > -Running shell scripts containing more than a "few" lines on busybox
> > ash generates a segmentation fault: ash memory problems?
>
> I run lots of comlex shell scripts w/o problems. Perhaps you
> should submit the script you are having problems with and/or
> an strace or ltrace of this seg fault...
>
I had e-mail contact with vodz about this issue.
We have this problem with "shorewall" (http://www.shorewall.net/),
which runs perfectly with a stand-alone ash/dash shell. But runs slow
and give segmentation faults with busybox ash. The shorewall scripts
are too big to do some debugging on it according to vodz, so a friend
of mine is trying to make a smaller script which hit the same
problems in bb ash (I'm very bad with shell scripting myself).
> > -Message: "mknod: null: File exists" while creating /dev files (mknod
> > null c 1 3)
>
> That is exactly what is supposed to happen when the /dev/null
> already exists....
>
The problem is, /dev/null don't exist. And I never saw this message
with busybox 0.60.5 with the same /dev generating scripts.
> > -Message: "umount: bb_xasprintf: Read-only file system" while
> > halting/rebooting
>
> Sounds like you are using uClibc and have messed up the
> permissions on /dev/null
>
Correct, I'm using uClibc and I will double check the permissions.
The "umount: Read-only filesystem" is not the problem (I think), but
the part "bb_xasprintf" doesn't seem to belong there.
> > #su
> > this applet requiere priviliged rights
>
> You did not make busybox setuid root, therefore the su
> test was not able to work...
>
AFAIK busybox is setuid root, but I will double check.
> > -You can't choose ifupdown and iproute2 compatability, without also
> > choosing busybox iproute2. This way it's not possible to use the full
> > blown iproute2 programs with busybox ifupdown.
>
> Fair enough. Fixed.
>
Thanks again.
Regards,
Eric Spakman
More information about the busybox
mailing list