[BusyBox 0001016]: mount -a crashing
bugs at busybox.net
bugs at busybox.net
Sun Sep 3 04:13:39 UTC 2006
The following issue has been SUBMITTED.
======================================================================
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: assigned
======================================================================
Date Submitted: 09-02-2006 21:13 PDT
Last Modified: 09-02-2006 21:13 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>
======================================================================
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
======================================================================
More information about the busybox-cvs
mailing list