Zdenek Behan e28239d294 enter_chroot: introduce a sync process that synchronizes given files between chroot and host
Currently used for resolv.conf and hosts, because these files can
change during the lifetime of a chroot, for example on computers
with more dynamic network (laptops).

While this creates a persistent process in the background for the
sole purpose of syncing files, the performance impact is negligible.

BUG=12316
TEST=below
1) enter_chroot once+quit, many times + quit, verify correct exit
behaviour
2) enter_chroot, modify host resolv.conf, see chroot being updated

Change-Id: I26573570c027acc2c214a00838a6f982a7585b13

R=robotboy@chromium.org,dparker@chromium.org,sosa@chromium.org

Review URL: http://codereview.chromium.org/6720005
2011-04-07 00:37:20 +02:00
2011-03-29 12:55:32 -07:00
2010-09-09 14:25:33 -07:00
2011-02-24 13:02:52 +03:00
2011-03-21 18:56:04 -07:00
2011-03-21 18:56:04 -07:00
Description
image build and composition scripts for Flatcar Container Linux
BSD-3-Clause 165 MiB
Languages
Shell 93.1%
Python 6.9%