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

Bug 452704

Summary: www-servers/nginx replaces /var/www/localhost/htdocs/index.html with inadequate warning
Product: Gentoo Linux Reporter: Tim Hosking <trhosking>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major CC: bkohler, tomwij
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tim Hosking 2013-01-17 17:33:55 UTC
When emerging nginx, the following is displayed at the very end of the process:-


* Detected file collision(s):
 * 
 * 	/var/www/localhost/htdocs/index.html
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * None of the installed packages claim the file(s).
 * 
 * Package 'www-servers/nginx-1.2.5' merged despite file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

Giving a few seconds to cancel the action before blindly proceeding is unacceptable. In this case, the file /var/www/localhost/htdocs/index.html was a live web page on my apache installation. No attempt was made by the package installer to backup the original file.
Comment 1 Ben Kohler gentoo-dev 2013-01-17 17:39:42 UTC
This is the same issue as bug #449136 but we really need that fix applied to stable 1.2.5 or we need ~1.2.6 stabilized ASAP.  This is a very rude thing for a webserver package to do.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-01-17 17:50:30 UTC

*** This bug has been marked as a duplicate of bug 449136 ***
Comment 3 Tim Hosking 2013-01-17 17:55:27 UTC
How is this marked as resolved when it has not been fixed in the stable version?
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-01-17 18:36:46 UTC
> How is this marked as resolved when it has not been fixed in the stable version?

It's a duplicate, the actual resolution status can be obtained in the other bug.