<def-group>
  <!-- THIS FILE IS GENERATED by create_services_disabled.py.  DO NOT EDIT.  -->
  <definition class="compliance" id="service_avahi-daemon_disabled"
  version="1">
    <metadata>
      <title>Service avahi-daemon Disabled</title>
      <affected family="unix">
        <platform>Red Hat Enterprise Linux 6</platform>
      </affected>
      <description>The avahi-daemon service should be disabled if possible.</description>
      <reference source="DS" ref_id="20130918" ref_url="test_attestation" />
    </metadata>
    <criteria operator="AND" comment="service avahi-daemon is not configured to start">
      <criterion comment="avahi-daemon runlevel 0" test_ref="test_runlevel0_avahi-daemon" />
      <criterion comment="avahi-daemon runlevel 1" test_ref="test_runlevel1_avahi-daemon" />
      <criterion comment="avahi-daemon runlevel 2" test_ref="test_runlevel2_avahi-daemon" />
      <criterion comment="avahi-daemon runlevel 3" test_ref="test_runlevel3_avahi-daemon" />
      <criterion comment="avahi-daemon runlevel 4" test_ref="test_runlevel4_avahi-daemon" />
      <criterion comment="avahi-daemon runlevel 5" test_ref="test_runlevel5_avahi-daemon" />
      <criterion comment="avahi-daemon runlevel 6" test_ref="test_runlevel6_avahi-daemon" />
    </criteria>
  </definition>
  <unix:runlevel_test check="all" check_existence="any_exist"
  comment="Runlevel test" id="test_runlevel0_avahi-daemon"
  version="2">
    <unix:object object_ref="obj_runlevel0_avahi-daemon" />
    <unix:state state_ref="state_service_avahi-daemon_off" />
  </unix:runlevel_test>
  <unix:runlevel_test check="all" check_existence="any_exist"
  comment="Runlevel test" id="test_runlevel1_avahi-daemon"
  version="2">
    <unix:object object_ref="obj_runlevel1_avahi-daemon" />
    <unix:state state_ref="state_service_avahi-daemon_off" />
  </unix:runlevel_test>
  <unix:runlevel_test check="all" check_existence="any_exist"
  comment="Runlevel test" id="test_runlevel2_avahi-daemon"
  version="2">
    <unix:object object_ref="obj_runlevel2_avahi-daemon" />
    <unix:state state_ref="state_service_avahi-daemon_off" />
  </unix:runlevel_test>
  <unix:runlevel_test check="all" check_existence="any_exist"
  comment="Runlevel test" id="test_runlevel3_avahi-daemon"
  version="2">
    <unix:object object_ref="obj_runlevel3_avahi-daemon" />
    <unix:state state_ref="state_service_avahi-daemon_off" />
  </unix:runlevel_test>
  <unix:runlevel_test check="all" check_existence="any_exist"
  comment="Runlevel test" id="test_runlevel4_avahi-daemon"
  version="2">
    <unix:object object_ref="obj_runlevel4_avahi-daemon" />
    <unix:state state_ref="state_service_avahi-daemon_off" />
  </unix:runlevel_test>
  <unix:runlevel_test check="all" check_existence="any_exist"
  comment="Runlevel test" id="test_runlevel5_avahi-daemon"
  version="2">
    <unix:object object_ref="obj_runlevel5_avahi-daemon" />
    <unix:state state_ref="state_service_avahi-daemon_off" />
  </unix:runlevel_test>
  <unix:runlevel_test check="all" check_existence="any_exist"
  comment="Runlevel test" id="test_runlevel6_avahi-daemon"
  version="2">
    <unix:object object_ref="obj_runlevel6_avahi-daemon" />
    <unix:state state_ref="state_service_avahi-daemon_off" />
  </unix:runlevel_test>
  <unix:runlevel_object id="obj_runlevel0_avahi-daemon" version="1">
    <unix:service_name>avahi-daemon</unix:service_name>
    <unix:runlevel operation="equals">0</unix:runlevel>
  </unix:runlevel_object>
  <unix:runlevel_object id="obj_runlevel1_avahi-daemon" version="1">
    <unix:service_name>avahi-daemon</unix:service_name>
    <unix:runlevel operation="equals">1</unix:runlevel>
  </unix:runlevel_object>
  <unix:runlevel_object id="obj_runlevel2_avahi-daemon" version="1">
    <unix:service_name>avahi-daemon</unix:service_name>
    <unix:runlevel operation="equals">2</unix:runlevel>
  </unix:runlevel_object>
  <unix:runlevel_object id="obj_runlevel3_avahi-daemon" version="1">
    <unix:service_name>avahi-daemon</unix:service_name>
    <unix:runlevel operation="equals">3</unix:runlevel>
  </unix:runlevel_object>
  <unix:runlevel_object id="obj_runlevel4_avahi-daemon" version="1">
    <unix:service_name>avahi-daemon</unix:service_name>
    <unix:runlevel operation="equals">4</unix:runlevel>
  </unix:runlevel_object>
  <unix:runlevel_object id="obj_runlevel5_avahi-daemon" version="1">
    <unix:service_name>avahi-daemon</unix:service_name>
    <unix:runlevel operation="equals">5</unix:runlevel>
  </unix:runlevel_object>
  <unix:runlevel_object id="obj_runlevel6_avahi-daemon" version="1">
    <unix:service_name>avahi-daemon</unix:service_name>
    <unix:runlevel operation="equals">6</unix:runlevel>
  </unix:runlevel_object>
  <unix:runlevel_state comment="not configured to start" id="state_service_avahi-daemon_off" version="1">
    <unix:start datatype="boolean">false</unix:start>
    <unix:kill datatype="boolean">true</unix:kill>
  </unix:runlevel_state>
</def-group>
