Is the postrm script missing a systemctl daemon-reload?

==> postrm <==
#!/bin/sh

set -e

#DEBHELPER#

case "$1" in
    purge|remove|abort-install|disappear)
        deb-systemd-helper purge ec2-instance-connect
        # Delete system user
        deluser --system --quiet ec2-instance-connect
        echo "Deleted system user ec2-instance-connect"

        # restart ssh since the drop-in disappeared
        deb-systemd-invoke restart ssh.service
    ;;
    *)
        exit 0
    ;;
esac


The postinst file has:

systemctl --system daemon-reload >/dev/null || true

as part of starting the service.

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1835114

Title:
  [MIR] ec2-instance-connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-instance-connect/+bug/1835114/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to