• rhel-system-roles-1.90.0-0.1.el9
    • None
    • rhel-sst-system-roles
    • 0
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • None
    • Enhancement
    • Hide
      .The `systemd` RHEL system role can manage user units in addition to system units

      With this update, the `systemd` RHEL system role can now also manage user units. For each unit file or unit specified in `systemd_unit_files`, or `systemd_unit_file_templates`, or `systemd_started_units` etc., you can add a `user: name` if you want that file/unit to be managed for the given user. The default is `root` which is used for system units.

      In order to get the units on the system managed by the role, including both system and user units, a new return variable has been added:

      * `systemd_units_user` (dictionary): Each key is a name of a user given in one of the lists passed to the role, and `root` (even if `root` is not given). Each value is a dictionary of `systemd` units for that user, or system units for `root`.

      [IMPORTANT]
      ====
      The role does not create new users and it will return an error if you specify a non-existent user.
      ====

      As a result, you can manage user units with the `systemd` RHEL system role.

      For more details, see the resources in the `/usr/share/doc/rhel-system-roles/systemd/` directory.
      Show
      .The `systemd` RHEL system role can manage user units in addition to system units With this update, the `systemd` RHEL system role can now also manage user units. For each unit file or unit specified in `systemd_unit_files`, or `systemd_unit_file_templates`, or `systemd_started_units` etc., you can add a `user: name` if you want that file/unit to be managed for the given user. The default is `root` which is used for system units. In order to get the units on the system managed by the role, including both system and user units, a new return variable has been added: * `systemd_units_user` (dictionary): Each key is a name of a user given in one of the lists passed to the role, and `root` (even if `root` is not given). Each value is a dictionary of `systemd` units for that user, or system units for `root`. [IMPORTANT] ==== The role does not create new users and it will return an error if you specify a non-existent user. ==== As a result, you can manage user units with the `systemd` RHEL system role. For more details, see the resources in the `/usr/share/doc/rhel-system-roles/systemd/` directory.
    • Done
    • None

      Goal

      • support management of user units
        • As a user, I want to manage systemd units for myself and other non-root users.

      Acceptance Criteria

      • Verify that the systemd role can manage non-root units

              rmeggins@redhat.com Richard Megginson
              rmeggins@redhat.com Richard Megginson
              Michal Sekletar Michal Sekletar
              David Jez David Jez
              Jaroslav Klech Jaroslav Klech
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: