[launchd-changes] [23448] trunk/launchd/src/launchctl.c

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 13 10:53:49 PST 2007


Revision: 23448
          http://trac.macosforge.org/projects/launchd/changeset/23448
Author:   zarzycki at apple.com
Date:     2007-11-13 10:53:47 -0800 (Tue, 13 Nov 2007)

Log Message:
-----------
<rdar://problem/5567165> SULeoNext: do not stop boot if fsck_hfs repair fails on journaled boot volume

Modified Paths:
--------------
    trunk/launchd/src/launchctl.c

Modified: trunk/launchd/src/launchctl.c
===================================================================
--- trunk/launchd/src/launchctl.c	2007-10-30 21:41:05 UTC (rev 23447)
+++ trunk/launchd/src/launchctl.c	2007-11-13 18:53:47 UTC (rev 23448)
@@ -2763,8 +2763,11 @@
 		goto out;
 	}
 
-	fprintf(stderr, "fsck failed! Leaving the root file system read-only...\n");
+	fprintf(stderr, "fsck failed!\n");
 
+	/* someday, we should keep booting read-only, but as of today, other sub-systems cannot handle that scenario */
+	assumes(reboot(RB_HALT) != -1);
+
 	return;
 out:
 	/* 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20071113/a3d49b35/attachment.html


More information about the launchd-changes mailing list