[Vserver] Error in newvserver

2003-12-13 Thread Kern Wolfgang
Hello Community,

i have installed all the wonderfull new things, like vserver 1.2.1 and
vserver tools 0.29. all working well... But the new VServer tools cause a
fault in order newvserver:

-
vm-dev1:~# newvserver
bash: /usr/sbin/newvserver: /usr/bin/shellmod: bad interpreter: No such file
or directory
-

Any ideas how this error could happen?


Regards

Kern Wolfgang
Support  IT Management
  
 W)ireless W)inds GbR.
Hosting | CoLocation | IP-Transit
Design  |  Develop.  | Production

| Web: Http://www.Wireless-Winds.de
| Web: Http://www.FiT-FOR-IT.net
| Web: Http://www.WWip.de
| Web: Http://www.WWip.ch
| eMail: [EMAIL PROTECTED]


___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Error in newvserver

2003-12-13 Thread Herbert Poetzl
On Sat, Dec 13, 2003 at 03:15:45PM +0100, Kern Wolfgang wrote:
 Hello Community,
 
 i have installed all the wonderfull new things, like vserver 1.2.1 and
 vserver tools 0.29. all working well... But the new VServer tools cause a
 fault in order newvserver:
 
 -
 vm-dev1:~# newvserver
 bash: /usr/sbin/newvserver: 
   /usr/bin/shellmod: bad interpreter: No such file or directory

I would read it in the following way:

 - bash executes /usr/sbin/newvserver
 - this somehow uses /usr/bin/shellmod
   (which is an interpreter to run linuxconf
   modules with /bin/sh)

so either /usr/bin/shellmod doesn't exists
or the called shell (probably /bin/sh) is
missing while executing some script ...

anyway newvserver is linuxconf stuff, so it
will require a working linuxconf setup ...

HTH,
Herbert

 Any ideas how this error could happen?
 
 
 Regards
 
 Kern Wolfgang
 Support  IT Management
   
  W)ireless W)inds GbR.
 Hosting | CoLocation | IP-Transit
 Design  |  Develop.  | Production
 
 | Web: Http://www.Wireless-Winds.de
 | Web: Http://www.FiT-FOR-IT.net
 | Web: Http://www.WWip.de
 | Web: Http://www.WWip.ch
 | eMail: [EMAIL PROTECTED]
 
 
 ___
 Vserver mailing list
 [EMAIL PROTECTED]
 http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


AW: [Vserver] Error in newvserver

2003-12-13 Thread Kern Wolfgang
Thanks for this info, herbert ;)

Regards

Kern Wolfgang

-Ursprüngliche Nachricht-
Von: Herbert Poetzl [mailto:[EMAIL PROTECTED] 
Gesendet: Samstag, 13. Dezember 2003 15:27
An: Kern Wolfgang
Cc: [EMAIL PROTECTED]
Betreff: Re: [Vserver] Error in newvserver

On Sat, Dec 13, 2003 at 03:15:45PM +0100, Kern Wolfgang wrote:
 Hello Community,
 
 i have installed all the wonderfull new things, like vserver 1.2.1 and
 vserver tools 0.29. all working well... But the new VServer tools cause a
 fault in order newvserver:
 
 -
 vm-dev1:~# newvserver
 bash: /usr/sbin/newvserver: 
   /usr/bin/shellmod: bad interpreter: No such file or directory

I would read it in the following way:

 - bash executes /usr/sbin/newvserver
 - this somehow uses /usr/bin/shellmod
   (which is an interpreter to run linuxconf
   modules with /bin/sh)

so either /usr/bin/shellmod doesn't exists
or the called shell (probably /bin/sh) is
missing while executing some script ...

anyway newvserver is linuxconf stuff, so it
will require a working linuxconf setup ...

HTH,
Herbert

 Any ideas how this error could happen?
 
 
 Regards
 
 Kern Wolfgang
 Support  IT Management
   
  W)ireless W)inds GbR.
 Hosting | CoLocation | IP-Transit
 Design  |  Develop.  | Production
 
 | Web: Http://www.Wireless-Winds.de
 | Web: Http://www.FiT-FOR-IT.net
 | Web: Http://www.WWip.de
 | Web: Http://www.WWip.ch
 | eMail: [EMAIL PROTECTED]
 
 
 ___
 Vserver mailing list
 [EMAIL PROTECTED]
 http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] util-vserver: compile problem with dietlibc

2003-12-13 Thread Enrico Scholz
[EMAIL PROTECTED] (Bodo Eggert) writes:

 dietlibc doesn't define uint64_t if __STRICT_ANSI__ is set, and
 -std=c99 defines __STRICT_ANSI__.

Reported several times to [EMAIL PROTECTED] but not fixed yet :(

Btw, same happens with 'inline'.


 To compile it, I had to add -U __STRICT_ANSI__ after -std=c99 in the
 Makefile.

alpha branch has a similar workaround and builtin dietlibc support
(e.g. stdio usage has been reduced significantly).



Enrico
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] crash/issues with vs1.20

2003-12-13 Thread Herbert Poetzl
On Fri, Dec 12, 2003 at 08:10:09PM +, Jonathan Sambrook wrote:

Hi Jonathan!

  I totally agree that uts_sem isn't the apropriate
  to use in this place(s), but I don't see how this
  could cause a deadlock/panic as there is nothing
  to lock/panic if the rw sem is held for write ...
 
 Neither do I, but the call from exit.c seems to lock.
 
  please correct me if you see any crash/lock condition
  there ...
 
 My machines running with these write locks replaced 
 by a spinlock have been up for over two days now, 
 instead of less than a minute. No other changes!

okay, after Rik opened my eyes (I was too blind
to look beyond the affected code), I now can confirm
that this actually fixes a bug (race).

for those interested:

- vc_new_s_context {tasklist_lock[r]}
- vx_assign_info

so vc_new_s_context() is holding the tasklist_lock
and vx_assign_info() might sleep on the uts_sem.

another bugfix release (vs1.22) will be there soon

  what would be interesting is, how does vs1.3.0
  behave in your tests, as it replaced the allocation
  scheme completely (so no assign/alloc and no rw
  uts_sem to fix ;)
 
 Yes. Will examine on Monday. 
 But need to go live on some reall machines soon too...

would be still interesting to have that stuff tested
as the locking is quite different ...

thanks for spotting/fixing this,
Herbert

 Cheers,
 Jonathan
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] [Release] Stable vs1.22

2003-12-13 Thread Herbert Poetzl

Hello Community!

another bugfix release of the second linux-vserver
stable release (1.22) is available at

  http://www.13thfloor.at/vserver/s_release/v1.22/

you can download all-in-one patches for 2.4.21/22
and 2.4.23 as well as tar archives of all the
splitups ...

this release fixes a locking issue, first narrowed
down, reported and fixed by Jonathan Sambrook
(note that this bug was introduced in ctx-2 ;)

vserver-0.28/29 and util-vserver-0.26 will work
with this release, but you'll still need the vkill
tool to use the kill_ctx feature ...
(hopefully newer tools will be available soon ;)

enjoy,
Herbert

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver