FS#52057 - [couchdb] Upgrade overwrites the node name parameter of a cluster
Attached to Project:
Community Packages
Opened by Thomas MONTROIG (tomage) - Monday, 05 December 2016, 23:55 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 07 December 2016, 15:56 GMT
Opened by Thomas MONTROIG (tomage) - Monday, 05 December 2016, 23:55 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 07 December 2016, 15:56 GMT
|
Details
Description:
CouchDB 2.0 provides a cluster mode. Each cluster node must have a unique name (parameter -name) provided in the file /usr/lib/couchdb/etc/vm.args After each upgrade (since 2.0.0-1), the file is overwritten by pacman. This puts the defaults value as a name, killing the cluster. Pacman should provide a .pacnew file, or a mechanism could be used to store local values of this file (like /etc/couchdb/local.ini) Additional info: * package version(s) 2.0.0-3 * config and/or log files etc. Steps to reproduce: 1) Open /usr/lib/couchdb/etc/vm.args and change the value of the "-name" parameter, eg. "-name couchdb@prod1.lan" 2) Upgrade package with pacman 3) Open /usr/lib/couchdb/etc/vm.args and check the "-name" parameter : it has the default value (couchdb@localhost) |
This task depends upon