[pve-devel] problem with my nexenta plugin when start vm with pve-manager, need perl help

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Tue Aug 21 14:10:52 CEST 2012


Am 21.08.2012 14:03, schrieb Alexandre DERUMIER:
> Hi,
> I have a problem with my nexenta plugin when starting vm with pve-manager.
> I didn't see the problem before, I think I also use command line during my tests.
> (Stefan do you have the problem ?)
>
> command line works fine : qm start ...
>
> but task in pve-manager exit(1) in run_command here :
>      # catch exec errors
>          if ($orig_pid != $$) {
>              warn "ERROR: $err";
>              POSIX::_exit (1);
>              kill ('KILL', $$);
>          }
>
> I have displayed the error:
> "Insecure dependency in exec while running with -T switch at /usr/share/perl/5.10/IPC/Open3.pm line 168."
>
> Command line generated is same , command line or pve-manager...
>
> the nexenta drive add this specific line, but if don't see anything special.
>
> -drive file=iscsi://10.6.0.38/iqn.1986-03.com.sun:02:7971f46d-bd0e-6289-9240-8090b5b2be9a/6,if=none,id=drive-virtio1,aio=native

My test equipment won't be available before thursday ;-( So i can't test 
right now.

Perl does security checks when it runs as root and tries to distinguish 
if there parameters passed directly to Open3 without any syntax checking.

Stefan


More information about the pve-devel mailing list