[BusyBox 0001016]: mount -a crashing

bugs at busybox.net bugs at busybox.net
Fri Sep 29 14:29:56 UTC 2006


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1016 
====================================================================== 
Reported By:                rockeychu
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1016
Category:                   Other
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             09-02-2006 21:13 PDT
Last Modified:              09-29-2006 07:29 PDT
====================================================================== 
Summary:                    mount -a crashing
Description: 
With recent SVN version, "mount -a" can't work, causing can't ssh on my
system.
when checking mount.c, the problem is corrected by following patch:

<pre>
--- mount.c_org 2006-09-02 17:59:27.000000000 +0800
+++ mount.c     2006-09-03 11:48:54.000000000 +0800
@@ -513,8 +513,8 @@
                fstabname = bb_path_mtab_file;
        else fstabname="/etc/fstab";

-       storage_path = bb_simplify_path(argv[optind]);
-
+       if(argv[optind])
+               storage_path = bb_simplify_path(argv[optind]);
        if (!(fstab=setmntent(fstabname,"r")))
                bb_perror_msg_and_die("Cannot read %s",fstabname);
</pre>
====================================================================== 

---------------------------------------------------------------------- 
 vda - 09-29-06 07:29  
---------------------------------------------------------------------- 
>From the code inspection current SVN has this fixed 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-02-06 21:13  rockeychu      New Issue                                    
09-02-06 21:13  rockeychu      Status                   new => assigned     
09-02-06 21:13  rockeychu      Assigned To               => BusyBox         
09-29-06 07:29  vda            Status                   assigned => closed  
09-29-06 07:29  vda            Note Added: 0001651                          
======================================================================




More information about the busybox-cvs mailing list