About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Wed 18 Feb 2004 - 14:33:20 GMT


On Wed, Feb 18, 2004 at 03:21:50PM +0100, Christian.Lang_at_Bertelsmann.de wrote:
> Hello Herbert,
> after a little bit more investigation I saw that my problem might be related
> to the way my vserver directories are mounted:
>
> [root_at_debmu455:NOENV]mount
> /vservers/IMG/VSLPFRA1_rh9.img on /vservers/VSLPFRA1 type ext2
> (rw,loop=/dev/loop0)
>
> I copied the content to a "real" partition and the vserver is starting now
> even with util-vserver-0.29. One message still comes up when stopping the
> vserver (starting works fine):
>
> [root_at_debmu455:NOENV]/DBA/users/lang72/UTIL/sbin:./vserver VSLPLAN2 stop
> your are now user=root uid=0
> Stopping the virtual server VSLPLAN2
> Server VSLPLAN2 is running
> ipv4root is now 145.228.183.183
> New security context is 49158
>
> Can't chroot to directory . (Operation not permitted)
>
> sleeping 5 seconds
> Killing all processes
> kill -TERM /VSLPLAN2/sbin/syslogd[31669]
> kill -TERM /VSLPLAN2/usr/sbin/crond[31690]
> kill init, pid 31474
>
> But now I have the question what is wrong with my mounts?

hmm, good question, let's see what Enrico has to
say about that ...

best,
Herbert

