Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190706 - webapp-config overwrites config.php for cacti
Summary: webapp-config overwrites config.php for cacti
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-29 22:29 UTC by Mike Doty (RETIRED)
Modified: 2009-05-27 05:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge output (nohup.out,45.43 KB, text/plain)
2007-11-05 14:01 UTC, Thomas Beutin
Details
Output of webapp-config (webapp.out,565 bytes, text/plain)
2007-11-05 14:13 UTC, Thomas Beutin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Doty (RETIRED) gentoo-dev 2007-08-29 22:29:47 UTC
webapp-config borked my cacti config because it overwrote config.php without so much as a warning on a -r4 -> -r6 bump. not very fun....

[ebuild   R   ] app-admin/webapp-config-1.50.16-r1  0 kB 
[ebuild   R   ] net-analyzer/cacti-0.8.6j-r6  USE="apache2 bundled-adodb snmp -vhosts" 0 kB 
[ebuild   R   ] www-servers/apache-2.0.58-r2  USE="apache2 doc ssl -debug -ldap -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker (-selinux) -static-modules -threads" 0 kB
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-01 07:58:04 UTC
This will sit here pretty much indefinitely unless you show us how and where it overwrote your CONFIG_PROTECTed ${MY_HTDOCSDIR}/include/config.php... For starters, attaching complete emerge output could help.
Comment 2 Thomas Beutin 2007-11-05 13:55:52 UTC
i had the same experience on my amd64 box with net-analyzer/cacti-0.8.7:
- vhost USE flag is set
- webapp-config -U ... just replaced my include/config.php in the web root
I'll attach an emerge output
Comment 3 Thomas Beutin 2007-11-05 14:01:59 UTC
Created attachment 135246 [details]
emerge output

output from "emerge =net-analyzer/cacti-0.8.7"
Comment 4 Thomas Beutin 2007-11-05 14:13:45 UTC
Created attachment 135247 [details]
Output of webapp-config

Output of the following command:

nice -n 19 webapp-config -U -D SERVER_TYPE=VHOST_ALIAS_TO_SSL -h manitu.monitor.zapiff.de -d '' cacti 0.8.7
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2007-11-18 12:38:11 UTC
Thomas, but can you reproduce this problem another time or was that occasional?
Comment 6 Chris Gianelloni 2009-05-27 05:13:48 UTC
I've seen the same thing.  I simply hacked my local copy to use an external configuration file, but that breaks for USE=vhosts