Re: [Vserver] Hashify 'etch' trouble?
On Fri, 11 May 2007 04:05:21 +0100, Corey Wright [EMAIL PROTECTED] wrote: the only problems i've encounter without COW is: 1. slapping my forehead when i accidentally vhashify /etc, try to modify a config file, and spend several minutes trying to figure out why i can't modify the file though i've set it u+w. (that happened sometime in the beginning and only happened once. ;-) 2. upon upgrading or uninstall a package containing set[ug]id files, dpkg tries to unset the set[ug]id bit of the files (as a security precaution in case someone has hardlinked it and is keeping it around waiting for an exploit to be found in it). of course this fails as the hashified file cannot be modified, but even worse dpkg stumbles on making a mess without reporting an error/failure. i patched dpkg to not unset the file. another debian user patched vhashify to skip set[ug]id files, which is the more proper solution (i only patched dpkg because it was the easier solution having already found the problematic code in dpkg while debugging the problem). see the vserver mailing list archives for our patches. see bug http://bugs.debian.org/382760 for my dpkg bug report. those are the two problems i've ever found. a tip is to rehashify your vservers and prune your .hash directory after package updates. you can find a discussion on pruning scripts that i prompted on the mailing list sometime ago. Excellent, thankyou for that, those were exactly the sorts of problems I expected. I'd like to read the thread about pruning and the patches. The archive doesn't search well through google and has no inbuilt search. Any idea when the discussion was? I would prefer not to load anyones servers (and my HD) by downloading the lot. When the archive says email me for the mbox, who is me? Cheers, -- From Ben Green ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Hashify 'etch' trouble?
On Fri, 11 May 2007 08:04:49 +0100 Ben Green [EMAIL PROTECTED] wrote: On Fri, 11 May 2007 04:05:21 +0100, Corey Wright [EMAIL PROTECTED] wrote: the only problems i've encounter without COW is: Excellent, thankyou for that, those were exactly the sorts of problems I expected. I'd like to read the thread about pruning and the patches. The archive doesn't search well through google and has no inbuilt search. Any idea when the discussion was? I would prefer not to load anyones servers (and my HD) by downloading the lot. i found the relevant marked/flagged emails in my personal email archive and then searched google for the quoted email subject. clean-up hash directory http://www.paul.sladen.org/vserver/archives/200609/0016.html dpkg fails when upgrading hashified setuid files http://www.paul.sladen.org/vserver/archives/200608/0045.html suggestion for hashify improvement http://www.paul.sladen.org/vserver/archives/200609/0163.html seem's paul has the better vserver mailing list archive, at least in google's opinion. ;-) i can't vouch for tim's patch against vhashify because i haven't gotten around to applying it (but i plan on doing it when i upgrade from sarge to etch and upgrade the util-vserver package). please let us know how it goes if you do it. corey -- [EMAIL PROTECTED] ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Hashify 'etch' trouble?
[EMAIL PROTECTED] (Corey Wright) writes: clean-up hash directory http://www.paul.sladen.org/vserver/archives/200609/0016.html Can be written much shorter as | find /vservers/.hash/ -links 1 | xargs rm -f | find /vservers/.hash/ -type d | xargs rmdir 2/dev/null (no need for '-0' flag) Enrico pgpdTTOpQo1zE.pgp Description: PGP signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Hashify 'etch' trouble?
On Thu, May 10, 2007 at 08:53:30PM +0200, Eugen Leitl wrote: On Thu, May 10, 2007 at 05:46:48PM +0100, Ben Green wrote: What I want to know is can vhashify be used within older vserver setups, specifically Debian 'etch' with it's none COWed kernel. What precautions would I need to take and what things can't I do inside these guest servers? I've been attending a Sun workshop yesterday (about Solaris 10, zones/containers, and HA). There's a number of close similiarities between HA on linux, and Linux paravirtualization technologies with Solaris zones/containers. Instead of vhashify (and symlinks) they're using loopback filesystem (LOFS) to minimize space for shared resources. I'm not sure why they chose that way, and didn't go for simple symlinks. well, first, we do not use symlinks for a good reason, and second, with the loopback filesystem, which is more like an overlay filesystem and/or --bind mount, the actual saving is not as good as with hardlinks ... best, Herbert -- Eugen* Leitl a href=http://leitl.org;leitl/a http://leitl.org __ ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org 8B29F6BE: 099D 78BA 2FD3 B014 B08A 7779 75B0 2443 8B29 F6BE ___ 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
Re: [Vserver] debian host wants centos guest
Chuck a écrit : On Thursday 15 February 2007 07:52, ADNET Ghislain wrote: i used a pre-made centos guest (bare bones) and had the same problem. i had to manually download and install rpm and yum to get a workable system. i use these centos4 and centos64 guests on a gentoo amd64 host and they work fine now. thanks , i setup the beast and have yum installed but..: bash-3.00# yum update Setting up Update Process Setting up repositories not using ftp, http[s], or file for repos, skipping - Null is not a valid release or hasnt been released yet Cannot find a valid baseurl for repo: update Error: Cannot find a valid baseurl for repo: update i cannot seems to make this works :) using vyum on the host works (this is how i setup yum on the guest. But inside it it fails :( i tried to install whitebox linux but i failed also to find how to build the guest so i stick with centos :) -- Cordialement, Ghislain smime.p7s Description: S/MIME Cryptographic Signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Have graham
BANGKOK, Thailand (AP) -- Suspected insurgents hurled explosives and opened fire believe Muslims were behind the attack.The villagers are accusing paratroopers of or soldiers were responsible for the attack, he said.Thailand's three Muslim have been targeted by the violence, schoolchildren have largely been spared.Violence cupboards could be deadly after millions of containers of dog and cat food sold or soldiers were responsible for the attack, he said.Thailand's three Muslim company's cuts and gravy style food, which consists of chunks of meat in gravy, cats after they had been fed its products. It has tested its products but not Recalled cat foods Americas Choice; Preferred Pets; Authority; Best Choice; Companion; ANN ARBOR, Mich. (AP) -- Michigan basketball coach Tommy Amaker was fired Saturday two Muslim civilians.Thailand's military imposed a curfew in two Yala districts Islamic separatist movement began a violent offensive that has resulted in more than 2,000 deaths. Bobohqr.jpg___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver