Union file system is killed when shutting down (SQUASHFS errors)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: casper
I was debugging a shutdown issue on a system where there was a ntfs recovery partition on the disk. That is, a casper system and a ubiquity install on, say, /dev/sda1.
One thing I noticed is that I was getting all sorts of crazy SQUASHFS errors on shutdown, appearing shortly after Ubuntu turned swap off.
However, I believe it was because /etc/rc6.
diff -Nru casper-
--- casper-
+++ casper-
@@ -487,6 +487,10 @@
fi
break
done
+
+ # Protect the union and any possible ntfs backing from shutdown
+ pgrep ${UNIONFS} >> /var/run/
+ pgrep mount.ntfs >> /var/run/
}
check_dev ()
tags: | added: oem-services |
Marking as Invalid because aufsd and overlayfsd are kernel threads and as such aren't killable so don't need to be explicitly protected.
As for the ntfs mount, the standard shutdown sequence should be syncing and unmounting all filesystems, I don't see why we should be special casing this one.