-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
11873 lines (7340 loc) · 368 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2016-08-05 David Lutterkort <[email protected]>
man/augtool.pod: clarify the description of --load-file and load-file
2016-08-05 David Lutterkort <[email protected]>
* src/pathx.c: make numbers in path expressions 64 bit integers
Previously, they were whatever 'int' was, which might be too small, for
example to handle timestamps. With making them int64_t, it is now possible
to find files that have changed since a certain point in time with
match /augeas/files//*[mtime][int(mtime) >= TIMESTAMP]
where TIMESTAMP is in seconds since the epoch
2016-08-05 Loren Gordon <[email protected]>
Uses spaces between tokens instead of tabs for pam files
pam.d(5) man page states: "The format of each rule is a space
separated collection of tokens..." Previsouly, pam.aug used
`Util.del_ws_tab` to insert tabs as a token separator. This patch
modifies pamconf.aug and pam.aug to use `Sep.space`, which
uses a space as a separator instead.
Fixes #236
2016-08-05 Kaarle Ritvanen <[email protected]>
Shellvars: include lbu.conf
Alpine Linux Local Backup Utility
2016-08-05 Omer Katz <[email protected]>
Added nginx locations for homebrew installed nginx.
2016-08-04 g-coder <[email protected]>
NO_VA_END
Function 'va_end' was not called before internal.c:55 and internal.c:64 inside function 'pathjoin'.
Added 'va_end(ap)' before return statement.
2016-07-21 g-coder <[email protected]>
DEREF_OF_NULL
Return value of a function 'add_state' is dereferenced at fa.c:2776 without checking.
Added check on return value.
2016-07-11 Raphaël Pinson <[email protected]>
Update NEWS and AUTHORS
2016-07-11 Josef Reidinger <[email protected]>
Ntp: fix restrict to allow also -4 and also fix save/store ability (#386)
* fix restrict to allow also -4 and also fix save/store ability
* use backward compatible ip flags
2016-07-03 Raphaël Pinson <[email protected]>
Update NEWS
2016-07-03 Raphaël Pinson <[email protected]>
Add aug_load_file to load individual files
API:
- Add aug_load_file() API entry to load an individual file
Augtool:
- Add -l|--load-file option
- Add load-file command
Internal:
- change transform_load() signature to take a FILE filter
- expose filter_matches() in transform.h
2016-06-29 Raphaël Pinson <[email protected]>
Add /etc/profile and /etc/byobu to Shellvars.lns
2016-06-22 Dominic Cleal <[email protected]>
Httpd: follow line continuations in comments
2016-06-16 Raphaël Pinson <[email protected]>
Update NEWS and AUTHORS
2016-06-16 Anton Baranov <[email protected]>
Add lens to parse postfix password maps
2016-06-13 Raphaël Pinson <[email protected]>
Update NEWS
2016-06-13 Craig Miskell <[email protected]>
Support for rsyslog RainerScript syntax
Specifically configuration objects per http://www.rsyslog.com/doc/v8-stable/rainerscript/configuration_objects.html
2016-06-13 Raphaël Pinson <[email protected]>
Update AUTHORS and NEWS
2016-06-09 Craig Miskell <[email protected]>
Recent ntp.conf allows for 'pool' instead of 'server' et al
2016-05-16 Raphaël Pinson <[email protected]>
Update AUTHORS & NEWS
2016-05-16 Robert Moucha <[email protected]>
Add allow_writeable_chroot boolead option to vsftpd lens
* available since version 2.3.5 of vsftpd
* not well documented, yet widely used
2016-05-16 Raphaël Pinson <[email protected]>
It's already 2016
2016-05-11 David Lutterkort <[email protected]>
Version 1.5.0
Remove some test files with very long names
Since tar and automake have conspired to make it impossible to distribute
files with very long names, simply remove them; we still get coverage of
what we need since there is another ifcfg file with special characters in
the name
* Makefile.md: distribute HACKING.md rather than the now nonexistant HACKING
2016-05-07 Dominic Cleal <[email protected]>
Httpd: parse escaped spaces in directive/section arguments
Httpd: allow blank continuation lines in section args
2016-05-06 David Lutterkort <[email protected]>
* augrun.c (cmd_errors): include the path where an error happened if there is one
Make the error message when a tree does not match a lens easier to read
aug_get: set *value to NULL even if called with invalid path
Fixes https://github.com/hercules-team/augeas/issues/372
2016-05-04 David Lutterkort <[email protected]>
NEWS: add entry for chrony-2.4 additions
2016-05-04 Miroslav Lichvar <[email protected]>
Chrony: add new options
chrony-2.4 will have a new maxdrift directive and new options for the
local directive.
2016-04-29 Raphaël Pinson <[email protected]>
Properties: add test for empty comment
2016-04-26 David Lutterkort <[email protected]>
Set MALLOC_CHECK_ for some tests
The malloc in glibc can be told to check and abort a program for some cases
of incorrectly using memory. Turn these checks on for the lens and
interpreter tests (in tests/modules/) to give us some better coverage and
so that we can spot some memory handling errors.
2016-04-26 David Lutterkort <[email protected]>
Fix buffer overflow in format_union_atype
The change in commit 234de0e did not correctly calculate the length of the
output buffer, which would lead to writing beyond the end of that buffer,
and ultimately to memory corruption.
The format_atype (and ultimately, format_union_atype) functions are not
just used for debugging printing purposes, but also for error reporting
when users create invalid subtrees and try to save them. In that case,
merely creating an invalid tree can lead to a segfault.
This change corrects the length calculation and adds a test that fails with
the old length calculation, provided the test is run with MALLOC_CHECK_=3
in the environment.
Fixes issue #349
2016-04-25 Raphaël Pinson <[email protected]>
Update NEWS and AUTHORS
2016-04-25 Gerlof Fokkema <[email protected]>
Add support for redirecting output to named pipes.
2016-04-25 Raphaël Pinson <[email protected]>
Update NEWS and AUTHORS
2016-04-22 Chris Reeves <[email protected]>
logrotate: support dateyesterday option (GH #367)
2016-04-22 Raphaël Pinson <[email protected]>
Update AUTHORS and NEWS
Puppetfile: add support for moduledir (Christoph Maser)
2016-04-18 Cédric Bosdonnat <[email protected]>
Add lens to parse /etc/default/star
/etc/default/star is not really matching the shellvars expected syntax.
Create a lens for it based on man 1 star and exclude it from the
shellvars lens.
2016-04-15 Cédric Bosdonnat <[email protected]>
smbusers: add support for ; comments
2016-03-31 Kaarle Ritvanen <[email protected]>
add paths to default filters
additions mostly specific to Alpine Linux directory layout
2016-03-31 Raphaël Pinson <[email protected]>
Updating NEWS
2016-03-31 Cédric Bosdonnat <[email protected]>
Exclude network/if-up.d/SuSEfirewall2 in shellvars lens
openSUSE has /etc/sysconfig/network/if-up.d/SuSEfirewall2 that is not a
shell variable script, exclude it to avoid errors.
2016-03-31 Raphaël Pinson <[email protected]>
Update NEWS
2016-03-31 Cédric Bosdonnat <[email protected]>
host_conf lens: spaces between list items support
List items are separated by commas in host.conf, but we may find spaces
on top of the comma.
2016-03-31 Raphaël Pinson <[email protected]>
Update AUTHORS and NEWS
2016-03-30 Cédric Bosdonnat <[email protected]>
inputrc lens: support @else
@if structures can also have an @else, let's read them into another
subtree.
inputrc lens: support mapping like ","
The mapping values aren't always words. They can also be quoted values
containing characters like [,+/*-]
2016-03-29 Raphaël Pinson <[email protected]>
Add missing test
2016-03-02 Raphaël Pinson <[email protected]>
MySQL: include /etc/my.cnf.d/*.cnf (fix #353)
2016-02-25 Dominic Cleal <[email protected]>
Httpd: permit backslashes in section tags
Fixes a regression introduced by 0b22176 which failed when a backslash
was present in a section tag. Now it's permitted apart from being the
last character, when it's taken to be a line continuation.
2016-02-25 Raphaël Pinson <[email protected]>
NEWS
Trapperkeeper: new lens for Puppetserver configuration files
2016-02-23 Dominic Cleal <[email protected]>
Httpd: parse line continuations in section arguments
2016-02-11 Raphaël Pinson <[email protected]>
Update NEWS
2016-02-11 Miroslav Lichvar <[email protected]>
Chrony: improve lens
Add new directives and options that were added in chrony-2.2 and
chrony-2.3.
Also, improve parsing of access configuration. The allow, deny,
cmdallow, and cmddeny directives can be specified with no address and
they can use the "all" option.
2016-01-04 Raphaël Pinson <[email protected]>
YAML: continued lines
YAML: Documentation
YAML: add support for headers
2015-12-23 Raphaël Pinson <[email protected]>
Shellvars: add unsupported syntax to tests (Issue #343)
2015-12-22 Raphaël Pinson <[email protected]>
Update NEWS
Interfaces: add support for source-directory (Issue #306)
Update NEWS
Shellvars: support subshells (Issue #339)
Shellvars: newlines in start of functions
Shellvars: allow newlines after actions
Shellvars: support comments after function name (Issue #339)
Update NEWS
AptConf: allow empty hash-style comments
Util: add empty_any
Update NEWS
2015-12-22 Omer Katz <[email protected]>
Nginx: add @server simple nodes (Issue #335)
Thanks to Omer Katz for the test case.
2015-12-22 Raphaël Pinson <[email protected]>
Update NEWS and AUTHORS
2015-12-22 Dimitar Dimitrov <[email protected]>
Yaml subset lens
2015-12-21 Raphaël Pinson <[email protected]>
Httpd: support perl directives (Issue #327)
2015-12-18 Raphaël Pinson <[email protected]>
Update NEWS
2015-12-18 Kaarle Ritvanen <[email protected]>
Shellvars: allow command-specific environment variables
2015-12-17 Dominic Cleal <[email protected]>
Httpd: parse directive args containing quotes
* tests/test-save.c (testSaveNoPermission): skip when root
2015-12-17 Raphaël Pinson <[email protected]>
Update NEWS and AUTHORS
2015-12-17 florian chazal <[email protected]>
Vsftpd: add isolate and isolate_network options
2015-12-17 Kaarle Ritvanen <[email protected]>
Shellvars: test case for wrapping command arguments
2015-12-17 Raphaël Pinson <[email protected]>
Update NEWS
2015-12-17 Kaarle Ritvanen <[email protected]>
Shellvars: allow wrapping command sequences
2015-12-17 Raphaël Pinson <[email protected]>
Update NEWS
Nginx: allow masks in IP keys and IPv6 (GH #260)
2015-12-10 Dominic Cleal <[email protected]>
Httpd: parse directive args starting with double quote
ErrorDocument and similar directives can take a message as the last or
only argument, which starts with a double quote and ends at the EOL.
Fixes #330
2015-12-07 Dominic Cleal <[email protected]>
Httpd: parse wordlists in braces in SSLRequire directives
2015-12-04 Dominic Cleal <[email protected]>
Httpd: parse multiple ending section tags on one line
Httpd: parse mismatching case in opening/closing tags
2015-12-02 Dominic Cleal <[email protected]>
Httpd: parse backslashes at the start of directive args
Fixes #324
2015-11-30 David Lutterkort <[email protected]>
Skip hidden tree nodes in path expressions
When we were evaluating path expressions, we were not skipping hidden tree
nodes, i.e. tree nodes whose label is NULL. In most cases, that's not
visible to users, but when we match something like /foo/*[2] where /foo has
a bunch of hidden children, the result was not what the user might expect,
as we might actually return a hidden node to aug_match, which would
suppress that node and make it seem to the user as if nothing had matched.
With this patch, we try to skip over hidden nodes while evaluating the path
expression to avoid this issue.
Thanks to Xavier Mol for reporting this
2015-11-25 David Lutterkort <[email protected]>
* HACKING.md: add a note on using Homebrew to install readline on OSX
Thanks to Daniel Trebbien for the tip
2015-11-25 David Lutterkort <[email protected]>
* src/augtool.c: add stubs for readline functions missing on OSX
OSX ships with a crippled version of readline, libedit, which does not
contain rl_crlf and rl_replace_line. This patch makes builds on OSX work
again by providing trivial replacements for these functions.
Fixes https://github.com/hercules-team/augeas/issues/256
2015-11-25 David Lutterkort <[email protected]>
* HACKING.md: rename from HACKING and format as markdown
2015-11-25 David Lutterkort <[email protected]>
aug_rm: fix segfault when deleting a tree and one of its ancestors
In a tree like /files/1/2, when we execute 'rm /files//*', the path
expression matches /files/1 and /files/1/2. When tree_rm goes to delete
these two nodes, it first deletes (frees) /files/1 and all its
descendents. By the time we try to delete /files/1/2, the pointer we have
to that is no longer valid and we end up causing a double-free.
With this change, we make sure we only delete a node if none of its
ancestors is being deleted beforehand in the same operation - deleting a
node, and one of its ancestors afterwards is fine as the pointer to the
ancestor is still valid.
Fixes https://github.com/hercules-team/augeas/issues/319
Special shoutout to Geoff Williams for finding, diagnosing and filing a
great bug report about this.
2015-11-25 Daniel Trebbien <[email protected]>
fa.h: Minor documentation improvements
2015-11-25 Daniel Trebbien <[email protected]>
Fix fa_ambig_example() when the automata involve NULs
After the example for `amb' was calculated, the code that generated the
*UPV string and pointers *PV and *V within this string used strlen() to
calculate the length of the example; however, the example string may
contain NUL bytes. Thus, it could happen that not enough space would be
allocated for the *UPV string.
Instead of computing the length of the example using strlen(), just use
`s_len'.
Added a new test to fatest, testAmbigWithNuls.
2015-11-24 Dominic Cleal <[email protected]>
Httpd: parse backslashes in unquoted directive args
Fixes issue #307
2015-11-24 David Lutterkort <[email protected]>
NEWS: updated for commit baa87fdc
* src/augtool.c: print brief, more standard message when invalid option is given
Instead of dumping all our help, just tell hte user to run with --help when
they provide an unsupported option.
* src/augtool.c: new option '--timing' to print timing info after each command
2015-11-24 Daniel Trebbien <[email protected]>
Correct the documentation of fa_minimize()
It uses the currently-set fa_minimization_algorithm.
Fix a Clang 'sometimes-uninitialized' warning
clang-700.1.76 was issuing a 'sometimes-uninitialized' warning for
minimize_hopcroft() because it was possible for control flow to reach
the `for (int i=0; i < nstates*nsigma; i++)' loop in done: before
`nstates' and/or `nsigma' were initialized.
Fix a Clang 'sometimes-uninitialized' warning in aug_escape_name()
If `in' or `out' is NULL, then the uninitialized value of `result' was
returned.
2015-11-18 Raphaël Pinson <[email protected]>
Update NEWS
Ssh: add support for GlobalKnownHostsFile
2015-10-03 David Lutterkort <[email protected]>
Update the end year in Copyright statements to 2015
* man/ : update copyright in man pages, correct email address
* man/augtool.pod: update copyright statement
Because of Red Hat's copyright policy for employees, the statement
'Copyright Red Hat' had never been true, and it was 'Copyright David
Lutterkort' all along.
2015-09-29 David Lutterkort <[email protected]>
* src/pathx.c (ns_from_locpath): special-case 'name[42]' path expressions
We know that in a path expression like 'name[42]', only one node can
possibly match, and that we simply need to step through all the nodes and
count until we've reached the 42nd matching node. This greatly simplifies
how we construct the resulting nodeset, and is done in the new function
position_filter.
2015-09-28 David Lutterkort <[email protected]>
* src/pathx.c (ns_filter): speed up by removing nodes in batches
We used to remove nodes that did not match one-by-one by calling memmove
for each of them. Now we batch runs of non-matching nodes and call memmove
only once for each run. The common case of a predicate that matches only
one node at a certain position ('service[17]') now requires two memmoves
rather than size(ns)-1 many memmoves.
This leads to a drastic performance improvement for large nodesets.
2015-09-28 David Lutterkort <[email protected]>
Speed up the duplicate check when constructing nodesets
When we evaluate path expressions, we need to construct nodesets, and they
truly need to be sets, i.e. contain each node at most once. This leads to
problems when a node has lots of children with the same name. The duplicate
check in ns_add lead to O(n^2) behavior for nodes with n children.
We simplify this by adding a flag to each tree node that we use only around
repeated calls of ns_add when we construct a node set. This is possible
since the construction of nodesets is very local, and it is therefore easy
to determine where we need to put the call to ns_clear_added when we are
done building the nodeset.
2015-09-28 Dominic Cleal <[email protected]>
* test-perf.c (testPerfPredicate): add test showing slow predicates
When parsing a file with NagiosObjects and many objects inside, a large
tree forms like this:
/files/etc/nagios/objects/services.cfg/service[1]
/files/etc/nagios/objects/services.cfg/service[2]
...
/files/etc/nagios/objects/services.cfg/service[5000]
aug_get performance is pretty terrible at this size when using a path
above, due to the evaluation of the [5000] predicate. Paths without a
predicate (e.g. using seq or uniquely labelled nodes) are retrieved
quickly.
The time taken to set and get 5,000 such nodes is recorded in
tests/test-perf.log and is currently about:
testPerfPredicate = 66636ms
A helper to run Valgrind's callgrind tool is added to src/try.
2015-09-15 Raphaël Pinson <[email protected]>
Update AUTHORS
2015-09-14 Raphaël Pinson <[email protected]>
Update NEWS
2015-09-14 Geoff Williams <[email protected]>
Sudoers: support for negated command alias (Issue #262)
2015-09-14 Raphaël Pinson <[email protected]>
Update NEWS
Aptsources: fix name in Makefile
Aptsources: rename test file properly
Aptsources: support brackets with spaces in URI (GH #296)
Aptsource: support operation on options (GH #295)
Aptsource: support options (GH #295)
2015-09-08 Raphaël Pinson <[email protected]>
Update NEWS
Dhclient: avoid put ambiguity for node without value
2015-09-07 Raphaël Pinson <[email protected]>
Update NEWS
Merge commit 'refs/pull/289/head' of github.com:hercules-team/augeas
Update NEWS and AUTHORS
2015-09-01 Oliver Mangold <[email protected]>
ssh lense: adding new keywords HostKeyAlgorithms, KexAlgorithms and PubkeyAcceptedKeyTypes
multipath.conf lense: added bunch of missing keywords
2015-09-01 Raphaël Pinson <[email protected]>
Update NEWS and AUTHORS
Merge commit 'refs/pull/278/head' of github.com:hercules-team/augeas
2015-08-31 Justin Akers <[email protected]>
openvpn: simple ipv6 regex to save memory for tests
2015-08-27 Raphaël Pinson <[email protected]>
Puppetfile: separator is not mandatory
Json: parse verbatim escaped spaces and newlines in quotes
Json: refactor escapes in quotes
Json: allow escaped quotes and blackslashes
2015-08-25 Raphaël Pinson <[email protected]>
Update NEWS
Reprepro_Uploaders: support unused group declaration
Reprepro_Uploaders: support empty group declaration
Reprepro_Uploaders: support group contains declaration
Reprepro_Uploaders: support group declaration
Reprepro_Uploaders: support group conditions
Shellvars: allow &&/|| in commands
2015-08-24 Raphaël Pinson <[email protected]>
Spacevars: Support flags
Fix #279
Typo
Update NEWS and AUTHORS
2015-08-22 Gregory Smith <[email protected]>
Rsyslog: Improve property filter parsing.
- Treat whitespace after commas as optional.
- Recognize '~' as a valid syslog action (discard).
2015-08-06 Justin Akers <[email protected]>
openvpn: added all options available in OpenVPN2.3 and all tests
2015-08-05 Mathieu Alorent <[email protected]>
Reprepro_Uploaders: Add support for distribution field
2015-08-03 Raphaël Pinson <[email protected]>
Shellvars: support pipes in commands
2015-08-03 Raphaël Pinson <[email protected]>
Shellvars: Allow (almost) any command
Note: this may have edge effects in recursive sublenses
that augparse cannot check.
2015-08-03 Raphaël Pinson <[email protected]>
Update NEWS
2015-08-03 Joe Topjian <[email protected]>
Keepalived: Allow notify option
Keepalived: Expanding vrrp_sync_group block
Keepalived: Adding vrrp_script options
Keepalived: Added missing garp options
Keepalived: Added mcast/unicast_src_ip and unicast_peer
These are related option that handle unicast configuration of
keepalived. They are configured as EOL options since I believe they can
take both IPv4 and IPv6 addresses.
Keepalived: Added more vrrp_instance flags
Keepalived: Added vrrp_mcast_group4 and vrrp_mcast_group6
Keepalived: fixing spacing/tag alignments and hanging spaces.
2015-08-03 Julien Pivotto <[email protected]>
Fstab: remove unneeded brackets
2015-08-03 Raphaël Pinson <[email protected]>
CSV: New lens to parse CSV files (Issue #275)
Update NEWS and AUTHORS
2015-08-03 Julien Pivotto <[email protected]>
Add a tmpfiles.d lens
2015-07-30 Dominic Cleal <[email protected]>
Rhsm: new lens to parse subscription-manager's rhsm.conf
2015-07-30 Raphaël Pinson <[email protected]>
Json: improve readability
Json: Cleanup and refactor
Use comment_delim instead of comment_multiline
Use Util.del_str instead of delim
Use Quote.dquote
Simplify comments
Json: Move recursion tests to test_json.aug
2015-07-30 Joe Topjian <[email protected]>
Rabbitmq: Utilizing regexes for some options
Rabbitmq: Adding versions option to ssl_options
Rabbitmq: Adding some missing simple options
Rabbitmq: cluster_partitioning_handling
Adds support for the rabbitmq.config cluster_partition_handling option.
Rabbitmq: Removed space in option name
2015-07-30 Kaarle Ritvanen <[email protected]>
Shellvars: allow && and || constructs after condition
Shellvars: use sto_to_semicol in condition lens
Shellvars: pattern nodes in case entries
Breaking change: case entry values are now in a @pattern subnode.
2015-07-30 jamido <[email protected]>
Support for SLES
Added SLES vhosts path
2015-07-30 Raphaël Pinson <[email protected]>
Shellvars: add alias builtin support
Shellvars: add eval builtin support
2015-07-29 Raphaël Pinson <[email protected]>
OpenShift_Quickstarts: Fix tests after Json update
OpenShift_Quickstarts: Use Json.lns lens
Json: multiline comments
Json: support empty comments
Json: Support comments, C-style
2015-07-13 Raphaël Pinson <[email protected]>
Ntp: support basic interface syntax
AptConf: Support hash comments
Util: Add comment_c_style_or_hash
2015-07-13 Kaarle Ritvanen <[email protected]>
Shellvars: case: support quotes and spaces in pattern lists
Shellvars: allow quotes in loop conditions
Shellvars: allow wrapping builtin arguments to multiple lines
Shellvars: guard against comments
Shellvars: allow wrapping loop condition to multiple lines
Shellvars: allow partial quoting, mixing multiple styles
2015-07-13 Raphaël Pinson <[email protected]>
Shellvars: Add test for [[]]
Shellvars: accept [] and [[]] builtins
Fix GH #188
2015-07-13 Matt Dainty <[email protected]>
Update /etc/group lens for NIS map
Supports an overridden and disabled password, i.e. `+:*::`
Add support for /etc/master.passwd
2015-06-30 Raphaël Pinson <[email protected]>
Nginx: Add non-recursive ambiguities test
Update NEWS
Merge branch 'dev/xml_empty'
2015-06-12 Raphaël Pinson <[email protected]>
Rework Known_Hosts
Known_Hosts: fix description
2015-06-09 Raphaël Pinson <[email protected]>
Xml: Accept empty document
2015-06-05 Jasper Lievisse Adriaanse <[email protected]>
Simplelines: parse OpenBSD's hostname.if(5) files
2015-06-05 Dominic Cleal <[email protected]>
Update NEWS, AUTHORS
2015-06-04 Miroslav Lichvar <[email protected]>
Chrony: add missing directives and options
Add all missing directives and options that are supported in the current
chrony git.
Chrony: include end of line in broadcast with port
Chrony: allow indentation and don't allow comment on end of line
2015-06-03 Miroslav Lichvar <[email protected]>
Chrony: allow signed numbers
2015-06-01 David Lutterkort <[email protected]>
Version 1.4.0
* src/augeas_sym.version: correct version for aug_escape_name
The (unreleased) version for aug_escape_name was erroneously set to 0.19.0
in commit 1aa51f93; the correct version for the next release is 0.20.0
Httpd: add test to verify that issue #140 is fixed
Issue: https://github.com/hercules-team/augeas/issues/140
2015-06-01 David Lutterkort <[email protected]>
Fix SEGV when target file is not writable
When the file we want to wirte to is not writable by us, we used to
segfault. With this change, we now report a proper error.
Fixes https://github.com/hercules-team/augeas/issues/178
2015-06-01 David Lutterkort <[email protected]>
Add the default ssl.conf from CentOS 6.6
This shows that Issue #191 is fixed
2015-06-01 Matt Dainty <[email protected]>
Passwd: fix @nisdefault on OpenBSD
Following passwd(5) on OpenBSD results in an /etc/passwd NIS entry like:
+:*:0:0:::
Passwd lens barfs on the '*' password. Change to match how normal entries are
matched.
2015-06-01 Borislav Stoichkov <[email protected]>
Passwd: support nis [+-]username syntax
The /etc/passwd file can contain nis users with the syntax [+-]username for
the pruprose of including or excluding specific accounts.
Importing of particular users' accounts can be restricted by using the
prefix "+" with a username.
root:x:0:0:root user:/home/root:/bin/bash
+bob::::::
+alice::::Alice:/home/alice:/bin/bash
Certain users' accounts can be excluded from being imported by using the
"-" prefix with a username.
root:x:0:0:root user:/home/root:/bin/bash
-bob::::::
+
The string that can comprise a valid username has been updated to cover a
range slightly larger that the definitions in POSIX
(http://pubs.opengroup.org/onlinepubs/9699919799/ , section 3.431),
is_valid_name() in chkname.c in shadow-utils and the NAME_REGEX definition
in distributions where defined. Rx.word was too broad and did not allow for
the -username syntax.
2015-05-27 Michael Moll <[email protected]>
integrate two patches from FreeBSD ports
- /boot/loader.conf can be parsed with the sysctl lens
- /etc/perodic.conf can be parsed with the shellvars lens
2015-05-22 David Lutterkort <[email protected]>
Grub: support a password stanza inside a boot/title section
The biggest change in this commit is changing the structure of lns: it now
says that boot sections have to come after the general menu_setting and
debian sections. Since 'password' is legal in both a top-level menu_setting
and in a boot section, that is necessary to keep the lens unambiguous.
Fixes https://github.com/hercules-team/augeas/issues/229
2015-05-22 Borislav Stoichkov <[email protected]>
Shadow: allow NIS entries
Add support for the NIS default entry + and the nis default entry with
overrides +::::::::
Based on https://github.com/hercules-team/augeas/pull/237
2015-05-22 Geoffrey Gardella <[email protected]>
Updated tests/test-put-symlink-augsave.sh to remedy failure on Solaris
Due to output from 'sum' command containing the filename.
Fixes #242
2015-05-21 David Lutterkort <[email protected]>
Nginx: change how we handle indentation of lines
Before this change, any change to the file would drop all indentation from
it. Now, we preserve existing indentation. Newly inserted lines don't get
the indentation of their block, but at least we preserve it for existing lines
2015-05-20 David Lutterkort <[email protected]>
* NEWS: add note about errors command and better error messages
Should have been part of the last 4 commits, but I fat-fingered the push.
Suppress repeated errors about not finding a module
We used to print 'Could not load module XYZ' every time that module wsa
mentioned. To cut down the number of annoying error messages, we now create
an empty dummy module when we fail to look one up; subsequent lookups will
find that and therefore not print the error message again.
2015-05-20 David Lutterkort <[email protected]>
* src/lens.c (lns_format_atype): make output more readable
Try to make the output more readable by using better formatting:
- each entry in a concatenation and a union now goes on its own line
- indent formatted entries