* [gentoo-dev] Version management in portage
@ 2002-06-01 11:30 Alexander Gretencord
0 siblings, 0 replies; only message in thread
From: Alexander Gretencord @ 2002-06-01 11:30 UTC (permalink / raw
To: gentoo-dev
Ok, suppose we have something like apache which takes some time to compile and
where I might have made changes myself which are not included in the ebuild.
I wanna upgrade to a new version but the service must not be interrupted. No
problem so far, just compile, install and make the changes if neccessary and
then restart apache gracefully. But if a problem arises here I'm busted. My
service will be interrupted till I fix the problem (which maybe quite fast
but could possibly take too long) The only other option would be to reinstall
the old version. Even if if I had built a binary package I could still need
to do my own changes again.
Couldn't portage have a simple version management have builtin which installs
packages into their own directory instead of to /usr directly. Of course this
would mean to put software packages into /opt if you want to be FHS
compliant, as own directories for software in /usr is not allowed normally.
Btw. it says "Large software packages must not use a direct subdirectory under
the /usr hierarchy". Does that mean /usr/kde ist not FHS compliant ?
This should of course only affect daemons not normal user programs. So portage
would install apache in /opt/apache-1.3.23 and make a symlink from
/opt/apache to that directory. If you merge apache-1.3.24 then, you'd get
/opt/apache-1.3.24. The symlink will then link to that new directory. The old
apache install stays there so when you get problems, you can just switch
symlinks and everything works again. The old binaries could be deleted with
another emerge run automatically after a certain time that the administrator
can set.
Any opinios on this ? I think this would be great for the gentoo server
distribution too.
Alex
--
"They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
Benjamin Franklin
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-06-01 11:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-01 11:30 [gentoo-dev] Version management in portage Alexander Gretencord
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox