Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-catalyst
Navigation:
Lists: gentoo-catalyst: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-catalyst@g.o
From: John Davis <zhen@g.o>
Subject: Re: server maintenance w/ catalyst
Date: Tue, 28 Dec 2004 12:45:22 -0500

 1.1

On Mon, 2004-12-27 at 22:43 -0600, William Kilian wrote:
> 
> That's all I have for now. I'm going to see how much my build server can 
> get done while I get some sleep.
> 


Yeah, I have heard of this bug before. Here is the relevant code for
portage_confdir:

<code>
if self.settings.has_key("portage_confdir"):
print "Configuring /etc/portage..."

cmd("rm -rf "+self.settings["chroot_path"]+"/etc/portage","Error
zapping /etc/portage")

cmd("cp -R "+self.settings["portage_confdir"]+"
"+self.settings["chroot_path"]+"/etc/portage","Error
copying /etc/portage")
</code>

(excuse the bad formatting - email is responsible)

Right now, all that we are doing is copying the directory (if it exists)
into the chroot. There is no code to handle symlinks. What we could try
to do is symlink the target to $chroot_path/etc/portage regardless of
whether or not the target is a directory or symlink. The only concern
that I have is levels of symlinks - would a symlink to a symlink cause
problems?

Cheers,
//John
-- 
John Davis <zhen@g.o>
The Gentoo Foundation
Trustee | Release Engineering Manager | Catalyst code monkey

---
"When people learn no tools of judgement and merely follow their hopes,
the seeds of political manipulation are sown"
- Stephen Jay Gould
Attachment:
signature.asc (This is a digitally signed message part)
References:
server maintenance w/ catalyst
-- William Kilian
Re: server maintenance w/ catalyst
-- John Davis
Re: server maintenance w/ catalyst
-- William Kilian
Navigation:
Lists: gentoo-catalyst: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: server maintenance w/ catalyst
Next by thread:
Re: server maintenance w/ catalyst
Previous by date:
Re: server maintenance w/ catalyst
Next by date:
Re: updates to the Catalyst reference manual


May 28, 2008

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.