Cole Robinson
3cc2a9e0d4
virconf: Handle conf file without ending newline
...
$ echo -n 'log_level=1' > ~/.config/libvirt/libvirtd.conf
$ libvirtd --timeout=10
2014-10-10 10:30:56.394+0000: 6626: info : libvirt version: 1.1.3.6, package: 1.fc20 (Fedora Project, 2014-09-08-17:50:42, buildvm-05.phx2.fedoraproject.org)
2014-10-10 10:30:56.394+0000: 6626: error : main:1261 : Can't load config file: configuration file syntax error: /home/rjones/.config/libvirt/libvirtd.conf:1: expecting a value: /home/rjones/.config/libvirt/libvirtd.conf
Rather than try to fix this in the depths of the parser, just catch
the case when a config file doesn't end in a newline, and manually
append a newline to the content before parsing
https://bugzilla.redhat.com/show_bug.cgi?id=1151409
2016-04-21 18:14:07 -04:00
..
2016-04-14 13:22:40 -04:00
2014-10-29 09:55:09 -06:00
2014-07-16 06:48:53 -06:00
2015-09-14 11:32:44 +02:00
2014-10-29 09:55:09 -06:00
2014-10-29 09:55:09 -06:00
2014-11-14 17:13:35 +01:00
2016-03-29 21:25:41 +02:00
2016-03-29 21:25:41 +02:00
2016-04-11 12:09:11 +02:00
2015-03-25 15:42:52 +01:00
2016-04-18 20:36:57 +02:00
2016-03-01 14:07:27 +00:00
2015-03-18 09:53:24 +01:00
2016-02-17 12:46:34 +01:00
2015-11-30 13:55:10 +01:00
2016-03-03 14:39:57 +01:00
2015-03-05 18:57:06 -05:00
2016-04-21 18:14:07 -04:00
2015-11-30 09:36:19 +01:00
2016-02-11 11:35:02 +01:00
2016-02-11 11:35:02 +01:00
2014-11-20 08:48:19 -07:00
2016-03-18 09:43:45 +01:00
2016-03-29 13:13:05 +01:00
2015-07-10 11:47:13 +02:00
2015-10-15 19:50:58 -04:00
2015-05-27 16:59:18 +02:00
2016-04-20 08:55:36 -04:00
2015-09-21 08:24:16 -04:00
2016-02-11 11:35:02 +01:00
2014-12-22 16:57:21 -05:00
2016-04-14 13:22:40 -04:00
2016-04-14 13:22:40 -04:00
2016-02-16 14:58:58 +01:00
2016-04-20 12:46:48 +02:00
2016-02-17 12:46:34 +01:00
2016-02-17 12:46:34 +01:00
2016-02-11 08:05:17 +01:00
2014-09-22 17:11:56 +02:00
2016-04-01 17:06:53 +02:00
2015-10-26 13:50:35 +01:00
2015-03-25 13:37:41 +01:00
2014-09-24 15:29:22 +01:00
2014-10-22 13:09:49 +01:00
2016-03-18 09:43:45 +01:00
2014-12-10 06:58:37 -05:00
2015-10-09 15:25:08 +02:00
2015-10-09 15:25:08 +02:00
2015-04-02 16:05:32 +02:00
2016-03-18 17:29:53 +01:00
2016-03-18 17:29:53 +01:00
2015-10-09 15:25:08 +02:00
2016-03-24 16:39:28 +01:00
2016-03-16 14:24:15 +01:00
2014-10-28 14:14:25 -04:00
2014-10-28 14:14:25 -04:00
2016-04-13 15:01:17 +02:00
2016-04-13 15:01:17 +02:00
2016-02-05 16:43:19 +01:00
2015-08-11 16:10:32 +02:00
2015-08-28 16:39:30 -04:00
2014-12-08 14:39:12 -05:00
2016-03-28 12:52:50 -04:00
2016-01-26 12:20:04 -05:00
2015-03-17 12:56:37 -04:00
2015-03-17 12:56:37 -04:00
2016-01-27 13:01:24 +01:00
2015-03-17 13:10:17 -04:00
2015-01-15 11:07:13 +00:00
2015-04-15 16:43:28 +02:00
2016-02-14 11:29:41 -05:00
2015-03-17 12:56:37 -04:00
2016-01-26 12:20:04 -05:00
2015-08-28 16:39:30 -04:00
2015-10-21 16:19:42 -04:00
2014-12-16 11:15:27 +01:00
2015-05-11 08:28:53 +02:00
2015-05-11 08:28:53 +02:00
2016-03-18 17:35:06 +01:00
2016-03-18 17:35:06 +01:00
2016-03-31 17:25:21 +02:00
2016-03-31 10:42:46 +02:00
2015-06-09 13:56:00 -04:00
2014-11-03 16:43:23 +01:00
2016-03-02 13:59:37 -05:00
2016-03-01 06:50:16 -05:00
2015-03-13 15:31:33 +01:00
2014-09-11 15:40:14 -06:00
2015-01-15 11:07:13 +00:00
2016-02-19 15:23:54 +01:00
2015-12-17 10:12:47 +01:00
2016-04-06 20:27:09 -04:00
2016-04-06 20:27:09 -04:00
2015-12-04 18:18:39 +00:00
2015-11-30 15:32:47 +01:00
2015-06-22 16:03:33 -04:00
2015-06-22 16:03:33 -04:00
2014-07-14 05:44:20 -04:00
2014-07-11 10:36:02 +02:00
2014-11-14 17:13:35 +01:00
2016-03-21 11:28:33 +01:00
2016-03-21 11:28:33 +01:00
2014-09-17 11:28:48 -06:00
2014-09-17 11:28:48 -06:00
2014-11-14 17:13:35 +01:00
2016-04-15 17:27:32 +02:00
2015-08-07 13:28:50 +02:00
2016-04-13 08:15:24 +02:00
2016-04-13 08:15:24 +02:00
2016-04-11 12:09:11 +02:00
2015-06-18 10:10:26 +02:00
2016-02-11 11:35:02 +01:00
2016-02-05 16:11:50 +01:00
2015-04-16 15:39:22 +02:00
2015-03-25 10:00:53 +01:00
2015-03-25 10:00:53 +01:00
2015-03-25 10:00:53 +01:00
2016-04-18 17:07:46 +02:00
2016-04-18 17:07:46 +02:00
2016-04-15 16:54:28 +01:00
2016-04-15 16:54:28 +01:00
2015-11-17 20:52:13 -05:00
2016-04-18 15:57:20 +02:00
2016-02-03 15:46:45 +01:00
2015-11-30 09:44:28 +01:00
2015-11-30 09:44:28 +01:00
2014-07-03 10:41:15 +02:00
2016-04-18 20:36:57 +02:00
2016-04-13 08:15:24 +02:00
2016-04-08 10:20:10 +03:00
2016-01-11 19:56:06 +03:00
2015-01-15 14:02:50 +00:00
2015-01-15 14:02:50 +00:00