From 19147bf502b756f846c06bec9ccc185ac60b5bac Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 03 2020 08:13:59 +0000 Subject: Apply patch net-snmp-5.8-expand-SNMPCONFPATH.patch patch_name: net-snmp-5.8-expand-SNMPCONFPATH.patch present_in_specfile: true --- diff --git a/snmplib/read_config.c b/snmplib/read_config.c index b8bae0e..a1ddb6c 100644 --- a/snmplib/read_config.c +++ b/snmplib/read_config.c @@ -1642,7 +1642,7 @@ snmp_save_persistent(const char *type) * save a warning header to the top of the new file */ snprintf(fileold, sizeof(fileold), - "%s%s# Please save normal configuration tokens for %s in SNMPCONFPATH/%s.conf.\n# Only \"createUser\" tokens should be placed here by %s administrators.\n%s", + "%s%s# Please save normal configuration tokens for %s in /etc/snmp/%s.conf.\n# Only \"createUser\" tokens should be placed here by %s administrators.\n%s", "#\n# net-snmp (or ucd-snmp) persistent data file.\n#\n############################################################################\n# STOP STOP STOP STOP STOP STOP STOP STOP STOP \n", "#\n# **** DO NOT EDIT THIS FILE ****\n#\n# STOP STOP STOP STOP STOP STOP STOP STOP STOP \n############################################################################\n#\n# DO NOT STORE CONFIGURATION ENTRIES HERE.\n", type, type, type,