https://bugzilla.novell.com/show_bug.cgi?id=242047 Summary: boot.rootfsck sometimes fails to obey /forcefsck Product: SUSE Linux 10.1 Version: Final Platform: i586 OS/Version: SuSE Linux 10.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jimc@math.ucla.edu QAContact: qa@suse.de When the /forcefsck file is present, /etc/init.d/boot.rootfsck and boot.localfs are supposed to use the -f switch when checking filesystems, causing a complete check to be performed. But to do this, boot.rootfsck has to remount the root filesystem readonly. Intermittently the remount fails (and therefore the check does not happen) because something has files open for writing in the root. It turns out that the culprit is modprobe. /sbin/udevsettle (in boot.udev) waits until no further events need to be dispatched, but the last event(s) may still be in progress (driver being loaded) when it exits. The *real* fix would be in udevsettle, but I've attached a simple patch that retries the remount several times -- up to 10 seconds, though I've seen at most 2 seconds delay needed. The patch also includes code to recognize a boot parameter of "forcefsck", and for completeness I've also included the corresponding patch for boot.localfs. This is in the nature of a feature improvement, but I've found it to be very convenient in system administration. You can include or toss this part according to policy. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.