[launchd-changes] [23449] branches/SULeopard/launchd/src/launchctl.c

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 13 10:54:52 PST 2007


Revision: 23449
          http://trac.macosforge.org/projects/launchd/changeset/23449
Author:   zarzycki at apple.com
Date:     2007-11-13 10:54:51 -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:
--------------
    branches/SULeopard/launchd/src/launchctl.c

Modified: branches/SULeopard/launchd/src/launchctl.c
===================================================================
--- branches/SULeopard/launchd/src/launchctl.c	2007-11-13 18:53:47 UTC (rev 23448)
+++ branches/SULeopard/launchd/src/launchctl.c	2007-11-13 18:54:51 UTC (rev 23449)
@@ -2764,8 +2764,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/1d16d711/attachment.html


More information about the launchd-changes mailing list