chiark / gitweb /
shutdown: recursively mark root as private before pivot
authorDave Reisner <dreisner@archlinux.org>
Fri, 10 Aug 2012 15:02:03 +0000 (11:02 -0400)
committerLennart Poettering <lennart@poettering.net>
Fri, 10 Aug 2012 15:59:33 +0000 (17:59 +0200)
commit4bfa638d43c05e8db052cd55818765bb3575a405
treeac91645a5a8df206365422730fbb382ed211b882
parent8e4e8df5ea6bdb93ed67a0340ac711acc39d5193
shutdown: recursively mark root as private before pivot

Because root is now recursively marked as shared on bootup, we need to
recursively mark root as private. This prevents a pivot_root failure on
shutdown:

  Cannot finalize remaining file systems and devices, giving up.
  pivot failed: Invalid argument
src/core/shutdown.c