Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Thoughts on a private portage profile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
pdouble
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2002
Posts: 89
Location: USA

PostPosted: Mon Oct 14, 2002 1:21 pm    Post subject: Thoughts on a private portage profile Reply with quote

The company I work for is trying to adopt an easy to maintain system that keeps all the servers we manage up to date with the latest packages and security fixes. Currently we are using RedHat "just because", without really considering the maintanence issues. Having to use a CD to upgrade between versions though does not sit well with me. I think portage is a much better solution. The issue though is being on the bleeding edge, which I prefer in my own machine, but for servers we desire more control.

I thought a good solution would be to setup a machine to be our own portage tree and point all our servers to it for "emerge rsync". This machine would be kept in sync witht he official portage tree. Then I would add a special profile that specified only the package versions we wanted on the machine, to keep things from always on the bleeding edge. Someone would be monitoring security issues and such and when necessary would update the profile to allow the new packages. We could then upgrade each machine using "emerge rsync ; emerge -u world" as usual. Possibly putting a daily "emerge rsync ; emerge -u world" in a cron job, although I'm not too sure about that part of it.

Any thoughts, ideas, suggestions, or possibly others threads or docs on this type of setup?
Back to top
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Mon Oct 14, 2002 1:53 pm    Post subject: Reply with quote

now that's a good idea if I ever saw one - when it works will you please post a how to in the documentation area ?
Back to top
View user's profile Send private message
pdouble
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2002
Posts: 89
Location: USA

PostPosted: Mon Oct 14, 2002 1:56 pm    Post subject: Reply with quote

Lovechild wrote:
now that's a good idea if I ever saw one - when it works will you please post a how to in the documentation area ?


Be happy to.
Back to top
View user's profile Send private message
roXet
n00b
n00b


Joined: 27 Jun 2002
Posts: 26

PostPosted: Mon Oct 14, 2002 3:34 pm    Post subject: Reply with quote

very nice idea. I am running a small webserver on Mandrake right now (I set it up before I discovered Gentoo) and I am having major problems with dependancies and RPM, I really don't know how anyone manages that easily... I am going to switch that server to gentoo soon and I would be interested in seeing how this was done. =)
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Oct 14, 2002 3:36 pm    Post subject: Reply with quote

A future version of portage is rumored to include this feature. How far in the future, I have no idea. Something to keep in mind while working on your interim solution.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
pdouble
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2002
Posts: 89
Location: USA

PostPosted: Mon Oct 14, 2002 3:40 pm    Post subject: Reply with quote

kanuslupus wrote:
A future version of portage is rumored to include this feature. How far in the future, I have no idea. Something to keep in mind while working on your interim solution.


Any links to info on this "rumor" ? I think the setup for my solution should be fairly light and be using existing portage features but I would like to make it easy to change to a built-in portage feature when and if it comes out.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Oct 14, 2002 4:47 pm    Post subject: Reply with quote

I haven't read anything specific. I'll PM rac and see if he has anything to point to.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Mon Oct 14, 2002 5:19 pm    Post subject: Reply with quote

I remember it being slated for Portage2 (The C version) but alas that died a rather horrible and loud death.
Same goes for parallel downloading, distributed compilation support, proper CVS support and all the nice stuff people talked about.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Oct 14, 2002 6:49 pm    Post subject: Reply with quote

Reckless rumormongerer reporting for duty. I was referring to https://bugs.gentoo.org/show_bug.cgi?id=5622, in which drobbins discusses his intent to allow fine-grained masking and unmasking of packages on a per-profile basis.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
pdouble
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2002
Posts: 89
Location: USA

PostPosted: Mon Oct 14, 2002 7:41 pm    Post subject: Reply with quote

That sounds like pretty much the approach I'm planning on taking, except I'll be creating my own profile (by copying one first...) as opposed to applying a modification to an existing profile.

Thanks for the info. Does anyone see a drawback or danger in doing things this way?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Oct 14, 2002 7:59 pm    Post subject: Reply with quote

I would be cautioous about upgrading portage after I implemented something like this. You might keep your eye open for a future version of portage that does this so you can migrate safely.

Here is the Portage changelog.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum