Bug triage.

Rob Landley rob at landley.net
Thu Dec 8 06:33:37 UTC 2005


Ok, I've scored through the bug list, closed a few and sorted the rest.  I'll 
take a whack at confirming and fixing these this weekend.

Rob

These bugs either are closed or should be:
------------------------------------------

550  MAP_SHARED in insmod causes problems in uClinux
  svn 12711 (me, today)

529  Syntax (macro definition) error stops build
  svn 12715 (me, today)

498  mount loop device support broken
  This one's wasn't our bug in the first place.  He had devfs support enabled,
  which breaks stuff.

494  ash prompt corruption
  svn 11650 (vodz, 2005-09-26)

568  vi displays inserted text incorrectly.
  svn 11477 (pgf, 2005-09-16)

406  1.01 won't build with shadow passwords disabled
  Not a problem in 1.1

#356  Answering ARP with invalid response when queried by firewall
#  Busybox doesn't do ethernet bridging or respond to arp requests, those are
#  functions of the kernel networking stack.

#354  Link fails with CONFIG_FEATURE_MOUNT_LOOP
#  The mount rewrite did away with this.

#316  CONFIG_ symbol collision with linux 2.4 kernel autoconf.h
#  Already fixed.

#250  gzipping N files produces N-1 bad gz files
#  That got fixed!

#243  cp clone special files instead of copying from them, for 
example /dev/null
# svn 12100

#238  RPM uses MMAP which may not be portable.
#  Says who?

#230  pre-emptible 2.6 kernels cannot use busybox "insmod".
#  If kernel preemptibility makes a difference, it ain't us.

# 85  BusyBox 1,0 ftpput and source file path names
# svn 12184

# 77  uuencode do not work correctly for standart uuencoding (not base64)
# Fixed long ago, just not closed out...

-----------------------------------------
I think these are fixed, need to confirm:
-----------------------------------------

394  cp doesn't exit with an error if there isn't enough space left on device

304  sometimes rmmod is unable to remove modules
  It's the - vs _ problem again.

282  The mount atime and diratime options set all the mount flags
  Obsoleted by mount rewrite, I think.

-------------------------------------------------------
We should probably fix this (or confirm already fixed):
-------------------------------------------------------

585  gzip enters infinite busy loop when decompressing a corrupted file

   bb_full_read() is evil.

496  Gunzip do not report correclty when uncompressing a corrupted gz file
   Similar to 585.

577  Two minor format string problems in ln (private)
576  inetd does not set argv[0]

549  Wrong SUID handling when invoking busybox binary directly

  Definitely fix, but the patch is wrong.  The busybox multiplexer needs
  suid, but check_suid should be called when it runs the real applet.

547  tar archive corruption when packing unreadable files

  Two fixes: get the error code right and check access _before_ writing the
  header.

543  switch_root fails
  Sigh, my fault.  Check in the right version.

534  "mount -t auto " broken
  You _allowed_ to specify "-t auto"?  Who knew?

531  Several link errors when creating flat executable file
  Yeah.  Fix this.

530  Build of telnet.c fails with older compilers
  Check.

488  init does not reap zombies when running actions
  Fixit.

486  busybox wget prepends a '/' to ftp URL's pathname, unlike GNU wget
  Check.

485  ftpget fetches 0 bytes if ftp server does not support SIZE command
  Check, but we _really_ need to unify the wget/ftpget implementation in 1.2.

468  rmmod does not report failure
  Fixit.

467  rmmod does not handle -w and -f flags
  Ditto.

461  PATCH: route accept bit netmask (x.x.x.x/netmask)
  Okay.

449  Uninitialized variable in hush shell
  Okay.

428  Extra space character (0x20) is added to last string option
  Fixit.

421  httpd applet in non-inet mode creates zombies
  Ok.

415  vlock accepts any passwd when using shadow
  Fixit.

410  memory leak in coreutils/md5_sha1_sum.c
  Ok.

408  tar.c and init.c error - small patch
  probably already fixed, but make sure.

389  Please modify "logread" in Busybox so that it flushes its output
  Ok.

373  bb_askpass doesn't flush stdin
  Simple enough.

362  insmod chatter
  Agreed.  Remember to update usage.h

347  tar: Decompression failed returns exit status 0 even error happened
  Yup.

324  start-stop-daemon failed to start up syslogd
  I don't use this one bug I'll take a look...

310  chmod & chown mixup of permissions with symlinks
  Yup.

309  ping -s n localhost , with n smaller then 6 results in wrong timing 
results
  yeah, fix that.  (ping -s 1 192.168.1.1)

281  mount -at <type> mounts all the file systems, not just those of type 
<type>
  Ok.

280  [PATCH] Kill annoying log messages in udhcp-client
  Ok.

279  [PATCH] On-demand net module loading fails with 
CONFIG_FEATURE_IFUPDOWN_IP
  Ok.

278  [PATCH] on-demand module loading fails with 2.6.X
  Ok.

277  Added IPv6 support for tftp and telnet client and a few more new features 
for both clients (see below)
  If it #configs out cleanly, sure.

276  Linux 2.6 module autoloading breaks when support for 2.4 modules is 
disabled
  Ok.

272  modprobe does not process parameters
  We should make sure this works.  Parameters processing got redone...

251  broadcast address isn't recalculated if ifconfig of a network address 
with a non-standard netmask
  Ok.  (Closer look would be good.)

249  constify patch
  Ok.  (Might already have been done?)

241  Statusbar not working in stdout output mode for wget
  Ok.

