Re: vzctl enter hangs

2011-03-16 Thread Henk van de Kamer
> That's what I got, and the strace points the finger at vzctl. It looks > like a bug in vzctl that was masked by bash-4.1 and previous versions. Thanks for the investigation. It is always difficult when two packages are working together and changing one of them breaks the cooperation :-). > Mic

Re: vzctl enter hangs

2011-03-16 Thread Henk van de Kamer
> Michael Kalisz opened a bug report with the openvz group. And the OpenVZ guys have just released a patch: http://bugzilla.openvz.org/show_bug.cgi?id=1812 I've tested it and the problem is solved. Thanks again for the help and of course all the efforts you put in this project! -- Henk van de

Problem with open and rm

2011-03-16 Thread Barrie Stott
The script that follows is a cut down version of one that came from elsewhere. #!/bin/bash cp /tmp/x.html /tmp/$$.html ls /tmp/$$.html [ "$DISPLAY" ] && open /tmp/$$.html ls /tmp/$$.html rm -f /tmp/$$.html I'm on an Imac with OS X 10.6.6. If I run the script as it stands, the open tries to open

Re: Problem with open and rm

2011-03-16 Thread Micah Cowan
(03/16/2011 03:54 AM), Barrie Stott wrote: > The script that follows is a cut down version of one that came from elsewhere. > > #!/bin/bash > > cp /tmp/x.html /tmp/$$.html > ls /tmp/$$.html > [ "$DISPLAY" ] && open /tmp/$$.html > ls /tmp/$$.html > rm -f /tmp/$$.html > > I'm on an Imac with OS X

Re: Problem with open and rm

2011-03-16 Thread Greg Wooledge
On Wed, Mar 16, 2011 at 10:54:15AM +, Barrie Stott wrote: > The script that follows is a cut down version of one that came from elsewhere. > > #!/bin/bash > > cp /tmp/x.html /tmp/$$.html > ls /tmp/$$.html > [ "$DISPLAY" ] && open /tmp/$$.html > ls /tmp/$$.html > rm -f /tmp/$$.html > If I com

Re: Problem with open and rm

2011-03-16 Thread Ken Irving
On Wed, Mar 16, 2011 at 10:54:15AM +, Barrie Stott wrote: > The script that follows is a cut down version of one that came from elsewhere. > > #!/bin/bash > > cp /tmp/x.html /tmp/$$.html > ls /tmp/$$.html > [ "$DISPLAY" ] && open /tmp/$$.html > ls /tmp/$$.html > rm -f /tmp/$$.html > > I'm on

Re: Problem with open and rm

2011-03-16 Thread Eric Blake
On 03/16/2011 04:54 AM, Barrie Stott wrote: > The script that follows is a cut down version of one that came from elsewhere. > > #!/bin/bash > > cp /tmp/x.html /tmp/$$.html > ls /tmp/$$.html > [ "$DISPLAY" ] && open /tmp/$$.html > ls /tmp/$$.html > rm -f /tmp/$$.html Instead of passing Safari th

Re: Problem with open and rm

2011-03-16 Thread Bob Proulx
Barrie Stott wrote: > The script that follows is a cut down version of one that came from > elsewhere. Thank you for your bug report but neither 'open' nor 'rm' have anything to do with bash. This is not a bug in the bash shell. This mailing list is for bug reports in the bash shell. > cp /tmp/