Re: bash doesn't act like mksh at all

2011-03-05 Thread Sven Mascheck
On Mon, Feb 28, 2011 at 07:47:12AM -0430, Andres Perera wrote: > unquoted assignments should not apply IFS to $@ BTW, out of plain curiosity http://www.in-ulm.de/~mascheck/various/ifs/ lists some existing implementations.

Re: vzctl enter hangs

2011-03-05 Thread Henk van de Kamer
> This is normal. Readline is trying to read input. May be normal, but then please explain why Bash 4.1 patchlevel 009 works and Bash 4.2 patchlevel 6 don't. If I downgrade the virtual container it works again. So the only change is Bash and until proven otherwise that is in my humble opinion the

Re: vzctl enter hangs

2011-03-05 Thread Dmitry V. Levin
On Fri, Mar 04, 2011 at 08:59:30AM +0100, Henk van de Kamer wrote: > > That says nothing about what the child process does. > > Correct, but that is as far as I get with my knowledge :-). Please enlighten yourself as on how to trace child processes, by reading strace(1) manual page. -- ldv p

ulimit bug

2011-03-05 Thread Sergey Zhumatiy
Hello! I just had discover (on my back) ulimit command bug. There is "resident set" limit, which is set in PAGES. But ulimit command shows it as kBytes. On by system page size size is 4Kb, so difference is four times... Simple test (using raw getrlimit call) shows, that ulimit sets and

Re: ulimit bug

2011-03-05 Thread Dmitry V. Levin
Hi, On Sat, Mar 05, 2011 at 03:36:39PM +0300, Sergey Zhumatiy wrote: > Hello! > > I just had discover (on my back) ulimit command bug. > There is "resident set" limit, which is set in PAGES. But ulimit > command shows it as kBytes. On by system page size size is 4Kb, so > difference is fo

Re: ulimit bug

2011-03-05 Thread Chet Ramey
On 3/5/11 2:36 PM, Dmitry V. Levin wrote: > Hi, > > On Sat, Mar 05, 2011 at 03:36:39PM +0300, Sergey Zhumatiy wrote: >> Hello! >> >> I just had discover (on my back) ulimit command bug. >> There is "resident set" limit, which is set in PAGES. But ulimit >> command shows it as kBytes. On by

Re: vzctl enter hangs

2011-03-05 Thread Chet Ramey
On 3/5/11 9:50 AM, Henk van de Kamer wrote: >> This is normal. Readline is trying to read input. > > May be normal, but then please explain why Bash 4.1 patchlevel 009 works > and Bash 4.2 patchlevel 6 don't. If I downgrade the virtual container it > works again. So the only change is Bash and un