[node-patches] Change in ovirt-node[master]: centos7/rhevh7 post file: Add /var/lib/rpm into rwtab

dougsland at redhat.com dougsland at redhat.com
Wed Nov 4 18:05:47 UTC 2015


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: centos7/rhevh7 post file: Add /var/lib/rpm into rwtab
......................................................................

centos7/rhevh7 post file: Add /var/lib/rpm into rwtab

systemd-tmpfiles-setup service requires access to /var/lib/rpm.
Otherwise the service fail to start.

Change-Id: I1cd691d4711c3a57ad2631c22ca82e5a5e658122
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M recipe/centos7-post.ks
M recipe/rhevh7-post.ks
2 files changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/89/48089/1

diff --git a/recipe/centos7-post.ks b/recipe/centos7-post.ks
index 71a39a1..a78a0da 100644
--- a/recipe/centos7-post.ks
+++ b/recipe/centos7-post.ks
@@ -181,6 +181,9 @@
 sed -ie '/dirs[ \t].*nfs/ d' /etc/rwtab
 echo "files     /var/lib/nfs" >> /etc/rwtab
 
+# systemd-tmpfiles-setup service requires access to /var/lib/rpm
+echo "files     /var/lib/rpm" >> /etc/rwtab
+
 # set maxlogins to 3
 echo "*        -       maxlogins      3" >> /etc/security/limits.conf
 
diff --git a/recipe/rhevh7-post.ks b/recipe/rhevh7-post.ks
index 304ed45..2dce165 100644
--- a/recipe/rhevh7-post.ks
+++ b/recipe/rhevh7-post.ks
@@ -182,6 +182,9 @@
 sed -ie '/dirs[ \t].*nfs/ d' /etc/rwtab
 echo "files     /var/lib/nfs" >> /etc/rwtab
 
+# systemd-tmpfiles-setup service requires access to /var/lib/rpm
+echo "files     /var/lib/rpm" >> /etc/rwtab
+
 if [ ! -z $cmd_who ]; then
    cat > /usr/bin/virt-who <<EOF_virt_who
 #!/bin/sh


-- 
To view, visit https://gerrit.ovirt.org/48089
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1cd691d4711c3a57ad2631c22ca82e5a5e658122
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