Re: [pve-devel] [PATCH v2 storage] fix insecure migration failing if waiting on lock

2024-04-16 Thread Fiona Ebner
Am 16.04.24 um 13:45 schrieb Mira Limbeck: > + my $handle_insecure_migration = sub { > + my $line = shift; > + > + if (!$ip) { > + ($ip) = $line =~ /^($PVE::Tools::IPRE)$/ # untaint > + or die "no tunnel IP received, got

[pve-devel] [PATCH v2 storage] fix insecure migration failing if waiting on lock

2024-04-16 Thread Mira Limbeck
both STDOUT and STDERR are written into `$info` which is then parsed for IP and port of the target socket listening. when the ports file can't be locked immediately `trying to acquire lock...` is printed on STDERR and in turn written into `$info`. trying to parse the IP then fails, resulting in a