This file is indexed.

/usr/share/augeas/lenses/tests/test_corosync.aug is in corosync 2.3.5-3ubuntu1.

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
 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
module Test_corosync =

  let conf = "# Please read the corosync.conf.5 manual page

totem {
	version: 2
	secauth: off
	crypto_cipher: none
	crypto_hash: none
	threads: 0
	clear_node_high_bit: no
	rrp_mode: none
	transport: udp
	token: 1000
	interface {
		ringnumber: 0
		bindnetaddr: 192.168.122.1
		mcastaddr: 226.94.1.1
		ttl: 45
		mcastport: 5405
	}
}

logging {
	fileline: off
    function_name: on
	to_stderr: yes
	to_logfile: yes
	to_syslog: yes
	logfile: /tmp/corosync.log
	debug: off
	timestamp: on
	logger_subsys {
	    to_syslog: no
		subsys: CPG
		debug: on
	}
	logger_subsys {
	    to_stderr: no
	    logfile: /tmp/corosync-msg.log
		subsys: MSG
		debug: on
		tags: enter|trace4
	}
}

quorum {
    provider: corosync_votequorum
    expected_votes: 5
    votes: 2
    two_node: 1
    wait_for_all: 1
    last_man_standing: 1
    last_man_standing_window: 10000
    auto_tie_breaker: 1
}

resources {
	system {
		memory_used {
			recovery: reboot
			max: 80
		}
		load_15min {
			recovery: watchdog
			max: 8.56
		}
	}
}

uidgid {
    uid: 0
    gid: 0
}

nodelist {
	node {
		ring0_addr: 192.168.122.1
		nodeid: 1
		quorum_votes: 2
	}

	node {
		ring0_addr: 192.168.122.2
		ring1_addr: 192.168.123.1
		nodeid: 2
	}
}\n"

test Corosync.lns get conf =

  { "#comment" = "Please read the corosync.conf.5 manual page" }
  { }
  { "totem"
	{ "version" = "2" }
	{ "secauth" = "off" }
	{ "crypto_cipher" = "none" }
	{ "crypto_hash" = "none" }
	{ "threads" = "0" }
    { "clear_node_high_bit" = "no" }
    { "rrp_mode" = "none" }
    { "transport" = "udp" }
    { "token" = "1000" }
	{ "interface"
		{ "ringnumber" = "0" }
		{ "bindnetaddr" = "192.168.122.1" }
		{ "mcastaddr" = "226.94.1.1" }
		{ "ttl" = "45" }
		{ "mcastport" = "5405" } } }
  { }
  { "logging"
	{ "fileline" = "off" }
	{ "function_name" = "on" }
	{ "to_stderr" = "yes" }
	{ "to_logfile" = "yes" }
	{ "to_syslog" = "yes" }
	{ "logfile" = "/tmp/corosync.log" }
	{ "debug" = "off" }
	{ "timestamp" = "on" }
	{ "logger_subsys"
	    { "to_syslog" = "no" }
		{ "subsys" = "CPG" }
		{ "debug" = "on" } }
	{ "logger_subsys"
	    { "to_stderr" = "no" }
	    { "logfile" = "/tmp/corosync-msg.log" }
		{ "subsys" = "MSG" }
		{ "debug" = "on" }
		{ "tags" = "enter|trace4" } } }
  { }
  { "quorum"
    { "provider" = "corosync_votequorum" }
    { "expected_votes" = "5" }
    { "votes" = "2" }
    { "two_node" = "1" }
    { "wait_for_all" = "1" }
    { "last_man_standing" = "1" }
    { "last_man_standing_window" = "10000" }
    { "auto_tie_breaker" = "1" } }
  { }
    { "resources"
	  { "system"
		{ "memory_used"
			{ "recovery" = "reboot" }
			{ "max" = "80" } }
		{ "load_15min"
			{ "recovery" = "watchdog" }
			{ "max" = "8.56" } } } }
  { }
  { "uidgid"
    { "uid" = "0" }
    { "gid" = "0" } }
  { }
  { "nodelist"
    { "node"
      { "ring0_addr" = "192.168.122.1" }
      { "nodeid" = "1" }
      { "quorum_votes" = "2" } }
    { }
    { "node"
      { "ring0_addr" = "192.168.122.2" }
      { "ring1_addr" = "192.168.123.1" }
      { "nodeid" = "2" } } }