This file is indexed.

/usr/share/pacemaker/resources-1.0.rng is in pacemaker-common 1.1.18-0ubuntu1.

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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0" 
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  <start>
      <ref name="element-resources"/>
  </start>

  <define name="element-resources">
    <element name="resources">
      <zeroOrMore>
        <choice>
          <ref name="element-primitive"/>
          <ref name="element-group"/>
          <ref name="element-clone"/>
          <ref name="element-master"/>
        </choice>
      </zeroOrMore>
    </element>
  </define>

  <define name="element-primitive">
    <element name="primitive">
      <interleave>
        <attribute name="id"><data type="ID"/></attribute>
        <choice>
          <group>
            <attribute name="class"><value>ocf</value></attribute>
            <attribute name="provider"><text/></attribute>
          </group>
          <attribute name="class">
            <choice>
              <value>lsb</value>
              <value>heartbeat</value>
              <value>stonith</value>
              <value>upstart</value>
            </choice>
          </attribute>
        </choice>
        <attribute name="type"><text/></attribute>
        <optional>
          <attribute name="description"><text/></attribute>
        </optional>
        <ref name="element-resource-extra"/>
        <ref name="element-operations"/>
      </interleave>
    </element>
  </define>

  <define name="element-group">
    <element name="group">
      <attribute name="id"><data type="ID"/></attribute>
      <optional>
        <attribute name="description"><text/></attribute>
      </optional>
      <interleave>
        <ref name="element-resource-extra"/>
        <oneOrMore>
          <ref name="element-primitive"/>
        </oneOrMore>
      </interleave>
    </element>
  </define>
 
  <define name="element-clone">
    <element name="clone">
      <attribute name="id"><data type="ID"/></attribute>
      <optional>
        <attribute name="description"><text/></attribute>
      </optional>
      <interleave>
        <ref name="element-resource-extra"/>
        <choice>
          <ref name="element-primitive"/>
          <ref name="element-group"/>
        </choice>
      </interleave>
    </element>
  </define>

  <define name="element-master">
    <element name="master">
      <attribute name="id"><data type="ID"/></attribute>
      <optional>
        <attribute name="description"><text/></attribute>
      </optional>
      <interleave>
        <ref name="element-resource-extra"/>
        <choice>
          <ref name="element-primitive"/>
          <ref name="element-group"/>
        </choice>
      </interleave>
    </element>
  </define>

  <define name="element-resource-extra">
      <zeroOrMore>
        <choice>
          <element name="meta_attributes">
            <externalRef href="nvset.rng"/>
          </element>
          <element name="instance_attributes">
            <externalRef href="nvset.rng"/>
          </element>
        </choice>
      </zeroOrMore>
  </define>
 
  <define name="element-operations">
    <optional>
      <element name="operations">
        <optional>
          <attribute name="id"><data type="ID"/></attribute>
        </optional>
        <optional>
          <attribute name="id-ref"><data type="IDREF"/></attribute>
        </optional>
        <zeroOrMore>
          <element name="op">
            <attribute name="id"><data type="ID"/></attribute>
            <attribute name="name"><text/></attribute>
            <attribute name="interval"><text/></attribute>
            <optional>
              <attribute name="description"><text/></attribute>
            </optional>
            <optional>
              <choice>
                <attribute name="start-delay"><text/></attribute>
                <attribute name="interval-origin"><text/></attribute>
              </choice>
            </optional>
            <optional>
              <attribute name="timeout"><text/></attribute>
            </optional>
            <optional>
              <attribute name="enabled"><data type="boolean"/></attribute>
            </optional>
            <optional>
              <attribute name="record-pending"><data type="boolean"/></attribute>
            </optional>
            <optional>
              <attribute name="role">
                <choice>
                  <value>Stopped</value>
                  <value>Started</value>
                  <value>Slave</value>
                  <value>Master</value>
                </choice>
              </attribute>
            </optional>
            <optional>
              <attribute name="requires">
                <choice>
                  <value>nothing</value>
                  <value>quorum</value>
                  <value>fencing</value>
                </choice>
              </attribute>
            </optional>
            <optional>
              <attribute name="on-fail">
                <choice>
                  <value>ignore</value>
                  <value>block</value>
                  <value>stop</value>
                  <value>restart</value>
                  <value>standby</value>
                  <value>fence</value>
                </choice>
              </attribute>
            </optional>
            <ref name="element-resource-extra"/>
          </element>
        </zeroOrMore>
      </element>
    </optional>
  </define>

</grammar>