This is difficult to reproduce without the appropriate hardware. In particular, I found no way to do it in a VM.
So here is my attempt with a twist. In a Bionic laptop, I create this file: # cat /lib/systemd/system-sleep/rsync #!/bin/sh case "$1" in post) if /bin/systemctl --quiet is-active rsync.service; then /bin/systemctl restart rsync.service fi exit 0 ;; esac Notice it's the same thing as the new fancontrol one, but with just the service name replaced. I then installed rsync, and created an empty /etc/rsyncd.conf to satisfy the service's path condition, so it would start. Lastly, I went through the conditions asked for in the test case for the resume case: Service is enabled and active --> is restarted Service is disabled and active --> is restarted Service is enabled and inactive --> is not restarted Service is disabled and inactive --> is not restarted And verified that rsync was only restarted in the "enabled and active" and "disabled and active" cases, being left untouched in the other two scenarios. This verified the logic and actions of the script, just not the actual hardware interaction with fans. I will mark the bug as verified for bionic, with the above caveat. If this is not acceptable by the SRU team, then please reset the tag and we can continue waiting from someone from the community to test it with appropriate hardware. ** Tags removed: verification-needed-bionic ** Tags added: verification-done-bionic ** Tags removed: server-todo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882272 Title: fancontrol does not work after sleep/wakeup To manage notifications about this bug go to: https://bugs.launchpad.net/lmsensors/+bug/1882272/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs