Commit Graph

87 Commits

Author SHA256 Message Date
7259a4ff7b - hv: hypervvssd: call endmntent before call setmntent again
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=112
2015-04-30 11:26:11 +00:00
a4562a9fe2 - Add runlevel script for fcopy daemon in SLE11 (bnc#926534)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=110
2015-04-16 15:24:21 +00:00
ad20da1c5b Correct fate number 317533
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=108
2015-01-20 09:10:58 +00:00
d64924508d - Check return value of setsockopt call
- Improve error logging in VSS daemon.
- Check return value of poll call
- Properly pack the data for file copy functionality
- make struct hv_do_fcopy match Hyper-V host messages

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=107
2015-01-12 09:44:54 +00:00
7b2647052e Also Require network-online.target because its not available by its own.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=105
2014-12-17 09:43:44 +00:00
0828342e93 - Start hv_kvp_daemon after network-online.target (bnc#910353)
- ignore ENOBUFS and ENOMEM in the KVP daemon
- vssdaemon: skip all filesystems mounted readonly (bnc#909864)
- vssdaemon: report freeze errors

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=104
2014-12-17 09:16:59 +00:00
6711c225d8 - introduce -n/--no-daemon option (fate#317317533)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=102
2014-11-25 17:47:19 +00:00
8d7473e78f Accepting request 260496 from home:Ledest:misc
fix bashisms in pre/post scripts

OBS-URL: https://build.opensuse.org/request/show/260496
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=100
2014-11-11 11:07:45 +00:00
01f62d3137 - vssdaemon: ignore the EBUSY on multiple freezing the same
partition (bnc#899204)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=98
2014-09-30 15:41:48 +00:00
ba2f9d8b1f - fix file overwriting of hv_fcopy_daemon
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=96
2014-07-01 15:33:06 +00:00
419a3fa06f - copy mask2pfxlen from /etc/sysconfig/network/scripts/functions
to hv_set_ifconfig (bnc#879256)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=94
2014-05-26 13:51:55 +00:00
a50ee553aa - Start hyper-v helpers manually with helper script in inst-sys
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=93
2014-05-21 10:06:32 +00:00
8476439df4 - Handle the case when the target file exists correctly in hv_fcopy_daemon
- vssdaemon: Ignore VFAT mounts during the Freeze operation

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=91
2014-04-10 17:21:32 +00:00
20a13b1bdf - Package /usr/lib/udev to fix build error
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=89
2014-03-12 13:37:54 +00:00
041fbde687 - Update hv_fcopy_daemon, kernel name changed to /dev/vmbus/hv_fcopy
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=87
2014-02-12 09:33:38 +00:00
e057412d0a hyper-v.tools.hv.hv_fcopy_daemon.c
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=85
2014-01-27 14:44:11 +00:00
94c31de49b provide private uuid_le type to fix sles11 build
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=84
2014-01-23 16:45:34 +00:00
13b3a21a90 hv_fcopy_daemon needs uuid.h, work around sles11 failure
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=83
2014-01-23 16:37:21 +00:00
2273a54793 - Start daemons on demand via udev rules because the guest services
are optional.
- If systemd is used daemons live in libdir, they are not usercallable apps

- Add hv_fcopy_daemon for post 13.1 releases (fate#315887)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=82
2014-01-23 16:05:49 +00:00
c462528d4c - Use native systemd services for post 13.1 releases
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=80
2013-12-18 14:50:03 +00:00
b861e778d1 Use helper_dir macro
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=79
2013-12-17 22:37:20 +00:00
34ff46c7f7 - Update Supplements: modalias(dmi:*)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=77
2013-09-08 08:36:55 +00:00
568809738a Another attempt without %3A
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=76
2013-09-07 13:36:50 +00:00
3289a4f6c9 missing wildcard at beginning
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=75
2013-09-05 06:25:20 +00:00
02372910e4 Another attempt, simple %3A
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=74
2013-09-04 21:10:51 +00:00
9a06cc59d2 try %3A as suggested by ma
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=73
2013-09-04 17:12:23 +00:00
357a89a6b3 - Update Supplements: modalias(dmi*), fewer * may work better
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=72
2013-09-04 15:34:24 +00:00
dee84617df - Skip restart_on_update with old hyper-v.rpms while old
kernel is running (bnc#770763)

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=70
2013-08-12 14:56:57 +00:00
efc1b8047e - cache FQDN in kvp_daemon to avoid timeouts (bnc#828714)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=68
2013-08-07 17:37:54 +00:00
f4e9f3f425 - cache FQDN in kvp_daemon to avoid timeouts
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=67
2013-08-07 17:12:54 +00:00
18c1b296af - use full nlmsghdr in netlink_send
- correct payload size in netlink_send
- use single send+recv buffer
- log errors to syslog in kvp_set_ip_info
- check return value of system in hv_kvp_daemon
- in kvp_set_ip_info free mac_addr right after usage
- check return value of daemon to fix compiler warning.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=66
2013-08-07 13:55:15 +00:00
d22cc8ce10 - Fix send/recv buffer allocation (bnc#828714)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=64
2013-08-01 12:26:23 +00:00
09e12a20a4 - Double the size of kvp_send_buffer, for current struct hv_kvp_msg
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=63
2013-08-01 11:50:51 +00:00
ea11bf351a - set BOOTPROTO=static if any IPADDR/IP6ADDR was passed to
hv_set_ifconfig and dhcp is disabled

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=61
2013-07-24 08:19:48 +00:00
d58ac4b8e0 - update hv_kvp_daemon (merge 0783d72fa from v3.9-rc1)
Fix how ifcfg-* file is created

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=59
2013-07-15 14:17:26 +00:00
1051dacf7e - update hv_kvp_daemon (changes up to 3.11-rc1):
Improve error logging in KVP daemon.
  Fix file descriptor leaks
  Check retrun value of strchr call
  Check return value of poll call
  Check return value of setsockopt call
  daemon should check type of received Netlink msg
  daemon setsockopt should use options macros
  daemon should subscribe only to CN_KVP_IDX group

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=58
2013-07-15 14:11:35 +00:00
727d8197fc - Fix a bug in IPV6 subnet enumeration (bnc#828714)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=57
2013-07-15 10:04:35 +00:00
8eff0a9f9e - Update hv_vss_daemon (bnc#811033)
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=56
2013-03-26 17:06:22 +00:00
906e78cd04 - add hv_vss_daemon (fate#314921)
helper to support host initiated backup

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=55
2013-03-22 16:24:55 +00:00
d6d5232591 - build hv_kvp_daemon with -D_GNU_SOURCE to get O_CLOEXEC
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=54
2013-03-22 15:58:18 +00:00
04cc92c36e - update hv_kvp_daemon
Use CLOEXEC when opening kvp_pool files
  Fix permissions of created directory and files
  Fix /var subdirectory (move state files from /var/opt to /var/lib)
  Fix string types

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=53
2013-03-22 15:49:02 +00:00
7d052ac13f - Netlink source address validation allows DoS [bnc#791605, CVE-2012-5532]
- check origin of netlink messages, use recvfrom() [bnc#761200, CVE-2012-2669]

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=51
2012-11-28 13:15:52 +00:00
d674960706 - Netlink source address validation allows DoS [bnc#791605]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=50
2012-11-28 09:26:39 +00:00
8480d2a167 - update hv_set_ifconfig, use single index for static ipv4/ipv6 [bnc#790469]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=49
2012-11-27 10:20:18 +00:00
d9e9558049 remove -o hotplug from ifup/ifdown call [bnc#790469]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=48
2012-11-25 16:52:32 +00:00
699250925a update comment
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=47
2012-11-23 19:52:43 +00:00
df04378625 more updates
- update hv_set_ifconfig further to work with our ifcfg [bnc#790469]

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=46
2012-11-23 19:50:20 +00:00
aff955d3ed - update hv_set_ifconfig further to work with our ifcfg [bnc#790469]
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=45
2012-11-23 15:01:29 +00:00
42570cdfd6 - update hv_get_dhcp_info to work with our ifcfg [bnc#790469]
- remove cat usage from hv_get_dns_info
- add quoting to hv_set_ifconfig to make it more robust

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=44
2012-11-22 17:16:30 +00:00
dad8c5cef7 drop also obsolete hyper-v.dummy_ko.c after kmp removal
OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=43
2012-11-14 13:53:26 +00:00