Re: [Vserver] CPAN and sys$command (gentoo specific prob???)
Hi, On Fri, 2005-09-23 at 23:25 -0400, Chuck wrote: > when i try to remove the file cpan leaves when it exits with the no history > support, it says it is a directory.. here is the ls on it > > -rw-r--r-- 2 root root 23 Sep 23 20:40 sys$command > > looks like a normal file to me.. > > so since this is experimental, i used rmdir on it. > > /sys vanished and it stayed in the directory listing. Maybe a silly question, but you _are_ escaping the $, right? rmdir won't work on a file anyway - rm sys\$command is what you ran? Tom ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] CPAN and sys$command (gentoo specific prob???)
On Saturday 24 September 2005 03:32 am, Tom Laermans wrote: > Hi, > > On Fri, 2005-09-23 at 23:25 -0400, Chuck wrote: > > > when i try to remove the file cpan leaves when it exits with the no history > > support, it says it is a directory.. here is the ls on it > > > > -rw-r--r-- 2 root root 23 Sep 23 20:40 sys$command > > > > looks like a normal file to me.. > > > > so since this is experimental, i used rmdir on it. > > > > /sys vanished and it stayed in the directory listing. > > Maybe a silly question, but you _are_ escaping the $, right? > rmdir won't work on a file anyway - rm sys\$command is what you ran? yeah.. heh took me 2 tries before i remembered about the esacpe.. thing is it says the file is a directory when i try rm.. im just going to make another template since this was a minimal insall. this time when i ran perl cpan config i was smart enough not to do it after spending hours installing packages :) > > Tom > > ___ > 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
Re: [Vserver] CPAN and sys$command (gentoo specific prob???)
On Sat, 2005-09-24 at 05:02 -0400, Chuck wrote: > yeah.. heh took me 2 tries before i remembered about the esacpe.. thing is > it > says the file is a directory when i try rm.. If you don't escape, you're trying to "rm sys" cause I assume the command variable would be empty.. which would lead to that problem if you are in / while doing it... > im just going to make another template since this was a minimal insall. this > time when i ran perl cpan config i was smart enough not to do it after > spending hours installing packages :) I have run perl cpan shell many times inside a vserver host without any problems.. Tom ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] CPAN and sys$command (gentoo specific prob???)
On Saturday 24 September 2005 07:59 am, Tom Laermans wrote: > On Sat, 2005-09-24 at 05:02 -0400, Chuck wrote: > > > yeah.. heh took me 2 tries before i remembered about the esacpe.. thing is it > > says the file is a directory when i try rm.. > > If you don't escape, you're trying to "rm sys" cause I assume the > command variable would be empty.. which would lead to that problem if > you are in / while doing it... > > > im just going to make another template since this was a minimal insall. this > > time when i ran perl cpan config i was smart enough not to do it after > > spending hours installing packages :) > > I have run perl cpan shell many times inside a vserver host without any > problems.. > i figured it should run... there has to be something inherently wrong somewhere in the base install package then. something to do with terminal definitions or paths im not sure which as i have not looked at the line of the error in readline.. once i figure out rproute2 so i can put mutiple public internet connections from different providers on one box with multiple nics and multiple networks, then i can go back to this cpan problem. > Tom > > ___ > 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] Installing util-vserver-0.30.208 patched with patch-0.30.208-fix02.diff with linux-2.6.12.5 patched to linux-2.6.12.5-vs2.0-build
___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] (no subject)
___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] (no subject)
___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] CPAN and sys$command (gentoo specific prob???)
Did you look at lsattr or fuser output for the file? Vaughn On Friday 23 September 2005 20:25, Chuck wrote: > ok i am firmly convinced never to touch cpan in guests. ever. > it not only blows up every time as mentioned in earlier messages but it > then proceeds to leave a file in the root directory of the guest that is > unremovably linked to /sys. > > i spent hours searching google and the gentoo support forums on the cpan > error about terminal not supporting addhistory.. tons of entries and not > one solution. so the heck with it. any additions to cpan will be done > manually via packages. > > when i try to remove the file cpan leaves when it exits with the no history > support, it says it is a directory.. here is the ls on it > > -rw-r--r-- 2 root root 23 Sep 23 20:40 sys$command > > looks like a normal file to me.. > > so since this is experimental, i used rmdir on it. > > /sys vanished and it stayed in the directory listing. dang thing is > permanent. operations on this file give no unexpected error messages but > everything i do to that file affects only /sys > > since im the only one to ever see the guests in this machine, im leaving it > alone unless it will present some kind of problem later on. > > i dont need it for this machine, but i must solve this cpan problem for the > next machine as there will be guests run by other admins that are cpan and > perl crazy. i think their breakfast bowls have perl /cpan logos on them! > > before i tackle cpan though i must study iproute2 and get the 3rd nic to > work on a 3rd network in this machine (tomorrow i hope). > > Bertl hinted possibly something wrong in the paths configurations so when i > go to cpan debugging readline is the first place im looking for that line > number and go from there. > > Hollow if you are reading this, with the stage3-latest on your site, do you > have any perl cpan problems? remember i only use remote terminals via ssh > into the machines. ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] CPAN and sys$command (gentoo specific prob???)
On Saturday 24 September 2005 01:32 am, Vaughn Skinner wrote: > Did you look at lsattr or fuser output for the file? > > Vaughn honestly no. i have so much causing me grief at this moment that i did not bother to take time on it. i just wiped the /vservers partition clean and reinstalled.. since this was a template install it was the first on the partition. > > On Friday 23 September 2005 20:25, Chuck wrote: > > ok i am firmly convinced never to touch cpan in guests. ever. > > it not only blows up every time as mentioned in earlier messages but it > > then proceeds to leave a file in the root directory of the guest that is > > unremovably linked to /sys. > > > > i spent hours searching google and the gentoo support forums on the cpan > > error about terminal not supporting addhistory.. tons of entries and not > > one solution. so the heck with it. any additions to cpan will be done > > manually via packages. > > > > when i try to remove the file cpan leaves when it exits with the no history > > support, it says it is a directory.. here is the ls on it > > > > -rw-r--r-- 2 root root 23 Sep 23 20:40 sys$command > > > > looks like a normal file to me.. > > > > so since this is experimental, i used rmdir on it. > > > > /sys vanished and it stayed in the directory listing. dang thing is > > permanent. operations on this file give no unexpected error messages but > > everything i do to that file affects only /sys > > > > since im the only one to ever see the guests in this machine, im leaving it > > alone unless it will present some kind of problem later on. > > > > i dont need it for this machine, but i must solve this cpan problem for the > > next machine as there will be guests run by other admins that are cpan and > > perl crazy. i think their breakfast bowls have perl /cpan logos on them! > > > > before i tackle cpan though i must study iproute2 and get the 3rd nic to > > work on a 3rd network in this machine (tomorrow i hope). > > > > Bertl hinted possibly something wrong in the paths configurations so when i > > go to cpan debugging readline is the first place im looking for that line > > number and go from there. > > > > Hollow if you are reading this, with the stage3-latest on your site, do you > > have any perl cpan problems? remember i only use remote terminals via ssh > > into the machines. > ___ > 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] need a point in the right direction in certain kernel networking settings
I am running the following kernel compiled from vanilla sources and the vs2.1.0-rc2 patch. No other patches have been applied. The base system is Gentoo 2005.1 except with above kernel. prometheus linux # uname -a Linux prometheus 2.6.13.1-vs2.1.0-rc2 #2 SMP Sat Sep 24 13:36:00 EDT 2005 i686 Pentium III (Katmai) GenuineIntel GNU/Linux Ok here is my network setup so you see what I am up against. Need to be sure I have the proper options set in the kernel for this to work. For this machine we have 3 different internet providers tying to 3 routers and 3 switches and an internal private network on another switch not connected to the outside.. totally unique networks and ip blocks. The machine has a 4 port ethernet card in it. I have only dealt with 3 networks so far and won't add the complication of a 4th until the first 3 work properly. the 4th should just be a clone of the other public setting methods. I do not plan to have a guest a member of more than one public network. Most of the time it will not even be a member of the private network except in special cases. The private net is for communication between hosts (nfs, backup etc). eth0 public 1 eth1 privatenet eth2 public 2 eth3 down but will be public 3 i need to be positive that the problems i am experiencing are strictly in the setups of the nics and my lack of routing skills and not by some missing element in the kernel config. set up alone with the others down, each public nic works perfectly to the outside. symptoms: eth0 up, eth1 up both work fine. bring eth2 up and eth0 stops responding to the outside and other machines in our network and eth2 responds instead. eth1 privatenet keeps working. bring eth2 down and eth0 works again to the outside. below is all of my kernel network code except device driver for the nic, and i am also including my vserver kernel setup. if anyone would be so kind as to review this to see if i have something set incorrectly for the above setups it would be much appreciated. must i have ngnet in the kernel set on with iproute2? do i even need iproute2? Gentoo network scripts give the option of selecting ifconfig or iproute2 to use in static ip setups along with others that I won't be using such as wireless or dhcp. I also have the following in an init script which runs before the ethernets are started. vprocunhide runs later. start() { ebegin "Setting /proc options." /bin/echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts /bin/echo "0" > /proc/sys/net/ipv4/conf/all/accept_source_route /bin/echo "0" > /proc/sys/net/ipv4/conf/all/accept_redirects /bin/echo "1" > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses /bin/echo "1" > /proc/sys/net/ipv4/tcp_syncookies eend 0 } I had read an article somewhere that suggested the above settings were good to do, and comments on the article agreed, so i did them. # # Networking options # CONFIG_PACKET=y # CONFIG_PACKET_MMAP is not set CONFIG_UNIX=y CONFIG_XFRM=y # CONFIG_XFRM_USER is not set # CONFIG_NET_KEY is not set CONFIG_INET=y CONFIG_IP_MULTICAST=y CONFIG_IP_ADVANCED_ROUTER=y CONFIG_ASK_IP_FIB_HASH=y # CONFIG_IP_FIB_TRIE is not set CONFIG_IP_FIB_HASH=y CONFIG_IP_MULTIPLE_TABLES=y CONFIG_IP_ROUTE_FWMARK=y CONFIG_IP_ROUTE_MULTIPATH=y # CONFIG_IP_ROUTE_MULTIPATH_CACHED is not set CONFIG_IP_ROUTE_VERBOSE=y CONFIG_IP_PNP=y # CONFIG_IP_PNP_DHCP is not set # CONFIG_IP_PNP_BOOTP is not set # CONFIG_IP_PNP_RARP is not set CONFIG_NET_IPIP=y CONFIG_NET_IPGRE=y # CONFIG_NET_IPGRE_BROADCAST is not set # CONFIG_IP_MROUTE is not set # CONFIG_ARPD is not set CONFIG_SYN_COOKIES=y # CONFIG_INET_AH is not set # CONFIG_INET_ESP is not set # CONFIG_INET_IPCOMP is not set CONFIG_INET_TUNNEL=y CONFIG_IP_TCPDIAG=y # CONFIG_IP_TCPDIAG_IPV6 is not set # CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_BIC=y # # IP: Virtual Server Configuration # # CONFIG_IP_VS is not set # CONFIG_IPV6 is not set CONFIG_NETFILTER=y # CONFIG_NETFILTER_DEBUG is not set # # IP: Netfilter Configuration # CONFIG_IP_NF_CONNTRACK=y # CONFIG_IP_NF_CT_ACCT is not set # CONFIG_IP_NF_CONNTRACK_MARK is not set # CONFIG_IP_NF_CT_PROTO_SCTP is not set CONFIG_IP_NF_FTP=y CONFIG_IP_NF_IRC=y CONFIG_IP_NF_TFTP=y # CONFIG_IP_NF_AMANDA is not set CONFIG_IP_NF_QUEUE=y CONFIG_IP_NF_IPTABLES=y CONFIG_IP_NF_MATCH_LIMIT=y CONFIG_IP_NF_MATCH_IPRANGE=y CONFIG_IP_NF_MATCH_MAC=y CONFIG_IP_NF_MATCH_PKTTYPE=y CONFIG_IP_NF_MATCH_MARK=y CONFIG_IP_NF_MATCH_MULTIPORT=y CONFIG_IP_NF_MATCH_TOS=y CONFIG_IP_NF_MATCH_RECENT=y CONFIG_IP_NF_MATCH_ECN=y CONFIG_IP_NF_MATCH_DSCP=y CONFIG_IP_NF_MATCH_AH_ESP=y CONFIG_IP_NF_MATCH_LENGTH=y CONFIG_IP_NF_MATCH_TTL=y CONFIG_IP_NF_MATCH_TCPMSS=y CONFIG_IP_NF_MATCH_HELPER=y CONFIG_IP_NF_MATCH_STATE=y CONFIG_IP_NF_MATCH_CONNTRACK=y CONFIG_IP_NF_MATCH_OWNER=y # CONFIG_IP_NF_MATCH_ADDRTYPE is not set # CONFIG_IP_NF_MATCH_REALM is not set # CONFIG_IP_NF_MATCH_SCTP is not set CONFIG_IP_NF_MATCH_COMMENT=y # CONFIG_IP_NF_MATCH_HASHLIMIT is not set CONFIG_IP_NF_FILTER=y CO