Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-3231

Improve relationships between systemd units

    • libvirt-9.9.0-1.el9
    • None
    • None
    • rhel-sst-virtualization
    • ssg_virtualization
    • 13
    • 18
    • None
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • 9.9.0
    • None

      What were you trying to do that didn't work?

      virtqemud.socket changed to 'disabled' after executing 'systemctl preset virtqemud.socket'

      Please provide the package NVR for which bug is seen:

      libvirt-9.5.0-7.el9_3.x86_64

      How reproducible:

      100%

      Steps to reproduce

      1. Check the virtqemud.socket service status:

            # systemctl status virtqemud.socket
              ● virtqemud.socket - Libvirt qemu local socket
           Loaded: loaded (/usr/lib/systemd/system/virtqemud.socket; *enabled*; preset: disabled)
           Active: active (running) since Wed 2023-08-30 06:04:30 EDT; 1 week 5 days ago
            Until: Wed 2023-08-30 06:04:30 EDT; 1 week 5 days ago
         Triggers: ● virtqemud.service
           Listen: /run/libvirt/virtqemud-sock (Stream)
           CGroup: /system.slice/virtqemud.socket

           2.Preset virtqemud.socket:

            #systemctl preset virtqemud.socket

             Removed "/etc/systemd/system/sockets.target.wants/virtqemud.socket".

         

           3. Check the virtqemud.socket service status again:

           # systemctl status virtqemud.socket
              ● virtqemud.socket - Libvirt qemu local socket
           Loaded: loaded (/usr/lib/systemd/system/virtqemud.socket; *disabled*; preset: disabled)
           Active: active (running) since Wed 2023-08-30 06:04:30 EDT; 1 week 5 days ago
            Until: Wed 2023-08-30 06:04:30 EDT; 1 week 5 days ago
         Triggers: ● virtqemud.service
           Listen: /run/libvirt/virtqemud-sock (Stream)
           CGroup: /system.slice/virtqemud.socket

      Expected results

      virtqemud.socket's status should still be enabled after preset

      Actual results

      virtqemud.socket's status changed to disabled after preset

       

      Additional info:

      1.The status of other sub-daemons' socket service is still enabled after preset.

              rhn-engineering-abologna Andrea Bolognani
              rhn-support-yafu Yan Fu
              Haijiao Zhao
              virt-maint virt-maint
              Yan Fu Yan Fu
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: