Sebastiaan van Stijn
07e2a782c7
libnet/internal/resolvconf: Parse: improve error message
...
When attempting to read a (malformed) resolv.conf with a very long line,
a obscure error would be produced that didn't provide much context to
identify the problem;
Handler for POST /v1.51/containers/mariadb11/start returned error: bufio.Scanner: token too long
This patch adds some additional error-handling to detect this situation,
and includes the filename of the resolv.conf to help the user locating
the file that failed to be parsed.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2026-01-06 14:43:51 +01:00
..
2025-12-15 18:56:34 +01:00
2025-07-21 09:30:05 -07:00
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:33 +01:00
2025-09-03 12:10:10 +02:00
2025-10-20 11:49:03 +02:00
2025-12-15 18:56:34 +01:00
2025-11-11 15:01:25 +01:00
2025-07-14 09:25:23 -07:00
2025-10-03 21:39:14 +02:00
2025-12-15 18:56:34 +01:00
2025-09-02 21:55:03 +02:00
2025-12-15 18:56:34 +01:00
2026-01-06 14:43:51 +01:00
2025-09-10 11:06:05 -04:00
2025-12-15 18:56:34 +01:00
2025-08-01 00:49:22 +02:00
2025-09-10 11:00:35 -04:00
2025-12-15 18:56:34 +01:00
2025-08-28 00:20:34 -07:00
2025-12-15 18:56:34 +01:00
2025-12-16 13:31:33 +01:00
2025-12-15 18:56:34 +01:00
2025-09-23 16:16:00 +01:00
2025-12-17 14:19:53 +01:00
2025-12-15 18:56:34 +01:00
2025-12-15 18:56:33 +01:00
2025-11-28 19:40:37 +01:00
2025-08-28 11:47:29 +02:00
2025-11-28 19:40:34 +01:00
2025-08-01 14:48:05 +02:00
2025-07-14 09:25:23 -07:00
2025-07-14 09:25:23 -07:00
2025-08-16 15:18:22 +02:00
2025-09-08 10:05:29 +02:00
2025-07-14 09:25:23 -07:00
2025-07-14 09:25:23 -07:00
2025-08-01 00:49:22 +02:00
2025-11-16 23:36:03 +01:00
2025-07-14 09:25:23 -07:00
2025-07-14 09:25:23 -07:00
2025-09-03 12:10:10 +02:00
2025-07-21 09:30:05 -07:00
2025-12-15 18:56:34 +01:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-09-11 13:02:41 +01:00
2025-09-03 12:10:10 +02:00
2025-09-03 12:10:10 +02:00
2025-09-03 12:10:10 +02:00
2025-07-31 10:13:29 -07:00
2025-08-08 17:07:07 +02:00
2025-08-08 17:07:07 +02:00
2025-10-21 10:37:05 +02:00
2025-07-31 10:13:29 -07:00
2025-08-01 00:49:22 +02:00
2025-07-14 09:25:23 -07:00
2025-09-08 10:08:35 +02:00
2025-12-15 18:56:33 +01:00
2025-07-14 09:25:23 -07:00
2025-07-31 10:13:29 -07:00
2025-09-08 10:08:35 +02:00
2025-07-31 10:13:29 -07:00
2025-07-23 15:52:10 -04:00
2025-12-15 18:56:34 +01:00
2025-10-03 21:39:14 +02:00
2025-07-14 09:25:23 -07:00
2025-07-14 09:25:23 -07:00
2025-07-31 10:13:29 -07:00
2025-08-01 00:49:22 +02:00
2025-09-15 10:39:08 +01:00
2025-09-25 22:53:41 +02:00
2025-07-31 10:13:29 -07:00
2025-12-15 18:56:34 +01:00
2025-09-08 10:08:35 +02:00
2025-09-08 10:08:35 +02:00
2025-09-24 18:27:17 +01:00
2025-07-14 09:25:23 -07:00
2025-10-03 21:39:13 +02:00
2025-11-28 09:47:01 +01:00
2025-11-28 09:47:04 +01:00
2025-09-15 10:39:08 +01:00
2025-07-31 10:13:29 -07:00
2025-07-14 09:25:23 -07:00
2025-11-28 09:47:07 +01:00
2025-10-03 21:39:14 +02:00
2025-12-15 18:56:34 +01:00
2025-09-08 10:08:35 +02:00
2025-09-15 10:39:08 +01:00
2025-12-15 18:56:33 +01:00
2025-09-08 10:08:35 +02:00
2025-07-14 09:25:23 -07:00
2025-12-03 13:13:46 +01:00
2025-07-14 09:25:23 -07:00
2025-07-14 09:25:23 -07:00
2025-08-01 00:49:22 +02:00
2025-07-31 10:13:29 -07:00
2025-09-03 12:10:10 +02:00
2025-07-31 10:13:29 -07:00