This file is indexed.

/usr/share/augeas/lenses/dist/tests/test_mke2fs.aug is in augeas-lenses 1.2.0-0ubuntu1.3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
(* Test for keepalived lens *)

module Test_mke2fs =

   let conf = "# This is a comment 
; and another comment

[defaults]
	base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr
	default_mntopts = acl,user_xattr
	enable_periodic_fsck = 0
	blocksize = 4096
	inode_size = 256
        ; here goes inode_ratio
	inode_ratio = 16384

[fs_types]
 ; here we have fs_types
	ext4dev = {
                # this is ext4dev conf

		features = has_journal,^extent
		auto_64-bit_support = 1
		inode_size = 256
		options = test_fs=1
	}
	small = {
		blocksize = 1024
		inode_size = 128
		inode_ratio = 4096
	}
	largefile = {
		inode_ratio = 1048576
		blocksize = -1
	}
"

   test Mke2fs.lns get conf =
     { "#comment" = "This is a comment" }
     { "#comment" = "and another comment" }
     {}
     { "defaults"
        { "base_features"
             { "sparse_super" }
             { "filetype" }
             { "resize_inode" }
             { "dir_index" }
             { "ext_attr" } }
        { "default_mntopts"
             { "acl" }
             { "user_xattr" } }
        { "enable_periodic_fsck" = "0" }
        { "blocksize" = "4096" }
        { "inode_size" = "256" }
        { "#comment" = "here goes inode_ratio" }
        { "inode_ratio" = "16384" }
        {} }
     { "fs_types"
        { "#comment" = "here we have fs_types" } 
        { "filesystem" = "ext4dev"
             { "#comment" = "this is ext4dev conf" }
             {}
             { "features"
                { "has_journal" }
                { "extent"
                   { "disable" } } }
             { "auto_64-bit_support" = "1" }
             { "inode_size" = "256" }
             { "options"
                { "test_fs" = "1" } } }
        { "filesystem" = "small"
             { "blocksize" = "1024" }
             { "inode_size" = "128" }
             { "inode_ratio" = "4096" } }
        { "filesystem" = "largefile"
             { "inode_ratio" = "1048576" }
             { "blocksize" = "-1" } } }


test Mke2fs.fs_types_entry
   put "features = has_journal,^extent\n"
   after set "/features/has_journal/disable" "";
   rm "/features/extent/disable" = "features = ^has_journal,extent\n"