Re: [gentoo-user] emerge -uD world trashed my website

2005-04-04 Thread Shawn Singh
Hey all,

His experience is pretty interesting...

Does portage keep track of settings so that you don't have reconfigure
it everytime you do an upgrade of a package? In other words, if (for
example) I emerge apache and it reconfigured to serve webs from
/var/www/html, instead of /usr/local/htdocs/ would portage get updated
with that new information?

Portage is pretty smart especially in comparison to other software
management tools (up2date, and mandrake update)...so I wouldn't be
surprised if it did.

On Apr 4, 2005 5:03 PM, Mike Turcotte [EMAIL PROTECTED] wrote:
 Hello I just finished doing an emerge -uD world and portage updated
 apache2 along with numerous other things. I was wondering why I could
 not get my site working again till I realised that the upgrade process
 completely wiped the directory that my web site was stored in. What I
 don't understand is that the directory isn't even the default one that
 apache uses. How did this happen? And to put the icing on the cake, I
 did not have a backup, as I was planning on emerging a backup utility
 once world was done.
 --
 gentoo-user@gentoo.org mailing list
 

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge -uD world trashed my website

2005-04-04 Thread Nick Rout
On Tue, 2005-04-05 at 00:28 -0400, Shawn Singh wrote:
 Hey all,
 
 His experience is pretty interesting...
 
 Does portage keep track of settings so that you don't have reconfigure
 it everytime you do an upgrade of a package? In other words, if (for
 example) I emerge apache and it reconfigured to serve webs from
 /var/www/html, instead of /usr/local/htdocs/ would portage get updated
 with that new information?

in fact apache is configured to serve from /var/www/localhost/htdocs,
although I understand users are encouraged to use a feature which
provides virtualised services. 

I think you could make doubly sure that portage did not clobber your
files by adding the base directory to CONFIG_PROTECT in /etc/make.conf

 
 Portage is pretty smart especially in comparison to other software
 management tools (up2date, and mandrake update)...so I wouldn't be
 surprised if it did.
 
 On Apr 4, 2005 5:03 PM, Mike Turcotte [EMAIL PROTECTED] wrote:
  Hello I just finished doing an emerge -uD world and portage updated
  apache2 along with numerous other things. I was wondering why I could
  not get my site working again till I realised that the upgrade process
  completely wiped the directory that my web site was stored in. What I
  don't understand is that the directory isn't even the default one that
  apache uses. How did this happen? And to put the icing on the cake, I
  did not have a backup, as I was planning on emerging a backup utility
  once world was done.
  --
  gentoo-user@gentoo.org mailing list
  
 
 --
 gentoo-user@gentoo.org mailing list
 
-- 
Nick Rout [EMAIL PROTECTED]

--
gentoo-user@gentoo.org mailing list