> Regards
> Christian
>
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: Christian.Lang_at_Bertelsmann.de [mailto:Christian.Lang_at_Bertelsmann.de]
> > Gesendet: Mittwoch, 18. Februar 2004 13:14
> > An: herbert_at_13thfloor.at
> > Cc: vserver_at_list.linux-vserver.org
> > Betreff: AW: [Vserver] still problems with util-vserver > 0.26
> >
> > :))
> > < I use dynamic context ids?
> > > I use dynamic context ids.
> >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Christian.Lang_at_Bertelsmann.de
> > [mailto:Christian.Lang_at_Bertelsmann.de]
> > > Gesendet: Mittwoch, 18. Februar 2004 12:05
> > > An: herbert_at_13thfloor.at
> > > Cc: vserver_at_list.linux-vserver.org
> > > Betreff: AW: [Vserver] still problems with util-vserver > 0.26
> > >
> > > Sorry I forgot:
> > > I use dynamic context ids?
> > >
> > > Regards
> > > Christian
> > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Christian.Lang_at_Bertelsmann.de
> > > [mailto:Christian.Lang_at_Bertelsmann.de]
> > > > Gesendet: Mittwoch, 18. Februar 2004 11:54
> > > > An: herbert_at_13thfloor.at
> > > > Cc: vserver_at_list.linux-vserver.org
> > > > Betreff: AW: [Vserver] still problems with util-vserver > 0.26
> > > >
> > > >
> > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Herbert Poetzl [mailto:herbert_at_13thfloor.at]
> > > > > Gesendet: Mittwoch, 18. Februar 2004 11:17
> > > > > An: Christian.Lang_at_Bertelsmann.de
> > > > > Cc: vserver_at_list.linux-vserver.org
> > > > > Betreff: Re: [Vserver] still problems with util-vserver > 0.26
> > > > >
> > > > > On Wed, Feb 18, 2004 at 10:13:40AM +0100,
> > > Christian.Lang_at_Bertelsmann.de
> > > > > wrote:
> > > > > > Hello,
> > > > > >
> > > > > > I'm running the latest stable vserver under SuSE
> > > SLES
> > > > > 8
> > > > > > (2.4.24-vs1.26). With util-vserver-0.26 I'm able to start/stop
> > > > > without
> > > > > > problems. With versions above I get the error:
> > > > >
> > > > > versions of util-vserver or kernel or patches?
> > > > Kernel: 2.4.24 (vanilla) without patches apart from vserver
> > > > Vserver Patch: patch-2.4.24-vs1.26.diff
> > > > Util-vserver: util-vserver-0.29 (util-vserver-0.26 works fine)
> > > >
> > > > >
> > > > > > Stopping the virtual server VSLPFRA1
> > > > > >
> > > > > > Server VSLPFRA1 is running
> > > > > >
> > > > > > ipv4root is now 145.228.183.185
> > > > > >
> > > > > > New security context is 49153
> > > > >
> > > > > do you use static or dynamic context ids?
> > > > >
> > > > > > Can't chroot to directory . (Operation not permitted)
> > > > >
> > > > > looks like a permission issue, could you
> > > > > test the vserver path with ls -lad and lsattr -d
> > > > >
> > > > > ls -lad / /vservers /vservers/VSLPFRA1
> > > > drwxr-xr-x 27 root root 4096 Feb 11 14:24 /
> > > > drwxrwxr-x 11 root root 248 Dec 17 15:00 /vservers
> > > > drwxrwxr-x 24 dbasys dba 4096 Feb 11 16:53
> > > /vservers/VSLPFRA1
> > > >
> > > > > lsattr -d / /vservers /vservers/VSLPFRA1
> > > > ------------- /
> > > > ------------- /vservers
> > > > ------------- /vservers/VSLPFRA1
> > > >
> > > > Reg.
> > > > Christian
> > > >
> > > > >
> > > > > TIA,
> > > > > Herbert
> > > > >
> > > > > > sleeping 5 seconds
> > > > > >
> > > > > > Killing all processes
> > > > > >
> > > > > > kill -TERM /vservers/VSLPFRA1/usr/libexec/postfix/pickup[18597]
> > > > > >
> > > > > > /DBA/users/lang72/UTIL/lib/util-vserver/vserverkillall: line
> > 43:
> > > > > kill:
> > > > > > (18597) - Operation not permitted
> > > > > >
> > > > > > kill -TERM /vservers/VSLPFRA1/bin/bash2
> > > > > >
> > > > > > kill -TERM
> > > > > > /vservers/VSLPFRA1/opt/Tivoli/lcf/bin/linux-
> > ix86/mrt/lcfd[24872]
> > > > > >
> > > > > > kill -TERM
> > > > > > /vservers/VSLPFRA1/opt/Tivoli/lcf/dat/1/LCF/sentry/linux-
> > > > > ix86/dm_ep_en
> > > > > > gine[24882]
> > > > > >
> > > > > > kill -TERM /vservers/VSLPFRA1/bin/bash2
> > > > > >
> > > > > > kill -TERM
> > > > > > /vservers/VSLPFRA1/opt/Tivoli/lcf/bin/linux-
> > > > > ix86/TME/TEC/adapters/bin/
> > > > > > tecad_logfile[25035]
> > > > > >
> > > > > > kill -TERM /vservers/VSLPFRA1/sbin/syslogd[25052]
> > > > > >
> > > > > > kill -TERM
> > > > > > /vservers/VSLPFRA1/opt/Tivoli/lcf/dat/1/LCF/sentry/linux-
> > > > > ix86/perl[252
> > > > > > 26]
> > > > > >
> > > > > > kill -TERM /vservers/VSLPFRA1/usr/bin/vmstat[25229]
> > > > > >
> > > > > > kill -TERM /vservers/VSLPFRA1/usr/sbin/sshd[6792]
> > > > > >
> > > > > > kill -TERM /vservers/VSLPFRA1/usr/libexec/postfix/master[6863]
> > > > > >
> > > > > > readlink failed for file /proc/6871/exe (No such file or
> > > directory)
> > > > > >
> > > > > > kill -TERM 1
> > > > > >
> > > > > > /DBA/users/lang72/UTIL/lib/util-vserver/vserverkillall: line
> > 43:
> > > > > kill:
> > > > > > (6871) - No such process
> > > > > >
> > > > > > kill -TERM /vservers/VSLPFRA1/usr/X11R6/bin/xfs[6894]
> > > > > >
> > > > > > /DBA/users/lang72/UTIL/lib/util-vserver/vserverkillall: line
> > 43:
> > > > > kill:
> > > > > > (6894) - Operation not permitted
> > > > > >
> > > > > > kill -TERM /vservers/VSLPFRA1/bin/bash2
> > > > > >
> > > > > > kill -TERM /vservers/VSLPFRA1/usr/X11R6/bin/xfs[6894]
> > > > > >
> > > > > > /DBA/users/lang72/UTIL/lib/util-vserver/vserverkillall: line
> > 43:
> > > > > kill:
> > > > > > (6894) - Operation not permitted
> > > > > >
> > > > > > kill -TERM /vservers/VSLPFRA1/bin/bash2
> > > > > >
> > > > > > kill -TERM /vservers/VSLPFRA1/usr/X11R6/bin/xfs[6894]
> > > > > >
> > > > > > /DBA/users/lang72/UTIL/lib/util-vserver/vserverkillall: line
> > 43:
> > > > > kill:
> > > > > > (6894) - Operation not permitted
> > > > > >
> > > > > > kill -9 /vservers/VSLPFRA1/bin/bash2
> > > > > >
> > > > > > kill -9 /vservers/VSLPFRA1/usr/X11R6/bin/xfs[6894]
> > > > > >
> > > > > > /DBA/users/lang72/UTIL/lib/util-vserver/vserverkillall: line
> > 43:
> > > > > kill:
> > > > > > (6894) - Operation not permitted
> > > > > >
> > > > > > kill init, pid 6110
> > > > > >
> > > > > >
> > > > > > Does anyone have the same problem?
> > > > > >
> > > > > >
> > > > > > Regards
> > > > > >
> > > > > > Christian Lang
> > > > _______________________________________________
> > > > Vserver mailing list
> > > > Vserver_at_list.linux-vserver.org
> > > > http://list.linux-vserver.org/mailman/listinfo/vserver
> > > _______________________________________________
> > > Vserver mailing list
> > > Vserver_at_list.linux-vserver.org
> > > http://list.linux-vserver.org/mailman/listinfo/vserver
> > _______________________________________________
> > Vserver mailing list
> > Vserver_at_list.linux-vserver.org
> > http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 18 Feb 2004 - 14:34:01 GMT by hypermail 2.1.3