[node-patches] Change in ovirt-node[master]: mount only files and directories listed in /etc/files
mburns at redhat.com
mburns at redhat.com
Thu Oct 4 15:34:38 UTC 2012
Michael Burns has submitted this change and it was merged.
Change subject: mount only files and directories listed in /etc/files
......................................................................
mount only files and directories listed in /etc/files
Previously, we scanned /config for all files and bind mounted
the files directly. This lead to some inconsistencies between
reboots. A file that is persisted because it's parent directory
is persisted in bind mounted directly after a reboot rather than
it's parent directory. This causes problems with tools like
unlink or rename that can't access the file when it's bind
mounted.
Also, a directory that is persisted with no files inside would
end up not being created/bind-mounted on reboot
rhbz#860279
Change-Id: I6dce8d619b8a6a51d636974eb34141f8aac9bae7
Signed-off-by: Mike Burns <mburns at redhat.com>
---
M scripts/ovirt-functions.in
1 file changed, 5 insertions(+), 6 deletions(-)
Approvals:
Michael Burns: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/8317
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6dce8d619b8a6a51d636974eb34141f8aac9bae7
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Michael Burns <mburns at redhat.com>
Gerrit-Reviewer: Alan Pevec <apevec at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Joey Boggs <jboggs at redhat.com>
Gerrit-Reviewer: Michael Burns <mburns at redhat.com>
More information about the node-patches
mailing list