From 013b2208f20d1b7ce0b894fc54a41980c0afc62f Mon Sep 17 00:00:00 2001
From: Douglas Schilling Landgraf <dougsland@redhat.com>
Date: Wed, 20 Jun 2012 15:48:03 -0400
Subject: [PATCH 18/19] BZ#832577: node can't be approved
Because of ovirt-node's readonly filesystem, directory creation at runtime has to be handled carefully.
/rhev/data-center used to be created by the vdsm rpm when it is installed.
It's now listed in vdsm.spec as %ghost which means it is *not* laid down by default.
At runtime, it fails to be created because of the read-only filesystem.
Regression introduced by commit ee1e68d3416d8fd728df75c0a41dd3db48f9138d
Patch provided by: Mike Burns <mburns@redhat.com>
Change-Id: I3818661c886118d34620e5308434e57bad92913f
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Reviewed-on: http://gerrit.ovirt.org/5567
Reviewed-by: Dan Kenigsberg <danken@redhat.com>
Tested-by: Dan Kenigsberg <danken@redhat.com>
---
vdsm.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vdsm.spec.in b/vdsm.spec.in
index c567e65..3fd404e 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -500,7 +500,7 @@ exit 0
/lib/systemd/systemd-vdsmd
%{_unitdir}/vdsmd.service
%endif
-%ghost %dir %attr(-, %{vdsm_user}, %{vdsm_group}) @vdsmrepo@
+%dir %attr(-, %{vdsm_user}, %{vdsm_group}) @vdsmrepo@
%ghost %dir %attr(-, %{vdsm_user}, %{vdsm_group}) @vdsmrepo@/hsm-tasks
%ghost %dir %attr(-, %{vdsm_user}, %{vdsm_group}) @vdsmrepo@/mnt
%dir %{_libexecdir}/%{vdsm_name}
--
1.7.10.2