Bug 49447 - Bind-mounted root fs not safely handled on shutdown
Summary: Bind-mounted root fs not safely handled on shutdown
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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

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.