mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
services: zabbix-frontend: Fix configuration file for hard coded passwords.
This is a follow-up to commit 078f5bfae7.
* gnu/services/monitoring.scm (zabbix-front-end-config): When DB-PASSWORD is
set, enclose the password with quotes in the configuration file.
This commit is contained in:
@@ -598,7 +598,7 @@ $DB['PASSWORD'] = " (let ((file (location-file %location))
|
||||
(display-hint (format #f (G_ "~a:~a:~a: ~a:
|
||||
Consider using @code{db-secret-file} instead of @code{db-password} for better
|
||||
security.") file line column 'zabbix-front-end-configuration))
|
||||
db-password)))
|
||||
(format #f "'~a';~%" db-password))))
|
||||
"
|
||||
// Schema name. Used for IBM DB2 and PostgreSQL.
|
||||
$DB['SCHEMA'] = '';
|
||||
|
||||
Reference in New Issue
Block a user