remove spurious newlines in zone.c logging
3365. [bug] Removed spurious newlines from log messages in zone.c [RT #30675]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
||||
3365. [bug] Removed spurious newlines from log messages in
|
||||
zone.c [RT #30675]
|
||||
|
||||
3362. [bug] Setting some option values to 0 in named.conf
|
||||
could trigger an assertion failure on startup.
|
||||
[RT #27730]
|
||||
|
||||
@@ -3954,7 +3954,7 @@ zone_resigninc(dns_zone_t *zone) {
|
||||
result = dns_db_newversion(db, &version);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_resigninc:dns_db_newversion -> %s\n",
|
||||
"zone_resigninc:dns_db_newversion -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -3963,7 +3963,7 @@ zone_resigninc(dns_zone_t *zone) {
|
||||
zone_keys, &nkeys);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_resigninc:find_zone_keys -> %s\n",
|
||||
"zone_resigninc:find_zone_keys -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -3988,7 +3988,7 @@ zone_resigninc(dns_zone_t *zone) {
|
||||
result = dns_db_getsigningtime(db, &rdataset, name);
|
||||
if (result != ISC_R_SUCCESS && result != ISC_R_NOTFOUND) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_resigninc:dns_db_getsigningtime -> %s\n",
|
||||
"zone_resigninc:dns_db_getsigningtime -> %s",
|
||||
dns_result_totext(result));
|
||||
}
|
||||
|
||||
@@ -4020,7 +4020,7 @@ zone_resigninc(dns_zone_t *zone) {
|
||||
zone_keys, nkeys, now);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_resigninc:del_sigs -> %s\n",
|
||||
"zone_resigninc:del_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
break;
|
||||
}
|
||||
@@ -4029,7 +4029,7 @@ zone_resigninc(dns_zone_t *zone) {
|
||||
expire, check_ksk);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_resigninc:add_sigs -> %s\n",
|
||||
"zone_resigninc:add_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
break;
|
||||
}
|
||||
@@ -4041,7 +4041,7 @@ zone_resigninc(dns_zone_t *zone) {
|
||||
}
|
||||
if (result != ISC_R_SUCCESS)
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_resigninc:dns_db_getsigningtime -> %s\n",
|
||||
"zone_resigninc:dns_db_getsigningtime -> %s",
|
||||
dns_result_totext(result));
|
||||
}
|
||||
|
||||
@@ -4052,7 +4052,7 @@ zone_resigninc(dns_zone_t *zone) {
|
||||
&sig_diff, zone_keys, nkeys, now);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_resigninc:del_sigs -> %s\n",
|
||||
"zone_resigninc:del_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -4060,7 +4060,7 @@ zone_resigninc(dns_zone_t *zone) {
|
||||
result = increment_soa_serial(db, version, &sig_diff, zone->mctx);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_resigninc:increment_soa_serial -> %s\n",
|
||||
"zone_resigninc:increment_soa_serial -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -4074,7 +4074,7 @@ zone_resigninc(dns_zone_t *zone) {
|
||||
soaexpire, check_ksk);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_resigninc:add_sigs -> %s\n",
|
||||
"zone_resigninc:add_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -4086,7 +4086,7 @@ zone_resigninc(dns_zone_t *zone) {
|
||||
ISC_TRUE, &journal);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_resigninc:dns_journal_open -> %s\n",
|
||||
"zone_resigninc:dns_journal_open -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -4095,7 +4095,7 @@ zone_resigninc(dns_zone_t *zone) {
|
||||
dns_journal_destroy(&journal);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_resigninc:dns_journal_write_transaction -> %s\n",
|
||||
"zone_resigninc:dns_journal_write_transaction -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -4790,7 +4790,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
||||
result = dns_db_newversion(db, &version);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_nsec3chain:dns_db_newversion -> %s\n",
|
||||
"zone_nsec3chain:dns_db_newversion -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -4799,7 +4799,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
||||
DNS_MAXZONEKEYS, zone_keys, &nkeys);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_nsec3chain:find_zone_keys -> %s\n",
|
||||
"zone_nsec3chain:find_zone_keys -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -4993,7 +4993,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
||||
} else if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_nsec3chain:"
|
||||
"dns_dbiterator_next -> %s\n",
|
||||
"dns_dbiterator_next -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
} else if (delegation) {
|
||||
@@ -5155,7 +5155,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
||||
} else if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_nsec3chain:"
|
||||
"dns_dbiterator_next -> %s\n",
|
||||
"dns_dbiterator_next -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
} else if (delegation) {
|
||||
@@ -5196,7 +5196,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
||||
zone_keys, nkeys, now);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_nsec3chain:del_sigs -> %s\n",
|
||||
"zone_nsec3chain:del_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5206,7 +5206,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
||||
check_ksk);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_nsec3chain:add_sigs -> %s\n",
|
||||
"zone_nsec3chain:add_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5235,7 +5235,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
||||
zone_keys, nkeys, now);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_nsec3chain:del_sigs -> %s\n",
|
||||
"zone_nsec3chain:del_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5245,7 +5245,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
||||
expire, check_ksk);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_nsec3chain:add_sigs -> %s\n",
|
||||
"zone_nsec3chain:add_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5266,7 +5266,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
||||
zone_keys, nkeys, now);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_nsec3chain:del_sigs -> %s\n",
|
||||
"zone_nsec3chain:del_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5276,7 +5276,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
||||
expire, check_ksk);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_nsec3chain:add_sigs -> %s\n",
|
||||
"zone_nsec3chain:add_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5296,14 +5296,14 @@ zone_nsec3chain(dns_zone_t *zone) {
|
||||
&sig_diff, zone_keys, nkeys, now);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR, "zone_nsec3chain:"
|
||||
"del_sigs -> %s\n", dns_result_totext(result));
|
||||
"del_sigs -> %s", dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
|
||||
result = increment_soa_serial(db, version, &sig_diff, zone->mctx);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR, "zone_nsec3chain:"
|
||||
"increment_soa_serial -> %s\n",
|
||||
"increment_soa_serial -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5313,7 +5313,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
||||
soaexpire, check_ksk);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR, "zone_nsec3chain:"
|
||||
"add_sigs -> %s\n", dns_result_totext(result));
|
||||
"add_sigs -> %s", dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
|
||||
@@ -5324,7 +5324,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
||||
ISC_TRUE, &journal);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR, "zone_nsec3chain:"
|
||||
"dns_journal_open -> %s\n",
|
||||
"dns_journal_open -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5333,7 +5333,7 @@ zone_nsec3chain(dns_zone_t *zone) {
|
||||
dns_journal_destroy(&journal);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR, "zone_nsec3chain:"
|
||||
"dns_journal_write_transaction -> %s\n",
|
||||
"dns_journal_write_transaction -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5574,7 +5574,7 @@ zone_sign(dns_zone_t *zone) {
|
||||
result = dns_db_newversion(db, &version);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_sign:dns_db_newversion -> %s\n",
|
||||
"zone_sign:dns_db_newversion -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5583,7 +5583,7 @@ zone_sign(dns_zone_t *zone) {
|
||||
DNS_MAXZONEKEYS, zone_keys, &nkeys);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_sign:find_zone_keys -> %s\n",
|
||||
"zone_sign:find_zone_keys -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5761,7 +5761,7 @@ zone_sign(dns_zone_t *zone) {
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone,
|
||||
ISC_LOG_ERROR,
|
||||
"updatesecure -> %s\n",
|
||||
"updatesecure -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5772,14 +5772,14 @@ zone_sign(dns_zone_t *zone) {
|
||||
&sig_diff);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"updatesignwithkey -> %s\n",
|
||||
"updatesignwithkey -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
goto next_signing;
|
||||
} else if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_sign:dns_dbiterator_next -> %s\n",
|
||||
"zone_sign:dns_dbiterator_next -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
} else if (delegation) {
|
||||
@@ -5809,7 +5809,7 @@ zone_sign(dns_zone_t *zone) {
|
||||
nkeys, now);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_sign:del_sigs -> %s\n",
|
||||
"zone_sign:del_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5819,7 +5819,7 @@ zone_sign(dns_zone_t *zone) {
|
||||
check_ksk);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_sign:add_sigs -> %s\n",
|
||||
"zone_sign:add_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5835,7 +5835,7 @@ zone_sign(dns_zone_t *zone) {
|
||||
zone_keys, nkeys, now);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_sign:del_sigs -> %s\n",
|
||||
"zone_sign:del_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5845,7 +5845,7 @@ zone_sign(dns_zone_t *zone) {
|
||||
soaexpire, check_ksk);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_sign:add_sigs -> %s\n",
|
||||
"zone_sign:add_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5863,7 +5863,7 @@ zone_sign(dns_zone_t *zone) {
|
||||
&sig_diff, zone_keys, nkeys, now);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_sign:del_sigs -> %s\n",
|
||||
"zone_sign:del_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5871,7 +5871,7 @@ zone_sign(dns_zone_t *zone) {
|
||||
result = increment_soa_serial(db, version, &sig_diff, zone->mctx);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_sign:increment_soa_serial -> %s\n",
|
||||
"zone_sign:increment_soa_serial -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5885,7 +5885,7 @@ zone_sign(dns_zone_t *zone) {
|
||||
soaexpire, check_ksk);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_sign:add_sigs -> %s\n",
|
||||
"zone_sign:add_sigs -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5900,7 +5900,7 @@ zone_sign(dns_zone_t *zone) {
|
||||
ISC_TRUE, &journal);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_sign:dns_journal_open -> %s\n",
|
||||
"zone_sign:dns_journal_open -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
@@ -5909,7 +5909,7 @@ zone_sign(dns_zone_t *zone) {
|
||||
dns_journal_destroy(&journal);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
dns_zone_log(zone, ISC_LOG_ERROR,
|
||||
"zone_sign:dns_journal_write_transaction -> %s\n",
|
||||
"zone_sign:dns_journal_write_transaction -> %s",
|
||||
dns_result_totext(result));
|
||||
goto failure;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user