Project

General

Profile

Actions

action #39674

closed

Create AY test to verify on-demand service start

Added by riafarov over 5 years ago. Updated 3 months ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Target version:
-
Start date:
2018-08-13
Due date:
% Done:

0%

Estimated time:
Tags:

Description

Motivation

Since SLE15 SP1 following format can be used to start services on demand:

<services>
  <enable config:type="list">
    <service>at</service>
    <service>sshd</service>
  </enable>
  <disable config:type="list">
    <service>libvirtd</service>
  </disable>
  <on_demand config:type="list">
    <service>cups</service>
  </on_demand>
</services>

Also see trello.

Acceptance criteria

  1. The <on_demand> section for some service is verified in an automatic test:

    For service like cups we should validate that cups.service is disabled, and cups.socket is active and enabled and triggers cups.service/.

  2. Generation of the autoyast profile for the given service is validated

Suggestions

  • Add according section (e.g. cups) to either existing profile for SLE15 or new profile and add automated test based on that
  • Add verification in test
Actions

Also available in: Atom PDF