Bug 49447 - Bind-mounted root fs not safely handled on shutdown
Bind-mounted root fs not safely handled on shutdown
Status: RESOLVED FIXED
Product: systemd
Classification: Unclassified
Component: general
unspecified
All Linux (All)
: medium normal
Assigned To: Lennart Poettering
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-03 13:45 UTC by Daniel Drake
Modified: 2012-07-06 14:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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