Summary: | app-admin/webapp-config - webapp-config -U removes installed configuration files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Beutin <tb> |
Component: | Current packages | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | gentoo, mal, mbucas, sdamashek, web-apps |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=496788 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Add content_protect config option
Add config_protect config option, fix blank config error Fix error |
Description
Thomas Beutin
2013-12-07 12:07:50 UTC
Exactly the same thing happens on another server w/o using my own webapp-config extension (-D SERVER_TYPE=AUTOMATIC) Created attachment 365352 [details, diff]
Add content_protect config option
Add a content_protect option to the /etc/vhosts/webapp-config file to fix this. This option is an additional list of protected config directories. You may want to add /var/www to this config option so webapp-config recognizes the config as protected and creates an etc-update compatible config when you upgrade.
I tested this patch out and it works with mantisbt.
Comment on attachment 365352 [details, diff]
Add content_protect config option
Submitting new patch.
Created attachment 365368 [details, diff]
Add config_protect config option, fix blank config error
Fix error if config option is missing, fix blank config error which occurs with all config options.
Created attachment 365372 [details, diff]
Fix error
Fix error with previous patch
*** Bug 496788 has been marked as a duplicate of this bug. *** *** Bug 499574 has been marked as a duplicate of this bug. *** |