Bug 49447

Summary: Bind-mounted root fs not safely handled on shutdown
Product: systemd Reporter: Daniel Drake <dan>
Component: generalAssignee: Lennart Poettering <lennart>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Daniel Drake 2012-05-03 13:45:10 UTC
OLPC runs / as a bind-mount for reasons explained here:
http://lists.freedesktop.org/archives/systemd-devel/2012-April/004961.html

The code in umount.c (systemd-44, git as of today) currently skips bind mounts and we're not sure why.

This means that / is left mounted RW on shutdown and we experience some disk corruption here and there.

Patch:
http://lists.freedesktop.org/archives/systemd-devel/2012-April/005025.html
Comment 1 Daniel Drake 2012-07-06 14:46:10 UTC
Fixed in commit 7c49259fc8f63ade6cb212a43477d7030aaaf423

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.