228  chown on symlink
  Take a look at this.  Probably the same as 310.

225  Implement support for -S and -b flags to `ln' binary.
  Ok.

180  ping output is buffered
  Ok.

169  "tar" with a directory argument doesn't extract the directory recursively
  Yes, although this one's actual work.

145  Fix strange behavior when issue df with pseudo root device(/dev/root).
  I'll give it a whack, sure.

136  expr get weird results with long numbers
  Possibly a #config option for long long?

112  awk system() returns 256 multipled value
  Confirm and fixit.

106  Allow Syslog Remote Connections
  Make sure it's a #config

76  Defined header CONFIG_FEATURE_DEVPTS from config.h doesn't take effect in 
telnetd.c
  Ok.

----------------------------------------------------------------------------
Category: would be nice, but I'm unlikely to personally fix it anytime soon,
nor would I hold up the release for this.
----------------------------------------------------------------------------

102  problem with large fdisk partitions

  Description:

    System: Familiar Linux 0.8.1 snapshot, running on an iPAQ 3955.
 
    Running Busybox's fdisk on a 1GB SD card creates a valid partition table,
    but putting a filesystem > 256MB on any partition results in Busybox's 
fdisk
    being unable to read the partition table (tested for ext2, ext3, 
reiserfs).
    Likwise, if the card is formatted on a desktop with regular GNU fdisk,
    Busybox's fdisk can't read the partition table, which shows up fine in GNU
    fdisk. The upshot is that the partitions with filesystems can't be mounted
    via Busybox. Any partitions created that are < 256MB are automounted and
    work normally, although df -h gives incorrect information. 

    Additional Information    The desktop testing system uses a SanDisk
    ImageMate reader/writer, and runs Debian "sarge" release.
 
    The exact size threshold may not be correct: I didn't try to pin down 
where
    the change occurs, but I had difficulties with partitions of 1GB, 750MB, 
and
    640MB, so it's possible the threshold is at 512MB.

  Reply:

    The current busybox fdisk needs to be thrown out and replaced, for reasons
    discussed on the list.  Patching this problem would be nice, but it needs
    a complete rewrite in 1.2 so fixing the current code is not my highest
    priority.

58  Compiling ash.c with DEBUG defined generates link error
  A) Don't do that then.
  B) I intend to reimplement the shell situation in 1.2.

465  [PATCH] Options to nc for setting DiffServ DSCP and VLAN user-priority
  It's a new feature, but small.

436  Duplicate messages suppressing
  make sure it's configurable...

403  "ifup -a" seems to ignore up/down/pre-up/pre-down 
in /etc/network/interfaces
  I don't use this, so can't easily test it.  Sounds like a $PATH problem,

421  httpd applet in non-inet mode creates zombies
  Sounds easy enough, but vodz would complain if somebody else did it.

402  httpd in inetd mode: POST from IE (6) ends up in 'cannot display page'
  IE expects the server to wait for _it_ to close the connection.  Especially
  in http 1.1 mode.  Use the same timeout you would for the start of the
  connection.

190  add proper CGI support to the busybox httpd
  Still vodz's playground.

186  HTTP responses contain LF instead of CRLF; CGI protocol violation

379  Control-C (SIGINT) is ignored or creates zombie processes
  Init needs an overhaul in 1.2.  This is unlikely to bite too many people
  between now and then.

125  Compile Busybox without MMU failed.
  Maybe.  The workaround is just to disable the failing applets, and it
  might be a uClibc issue.  It's also a bit vague what exactly they're
  asking us to _do_ about this...

---------------------------
new features, hold for 1.2:
---------------------------

505  Add support for one applet being setuid for only some users

  A) New features we haven't started on should hold off until 1.2.
  B) This would be sudo, no?

115  ifenslave

  Later.

18  Could not compile vi.c as Standalone
  A) I really don't care.
  B) "make standalone" is queued up for 1.2 for all applets, obsoletes this.


478  Three patches to Busybox 1.01
  New features.  Maybe the ping -f one is relevant to 1.1...

407  Debian's update-alternatives
  new feature.

132  Implement fork using longjmp
  New feature, and quite possibly a libc issue.

158  libbb, export it and callable from c program.
  This is queued for 1.2.

395  GNU/kFreeBSD support
  A) New feature, 1.2 material at best..
  B) Why should we care?  (What the heck is kbsd-gnu?)
  C) glibc-specific.  uClibc and newlib?
  D) Wrong way to do this, we need infrastructure for newlib, uClinux, etc.

224  Add --reverse option to run-parts
  -ENOPATCH

455  inetd may leak sockets
  Inetd is vodz's responsibility.  He did a large gratuitous shuffle of
  the code after this bug was entered, apparently to make it bigger.
  I had this flamewar already.  I'm not touching it.  Not my problem.  Bug 
vodz.

------------------------------------------------------------------------
Why are these in the bug system?  What are we supposed to do about them?
------------------------------------------------------------------------

14  ZipIt wireless IM device using Busybox-1.00-pre1
  Why is this in the bug system?  What am I supposed to do about it?
  This is not a bug in busybox, this is a bug in ZipIt.

355  ZyXEL Kernel /BusyBox GPL violation?
  Again: we fix this how?  (Put it in the hall of shame?)

154  Possible problem with ARP implementation
  Another "the kernel does ARP, not busybox" issue...

-- 
Steve Ballmer: Innovation!  Inigo Montoya: You keep using that word.
I do not think it means what you think it means.



More information about the busybox mailing list