Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 32879

Summary: Eggdrop ebuild puts config under /opt by default and thereby when package is upgraded by portage they are overwritten without confirmation
Product: Portage Development Reporter: Mikael <micke>
Component: UnclassifiedAssignee: Packages in net-irc <net-irc>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mikael 2003-11-06 07:42:48 UTC
emerge eggdrop
configure /opt/eggdrop/eggdrop.conf
put your system on autoupdate
try to rehash bot sometime a month later and find out that the portage overwrote /opt/eggdrop/eggdrop.conf because /opt isn't a protected config directory. 

action to take: modify the ebuilt not to put any configuration files under locations where they aren't protected from upgrades.
Comment 1 Chuck Short (RETIRED) gentoo-dev 2003-11-07 13:53:14 UTC
That is what eggdrop-installer is for it creates a eggdrop bot in your home
directory.