[node-patches] Change in ovirt-node[master]: rhevh7-post: keep files in /var/lib/nfs

dougsland at redhat.com dougsland at redhat.com
Sun Oct 5 01:12:57 UTC 2014


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: rhevh7-post: keep files in /var/lib/nfs
......................................................................

rhevh7-post: keep files in /var/lib/nfs

Update /etc/rwtab to use files /var/lib/nfs to keep
all files under this dir. Without this patch, the dir
is empty and nfs related services cannot start.

Change-Id: I23772ef9b00db8e69c876d98fcbb7cf41e848175
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1095138
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M recipe/rhevh7-post.ks
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/96/33796/1

diff --git a/recipe/rhevh7-post.ks b/recipe/rhevh7-post.ks
index e2e7798..8f1c688 100644
--- a/recipe/rhevh7-post.ks
+++ b/recipe/rhevh7-post.ks
@@ -64,6 +64,10 @@
 sed -ie 's/dirs[ \t]\+\(.*puppet\)//1' /etc/rwtab
 echo "files     /var/lib/puppet" >> /etc/rwtab
 
+# bz#1095138 - replace dirs with files to keep everything below /var/lib/nfs
+sed -ie 's/dirs[ \t]\+\(.*nfs\)//1' /etc/rwtab
+echo "files     /var/lib/nfs" >> /etc/rwtab
+
 # rhbz#734478 add virt-who (*.py are removed in rhevh image)
 cat > /usr/bin/virt-who <<EOF_virt_who
 #!/bin/sh


-- 
To view, visit http://gerrit.ovirt.org/33796
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I23772ef9b00db8e69c876d98fcbb7cf41e848175
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>



More information about the node-patches mailing list