Public bug reported:

Commit 97b1720a42f33fd21e6fbf30b6b3857a948e5633 ("Fix Coverity error in
release") closes the lockfile and hence we can now run multiple
instances of thermald.

The regression was caused by overzealous file descriptor leakage
cleanups to stop static analysis warnings.  The locking should be
improved by:

1.  Making the fd global
2.  Closing and unlinking the lock file on abort exits or normal terminations

** Affects: thermald (Ubuntu)
     Importance: High
     Assignee: Colin Ian King (colin-king)
         Status: In Progress

** Changed in: thermald (Ubuntu)
       Status: New => In Progress

** Changed in: thermald (Ubuntu)
   Importance: Undecided => Medium

** Changed in: thermald (Ubuntu)
     Assignee: (unassigned) => Colin Ian King (colin-king)

** Changed in: thermald (Ubuntu)
   Importance: Medium => High

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

Title:
  thermald: does not check lock file correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/1480892/+subscriptions

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

Reply via email to