Public bug reported:

The fix for bug #1882272 issues a "systemctl restart fancontrol" when
resuming from suspend. This ignores the fact that fancontrol could have
been disabled, or could not even have been runing at suspend time.

I suggest to wrap the restart with a "systemctl is-active
fancontrol.service" call, and only issue the restart if fancontrol was
already running when the machine was suspended.

** Affects: lm-sensors (Ubuntu)
     Importance: Low
     Assignee: Andreas Hasenack (ahasenack)
         Status: In Progress

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

Title:
  After resume from suspend, fancontrol can be running even if it was
  disabled before

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lm-sensors/+bug/1967432/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to