From 5f68da7769ac4b431c68234467f3bdedc36911fe Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Feb 17 2014 09:29:51 +0000 Subject: import hyperv-daemons-0-0.24.20130826git.el7.src.rpm --- diff --git a/SOURCES/hypervvssd-0-ignore-VFAT-mounts.patch b/SOURCES/hypervvssd-0-ignore-VFAT-mounts.patch new file mode 100644 index 0000000..156ee02 --- /dev/null +++ b/SOURCES/hypervvssd-0-ignore-VFAT-mounts.patch @@ -0,0 +1,29 @@ +From f33b215549938f89aebf862b942366d2aa41c191 Mon Sep 17 00:00:00 2001 +From: K. Y. Srinivasan +Date: Wed, 12 Feb 2014 16:40:22 +0000 +Subject: Tools: hv: vssdaemon: Ignore VFAT mounts during the Freeze operation + +If the guest has a FAT file system mounted, skip it during the FREEZE +operation. With this change we can support host initiated backup of +the guest even when the guest may have FAT file systems mounted. + +Signed-off-by: K. Y. Srinivasan +Signed-off-by: Greg Kroah-Hartman +--- +(limited to 'tools/hv/hv_vss_daemon.c') + +diff --git a/tools/hv/hv_vss_daemon.c b/tools/hv/hv_vss_daemon.c +index 520de3304..6a213b8 100644 +--- a/tools/hv/hv_vss_daemon.c ++++ b/tools/hv/hv_vss_daemon.c +@@ -87,6 +87,8 @@ static int vss_operate(int operation) + continue; + if (strcmp(ent->mnt_type, "iso9660") == 0) + continue; ++ if (strcmp(ent->mnt_type, "vfat") == 0) ++ continue; + if (strcmp(ent->mnt_dir, "/") == 0) { + root_seen = 1; + continue; +-- +cgit v0.9.2 diff --git a/SPECS/hyperv-daemons.spec b/SPECS/hyperv-daemons.spec index 9ade6e1..a0120ea 100644 --- a/SPECS/hyperv-daemons.spec +++ b/SPECS/hyperv-daemons.spec @@ -9,7 +9,7 @@ Name: hyperv-daemons Version: 0 -Release: 0.21%{?snapver}%{?dist} +Release: 0.24%{?snapver}%{?dist} Summary: HyperV daemons suite Group: System Environment/Daemons @@ -59,6 +59,8 @@ Patch3: hypervkvpd-0-dont_call_deamon.patch Patch100: hypervvssd-0-fix_includes.patch # Remove daemon() call and let systemd handle it Patch101: hypervvssd-0-dont_call_daemon.patch +# rhbz#1064094 +Patch102: hypervvssd-0-ignore-VFAT-mounts.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # HyperV is available only on x86 architectures @@ -135,6 +137,7 @@ cp -pvL %{SOURCE101} hypervvssd.service %patch100 -p1 -b .include %patch101 -p1 -b .daemon +%patch102 -p3 -b .vfat %build @@ -207,6 +210,8 @@ fi %preun -n hypervvssd %systemd_preun hypervvssd.service +%files +# the base package does not contain any files. %files -n hypervkvpd %{_sbindir}/%{hv_kvp_daemon} @@ -223,6 +228,15 @@ fi %doc COPYING %changelog +* Mon Feb 17 2014 Tomas Hozza - 0-0.24.20130826git +- VSS: Ignore VFAT mounts on freeze/thaw (#1064094) + +* Fri Jan 10 2014 Tomas Hozza - 0-0.23.20130826git +- Provide 'hyperv-daemons' package for convenient installation of all daemons (#1051450) + +* Fri Dec 27 2013 Daniel Mach - 0-0.22.20130826git +- Mass rebuild 2013-12-27 + * Thu Sep 26 2013 Tomas Hozza - 0-0.21.20130826git - Use 'hypervkvpd' directory in libexec for KVP daemon scripts (#1010280) - daemons are now WantedBy multi-user.target instead of basic.target (#1010284)