OpenVZ Forum


Home » Mailing lists » Users » -bash: child setpgid (7091 to 8093): Operation not permitted
Re: -bash: child setpgid (7091 to 8093): Operation not permitted [message #5134 is a reply to message #5117] Mon, 14 August 2006 08:51 Go to previous messageGo to previous message
Mishin Dmitry is currently offline  Mishin Dmitry
Messages: 112
Registered: February 2006
Senior Member
Vincent,

Could you try newer kernel?
http://software.opensuse.org/download/home:/openvz/SUSE_Linu x_10.1/i586/

Please, report if bug still exist.

On Friday 11 August 2006 17:27, Vincent van Gelder wrote:
> Hi,
>
> Sometimes when I login at a openvz virtual private server using ssh, I
> get this message:
> Have a lot of fun...
> -bash: child setpgid (10836 to 11837): Operation not permitted
>
> Now when I use a command like `ls` (a non bash built-in command), bash
> terminates.
> When I use a bash built-in command like `echo 'foobar'` I get the same
> message again:
> $ echo foobar
> foobar
> -bash: child setpgid (10836 to 11837): Operation not permitted
>
> When I start a new bash shell, inside this shell I'm getting the
> hostname from the physical machine instead of the virtual machine and
> also getting the ip address from the physical machine. The process list
> however is from the virtual machine.
>
> this is a piece from ps on the physical machine
> # ps -eo pid,ppid,pgid,user,lstart,args f
> PID PPID PGID USER STARTED COMMAND
> 15258 1 15258 root Wed Aug 9 14:38:49 2006 init [3]
> 8232 15258 8232 root Fri Aug 11 13:40:26 2006 \_ /usr/sbin/sshd
> -o PidFile=/var/run/sshd.init.pid
> 10810 8232 10810 root Fri Aug 11 14:09:12 2006 \_ sshd:
> vincent [priv]
> 10812 10810 10810 vincent Fri Aug 11 14:09:13 2006 \_ sshd:
> vincent@pts/0
> 10813 10812 10813 vincent Fri Aug 11 14:09:13 2006 \_ -bash
> 10868 10813 10868 vincent Fri Aug 11 14:10:53 2006 \_
> bash
>
>
> this the complete ps on the virtual machine:
> $ ps -eo pid,ppid,pgid,user,lstart,args f
> PID PPID PGID USER STARTED COMMAND
> 10813 10812 10813 vincent Fri Aug 11 16:09:13 2006 -bash
> 10868 10813 10868 vincent Fri Aug 11 16:10:53 2006 \_ bash
> 10985 10868 10985 vincent Fri Aug 11 16:24:15 2006 \_ ps -eo
> pid,ppid,pgid,user,lstart,args f
> 15258 1 15258 root Wed Aug 9 16:38:49 2006 init [3]
> 16622 15258 16622 root Wed Aug 9 16:38:52 2006 \_ /sbin/syslog-ng
> 16625 15258 16625 root Wed Aug 9 16:38:52 2006 \_ /sbin/klogd -c 1
> -x -x
> 16631 15258 16631 nobody Wed Aug 9 16:38:52 2006 \_ /sbin/portmap
> 4645 15258 4597 root Thu Aug 10 14:13:33 2006 \_ /bin/sh
> /usr/bin/mysqld_safe --datadir=/var/lib/
> 4678 4645 4597 mysql Thu Aug 10 14:13:33 2006 | \_
> /usr/sbin/mysqld --basedir=/ --datadir=/var/
> 8232 15258 8232 root Fri Aug 11 15:40:26 2006 \_ /usr/sbin/sshd
> -o PidFile=/var/run/sshd.init.pid
> 10810 8232 10810 root Fri Aug 11 16:09:12 2006 \_ sshd:
> vincent [priv]
>
> It seems like the ssh process with pid 10812 is missing here.
>
> I did a strace on the physical machine on pid 10813 and then I exited
> process 10868 on the virtual machine.
> $ exit
> -bash: child setpgid (11022 to 11837): Operation not permitted
> 16:27:23 vincent@testvz ~ :)
> $ logout
>
>
>
> I have attached the strace file.
>
> kernel: Linux pc-094 2.6.16.13-026test012-2-default #1 Wed May 3
> 08:53:23 MSD 2006 i686 i686 i386 GNU/Linux
> distro: opensuse10

--
Thanks,
Dmitry.
 
Read Message
Read Message
Read Message
Previous Topic: Question regarding OStemplate setup.
Next Topic: Problems with Gentoo template creation
Goto Forum:
  


Current Time: Sat Jul 20 01:37:25 GMT 2024

Total time taken to generate the page: 0.02263 seconds