> > Where does the redirection go? Inside the quoted
> command or for zlogin?
> > zlogin -l gbuild big-zone "the_command </dev/null"
> > zlogin -l gbuild big-zone "the_command" </dev/null
> 
> The second one.
My command is now:
zlogin -l gbuild big-zone ". /jds/cbe/bin/env.sh; cd /jds/spec-files; pkgtool 
uninstall-pkgs *.spec" </dev/null
(with '</dev/null' piped to zlogin) but it hangs too.

The process is:
gbuild  5421  5409   0 10:49:01 ?           0:55 /usr/bin/perl -I 
/jds/cbe/lib/pkgbuild-1.2.0 /jds/cbe/lib/pkgbuild-1.2.0/pkgtoo

# pstack 5421
5421:   /usr/bin/perl -I /jds/cbe/lib/pkgbuild-1.2.0 /jds/cbe/lib/pkgbuild-1.2
 ff14612c write    (1, 446fc4, 29)
 ff11c0c0 _fflush_u (ff197694, 446fed, 0, 0, a, 0) + 9c
 ff11be78 fflush   (ff197694, 2000, 767f4, 0, 0, ff197694) + 5c
 ff26f928 PerlIOStdio_flush (0, 0, 0, 2af18, 0, 401200) + 18
 ff26d57c Perl_PerlIO_flush (2c750, e8483160, 800000, 2000050b, d4ad0, 169cc88) 
+ 50
 ff26d5e4 Perl_PerlIO_flush (0, 0, 2c750, 2, d4ad0, 2af18) + b8
 ff321f64 Perl_my_popen (16870d0, ff34908c, 10400, 200c8, 14c00, ff342000) + 30
 ff2aef54 Perl_pp_backtick (ff34908c, 80, 7000, ff342000, 244dc, 244b0) + 178
 ff2dd4cc Perl_runops_standard (4fc, 400, ff34c160, 64b9c, 244b0, ff34c18c) + 6c
 ff26464c S_run_body (400, ff352586, ff354d60, ff342000, ff3548fc, 342420) + 20c
 ff2641bc perl_run (24500, 0, 75, ffbff00c, ff342000, ff342000) + 338
 00011954 main     (75, ffbff00c, 0, 0, 24400, 24400) + 8c
 000114a8 _start   (0, 0, 0, 0, 0, 0) + 108

# truss -p 5421
write(1, 0x00446FC4, 41)        (sleeping...)

If someone inside Sun would like to poke around the machine (it's in Dublin), I 
can provide the login details.
 
 
This message posted from opensolaris.org
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to