Lines Matching refs:line
201 static int dns_trust_anchor_load_positive(DnsTrustAnchor *d, const char *path, unsigned line, const… in dns_trust_anchor_load_positive() argument
210 assert(line); in dns_trust_anchor_load_positive()
214 return log_warning_errno(r, "Unable to parse domain in line %s:%u: %m", path, line); in dns_trust_anchor_load_positive()
218 …iled to check validity of domain name '%s', at line %s:%u, ignoring line: %m", domain, path, line); in dns_trust_anchor_load_positive()
220 … log_warning("Domain name %s is invalid, at line %s:%u, ignoring line.", domain, path, line); in dns_trust_anchor_load_positive()
226 … return log_warning_errno(r, "Unable to parse class and type in line %s:%u: %m", path, line); in dns_trust_anchor_load_positive()
228 log_warning("Missing class or type in line %s:%u", path, line); in dns_trust_anchor_load_positive()
233 … log_warning("RR class %s is not supported, ignoring line %s:%u.", class, path, line); in dns_trust_anchor_load_positive()
246 … log_warning_errno(r, "Failed to parse DS parameters on line %s:%u: %m", path, line); in dns_trust_anchor_load_positive()
250 log_warning("Missing DS parameters on line %s:%u", path, line); in dns_trust_anchor_load_positive()
256 …eturn log_warning_errno(r, "Failed to parse DS key tag %s on line %s:%u: %m", key_tag, path, line); in dns_trust_anchor_load_positive()
260 … log_warning("Failed to parse DS algorithm %s on line %s:%u", algorithm, path, line); in dns_trust_anchor_load_positive()
266 … log_warning("Failed to parse DS digest type %s on line %s:%u", digest_type, path, line); in dns_trust_anchor_load_positive()
271 log_warning("Missing DS digest on line %s:%u", path, line); in dns_trust_anchor_load_positive()
277 log_warning("Failed to parse DS digest %s on line %s:%u", p, path, line); in dns_trust_anchor_load_positive()
300 … return log_warning_errno(r, "Failed to parse DNSKEY parameters on line %s:%u: %m", path, line); in dns_trust_anchor_load_positive()
302 log_warning("Missing DNSKEY parameters on line %s:%u", path, line); in dns_trust_anchor_load_positive()
307 log_warning("DNSKEY Protocol is not 3 on line %s:%u", path, line); in dns_trust_anchor_load_positive()
313 …urn log_warning_errno(r, "Failed to parse DNSKEY flags field %s on line %s:%u", flags, path, line); in dns_trust_anchor_load_positive()
315 log_warning("DNSKEY lacks zone key bit set on line %s:%u", path, line); in dns_trust_anchor_load_positive()
319 log_warning("DNSKEY is already revoked on line %s:%u", path, line); in dns_trust_anchor_load_positive()
325 … log_warning("Failed to parse DNSKEY algorithm %s on line %s:%u", algorithm, path, line); in dns_trust_anchor_load_positive()
330 log_warning("Missing DNSKEY key on line %s:%u", path, line); in dns_trust_anchor_load_positive()
336 … return log_warning_errno(r, "Failed to parse DNSKEY key data %s on line %s:%u", p, path, line); in dns_trust_anchor_load_positive()
349 log_warning("RR type %s is not supported, ignoring line %s:%u.", type, path, line); in dns_trust_anchor_load_positive()
374 static int dns_trust_anchor_load_negative(DnsTrustAnchor *d, const char *path, unsigned line, const… in dns_trust_anchor_load_negative() argument
380 assert(line); in dns_trust_anchor_load_negative()
384 return log_warning_errno(r, "Unable to parse line %s:%u: %m", path, line); in dns_trust_anchor_load_negative()
388 …iled to check validity of domain name '%s', at line %s:%u, ignoring line: %m", domain, path, line); in dns_trust_anchor_load_negative()
390 … log_warning("Domain name %s is invalid, at line %s:%u, ignoring line.", domain, path, line); in dns_trust_anchor_load_negative()
395 log_warning("Trailing garbage at line %s:%u, ignoring line.", path, line); in dns_trust_anchor_load_negative()
409 int (*loader)(DnsTrustAnchor *d, const char *path, unsigned n, const char *line)) { in dns_trust_anchor_load_files() argument
436 _cleanup_free_ char *line = NULL; in dns_trust_anchor_load_files() local
439 r = read_line(g, LONG_LINE_MAX, &line); in dns_trust_anchor_load_files()
449 l = strstrip(line); in dns_trust_anchor_load_files()