Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Package install/uninstallupgrade history tracking
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kyron
Apprentice
Apprentice


Joined: 26 Aug 2002
Posts: 198
Location: Montreal, Qc.

PostPosted: Tue Apr 29, 2003 7:05 am    Post subject: Package install/uninstallupgrade history tracking Reply with quote

Feature anyone....?! :)

As a part time system administrator for the past 7 years, there is ONE feature that I know would be really nice on Gentoo systems. And I am certain this could be very easily done.

Portage should store in [insert data retention system of choice here, ie: db, mysql, flat file] the complete package history of a system from it's life to death.

This db would containe date stamped entries (duh!) of packages with their install, upgrade, uninstall history as well as their use and compile flags. I beleive this would be an incredibly useful tool for system admins AND users so that one could be able to track down where and when a system went Ying instead of Yang. This database would be able to bring back a system to any state prior to any call to the emerge system (neat huh!).

Portage already detects which config files require some changing, so these could be stored in a config.tbz file (which would most probably be VERY small) and have a reference to it in the aformentionned database.

I don't think any of this would take a tremendous amount of space but I do see it as a precious resource for system administrator that would like to have a free conscious when managing their Gentoo server and stations, giving them the ultimate tool to go back a few steps.

It's late, I'll let the idea ponder here a little, would really like to know what people think of this, I really beleive in Linux and the way Gentoo unleashes it's true powers (customized OS for specific hardware, not the other way around!)

[edit] I opened bug report #20155 for this feature request :P[/edit]
_________________
M$ Windows: When in doubt, REBOOT
Linux: When in doubt, RTFM ;-)
Back to top
View user's profile Send private message
pacmac
n00b
n00b


Joined: 25 Apr 2003
Posts: 68

PostPosted: Tue Apr 29, 2003 5:55 pm    Post subject: Reply with quote

hey, nice job. It's a very useful aplication :)
Back to top
View user's profile Send private message
kyron
Apprentice
Apprentice


Joined: 26 Aug 2002
Posts: 198
Location: Montreal, Qc.

PostPosted: Tue Apr 29, 2003 6:07 pm    Post subject: Reply with quote

pacmac wrote:
hey, nice job. It's a very useful aplication :)

O_o Huh? This is a feature request.... I didn't make any application.... I'm the never ending whining user that WANTS the application...heheheh :)
_________________
M$ Windows: When in doubt, REBOOT
Linux: When in doubt, RTFM ;-)
Back to top
View user's profile Send private message
snark
n00b
n00b


Joined: 21 Apr 2003
Posts: 1

PostPosted: Sun Jun 01, 2003 10:20 pm    Post subject: Yeah -- when i unmerge mysql, it leaves /etc/init.d/mysql Reply with quote

I unmerge'd mysql today, and when I went to install the startup script for my hand-rolled mysql, I noticed the old gentoo mysql startup script as /etc/init.d/mysql. I expected that file to have been deleted during the unmerge -- this is reasonable, no?

This feature/tool would be able to notice if any files from an installation still exist after the installation -- like my /etc/init.d/mysql, yes?
Back to top
View user's profile Send private message
kyron
Apprentice
Apprentice


Joined: 26 Aug 2002
Posts: 198
Location: Montreal, Qc.

PostPosted: Mon Jun 02, 2003 2:48 am    Post subject: Re: Yeah -- when i unmerge mysql, it leaves /etc/init.d/mysq Reply with quote

snark wrote:
I unmerge'd mysql today, and when I went to install the startup script for my hand-rolled mysql, I noticed the old gentoo mysql startup script as /etc/init.d/mysql. I expected that file to have been deleted during the unmerge -- this is reasonable, no?

This feature/tool would be able to notice if any files from an installation still exist after the installation -- like my /etc/init.d/mysql, yes?


Hrm...I beleive that would be another feature request...a way to check the system's "pollution" level. Yet another flag (like --check-if-stale-files-are-pollting-my-system :P ).
_________________
M$ Windows: When in doubt, REBOOT
Linux: When in doubt, RTFM ;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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