Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-30681

Removing package while service is running leaves systemd service

XMLWordPrintable

    • 2
    • False
    • Moderate
    • sat-proton
    • None
    • None
    • None
    • No Coverage

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

      Removing package yggdrasil while service is running leaves systemd service unit present.

      What is the impact of this issue to you?

      N/A

      Please provide the package NVR for which the bug is seen:

      yggdrasil-0.2.3-1.el8sat.x86_64

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Install yggdrasil
      2. Start yggdrasild.service and ensure that it's running
      3. dnf remove yggdrasil

      Expected results

      • yggdrasild process is stopped
      • systemd service unit is cleared
        [root@rhel8 ~]# systemctl status yggdrasild
        Unit yggdrasild.service could not be found.
        
        [root@rhel8 ~]# ps -ef | grep yggdrasil
        root        1512    1486  0 17:02 pts/0    00:00:00 grep --color=auto yggdrasil 

        Actual results

      • yggdrasild process remains running
      • systemd service unit lingers
        [root@rhel8 ~]# systemctl status yggdrasild
        ● yggdrasild.service
           Loaded: not-found (Reason: Unit yggdrasild.service not found.)
           Active: active (running) since Thu 2025-01-23 16:57:11 GMT; 1min 37s ago
         Main PID: 848 (yggdrasild)
            Tasks: 10 (limit: 11143)
           Memory: 30.4M
           CGroup: /system.slice/yggdrasild.service
                   └─848 /usr/sbin/yggdrasildJan 23 16:57:11 rhel8.example.com systemd[1]: Started yggdrasil daemon.
        Jan 23 16:58:40 rhel8.example.com systemd[1]: yggdrasild.service: Current command vanished from the unit file, execution of the command list won't be resumed.
        [root@rhel8 ~]# ps -ef | grep 848
        root         848       1  0 16:57 ?        00:00:00 /usr/sbin/yggdrasild
        root        1955    1522  0 16:59 pts/0    00:00:00 grep --color=auto 848 

              Unassigned Unassigned
              rhn-support-jentrena Julio Entrena Perez
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: