Re: [Vserver] Re: strange yum build errror

2005-09-18 Thread Guenther Fuchs
Hi there,

on Sonntag, 18. September 2005 at 11:31 on the list was posted:

 Even with yum 2.3.2 I have problems querying the database in vservers.
 Something like rpm -qa --root=/vservers/test/ should show installed
 packages, and right now it doesn't.

No, as far is I read in the list archive, it should _not_. Google for
vserver pkgmgmt internalize - you should find this somewhere.

(somehow this does not work here with recent utils, but that's another
thing)

-- 
regards,

Guenther Fuchs

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Re: strange yum build errror

2005-09-18 Thread Benny Amorsen
 GF == Guenther Fuchs [EMAIL PROTECTED] writes:

GF No, as far is I read in the list archive, it should _not_. Google
GF for vserver pkgmgmt internalize - you should find this
GF somewhere.

Ah, thank you. I am now enlightened.


/Benny


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] dhcpd service within a vserver and the newstyle config

2005-09-18 Thread Karsten Horsmann
Hello,

Herbert Poetzl wrote:

  1/nodev   1/ip=192.168.100.255 1/prefix=24
  2/nodev   2/ip=255.255.255.255   1/prefix=32
 
 
Maybe the ip/netmask setup is the Problem?
 
 
 for me, the question is: what is the problem? :)
 

i try the above new vserver setup and it seems that dnsmasq
is the problem. I made an nmap -sU vserver-ip.
Saw the dns/dhcp service. But no dhcp leases to the clients.

So i give the normal dhcpd a chance and it works. Hmmm.
Maybe the dnsmasq bind all interfaces is the problem,
but thats a diffrent prob.

 
 
Question #2 How can i switch between 2 nics?
[...]
 depends on the networks you use ...

Sometimes i use the wirless interface as Accesspoint and the rest
i use it as client with an openvpn tunnel to my lan.


 if you have for example 192.168.100.x on ath0
 and 192.168.200.x on eth0, then you probably
 want a setup for the following:
 
   mo0=ath0:192.168.100.210/24 
   mo1=eth0:192.168.200.210/24
   192.168.100.255/24
   192.168.200.255/24
   255.255.255.255/32
 

Nice idea. But this means that both interfaces are up, isnt it?

Thanks Herbert.

-- 
MfG
Karsten Horsmann
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] dhcpd service within a vserver and the newstyle config

2005-09-18 Thread Herbert Poetzl
On Sun, Sep 18, 2005 at 10:00:20PM +0200, Karsten Horsmann wrote:
 Hello,
 
 Herbert Poetzl wrote:
 
   1/nodev   1/ip=192.168.100.255   1/prefix=24
   2/nodev   2/ip=255.255.255.255   1/prefix=32
  
 Maybe the ip/netmask setup is the Problem?
  
  for me, the question is: what is the problem? :)
 
 i try the above new vserver setup and it seems that dnsmasq
 is the problem. I made an nmap -sU vserver-ip.
 Saw the dns/dhcp service. But no dhcp leases to the clients.
 
 So i give the normal dhcpd a chance and it works. Hmmm.
 Maybe the dnsmasq bind all interfaces is the problem,
 but thats a diffrent prob.
 
 Question #2 How can i switch between 2 nics?
 [...]
  depends on the networks you use ...
 
 Sometimes i use the wirless interface as Accesspoint and the rest
 i use it as client with an openvpn tunnel to my lan.
 
  if you have for example 192.168.100.x on ath0
  and 192.168.200.x on eth0, then you probably
  want a setup for the following:
  
  mo0=ath0:192.168.100.210/24 
  mo1=eth0:192.168.200.210/24
  192.168.100.255/24
  192.168.200.255/24
  255.255.255.255/32
 
 Nice idea. But this means that both interfaces are up, isnt it?

this assumed that you have both up and running,
if you 'change' the nic between guest restarts
(i.e. bootup of notebook or such), you can 
assign the IPs to the interface at bootup/config
and just 'use' them (no assignment) inside a 
guest. that would work regardless of the NIC the
IP is assigned to ...

HTH,
Herbert

 Thanks Herbert.
 
 -- 
 MfG
 Karsten Horsmann
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] guest log error i've never seen before from cron

2005-09-18 Thread Chuck

I just started our first production guest as a name server, and got this error 
in the log. it does not appear to affect cron's ability to run..


 Sep 18 20:27:51 ns1 cron[19848]: (*system*) BAD LINK COUNT (/etc/crontab)

any ideas what this is? the guest is cloned from the template but i made sure 
to edit crontab and save it so it broke the link and became a real file.


-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] guest log error i've never seen before from cron

2005-09-18 Thread Chuck

odd. i still dont know what caused it but i cured it by moving /etc/crontab 
to /etc/crontab.backup and then cp crontab.backup crontab



On Sunday 18 September 2005 08:44 pm, Chuck wrote:
 
 I just started our first production guest as a name server, and got this 
error 
 in the log. it does not appear to affect cron's ability to run..
 
 
  Sep 18 20:27:51 ns1 cron[19848]: (*system*) BAD LINK COUNT (/etc/crontab)
 
 any ideas what this is? the guest is cloned from the template but i made 
sure 
 to edit crontab and save it so it broke the link and became a real file.
 
 
 -- 
 
 Chuck
 
 ...and the hordes of M$*ft users descended upon me in their anger,
 and asked 'Why do you not get the viruses or the BlueScreensOfDeath
 or insecure system troubles and slowness or pay through the nose 
 for an OS as *we* do?!!', and I answered...'I use Linux'. 
 The Book of John, chapter 1, page 1, and end of book
 
 
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
 

-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] a more serious problem with autostarting/stopping

2005-09-18 Thread Chuck

when using the /etc/init.d/vservers start command, it started all servers 
including the template which i dont want to autostart.. Aiken told me about 
mark files. I didn't have any in my /etc/vservers/guestname/apps/init 
directory.. only thing in there was style


btw this is a gentoo system and the vserver host and template install were 
according to the hollow how-to, and i manually cloned the guests from the 
template by first using hollow's instructions to create a skeleton then doing 

cp -al template/* guest

then running 

find guest -type f -exec setattr --iunlink {} ';'

then i go in and edit configs. the lnkage breaking works fine it seems.


so then back to the problem, in the 2 i want autostarted, i placed a mark file 
in there with the contents of a single line that said  

default

then i put a mark file into my template with a single line

nostart

now it starts them properly

however, shutdown by /etc/init.d/vservers stop

has an instant return and the guests are still running and continue to do so. 
i have to shut them down with vserver guest stop then it times out as it has 
been and stops the guest. so for the heck of it i removed the mark files 
completely and the init script starts all and shuts down all properly but it 
includes my template.

confused... im about to put the veserver guest start commands into my local 
startup file and the stop command into the local stop file

any clues why the init would return immediately and basically do nothing on 
stop?  after i stop them with vserver util, i run the iniot with vstatus and 
it still shows that servers are running of type default.



-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver