[pve-devel] [PATCH] prevent the use of AI_ADDRCONFIG

2015-05-20 Thread Wolfgang Bumiller
perl's IO::Socket::IP passes this if no GetAddrInfoFlags are passed, which is often useful but also causes it to error when explicitly trying to bind to 127.0.0.1 when there are no _other_ IPv4 addresses present. --- src/PVE/Daemon.pm | 1 + src/PVE/Tools.pm | 3 ++- 2 files changed, 3

[pve-devel] Grub problems and ZFS

2015-05-20 Thread Michael Rasmussen
Hi all, I might have found the cause for the sometimes failing grub install. As I updated the grub packages today I discovered very extended install time for the grub package which was related to the post-install script. The script ran for several minuttes and while running consuming a full core

Re: [pve-devel] [PATCH 2/2] allow ipv6 addresses in Storage::verify_server

2015-05-20 Thread Wolfgang Bumiller
Sorry, forgot to test the style change... sending an updated patch... ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH 0/2] updated storage patches (this time tested ; -) )

2015-05-20 Thread Wolfgang Bumiller
verify_server as earlier but with the missing closing paren... (sorry about that again) And additionally the NFS plugin needs to wrap IPv6 addresses in square brackets. (And quote them in the regex otherwise they are treated as character classes.) Also: NFS uses rpcinfo to check whether an NFS

[pve-devel] [PATCH 2/2] NFSPlugin: deal with ipv6 addresses and fix regexps

2015-05-20 Thread Wolfgang Bumiller
NFS needs brackets around ipv6 addresses. Also: nfs_is_mounted needs to quote the variables. This becomes apparent when ipv6 addresses are used as then the address would otherwise be treated as a character class, causing the check to always fail. --- PVE/Storage/NFSPlugin.pm | 5 - 1 file